SUBMITTED: Internal toe name bugs (2)

BUG #1:

I was working with a toefile: $gTouch/template.toe (gTouch is an env var)
I decided to move that file elsewhere and rename it, so I went to the right destination folder:

dani@E:/Jobs/Touch/Touch_Prod/Developer/Touch [27][Touch:Developer] cp “$gTouch/template.toe” Developer.toe
dani@E:/Jobs/Touch/Touch_Prod/Developer/Touch [28][Touch:Developer] ls
Developer.toe
dani@E:/Jobs/Touch/Touch_Prod/Developer/Touch [30][Touch:Developer] td68 Developer.toe

  • at this point I worked in the file, hitting save without noticing the problem *
  • I then crashed, and wanted to reload the file, so I typed: *

dani@E:/Jobs/Touch/Touch_Prod/Developer/Touch [31][Touch:Developer] !!
td68 Developer.toe

  • I realised that it had loaded the wrong file name - the old one, so I quit: *

dani@E:/Jobs/Touch/Touch_Prod/Developer/Touch [32][Touch:Developer] ls
Developer.toe template.50.toe template.52.toe
template.49.toe template.51.toe template.toe
dani@E:/Jobs/Touch/Touch_Prod/Developer/Touch [33][Touch:Developer] ls -ltr
total 262
-rw-r–r-- 1 1004 everyone 85146 Jan 24 16:31 Developer.toe
-rw-r–r-- 1 1004 everyone 88266 Jan 24 16:51 template.49.toe
-rw-r–r-- 1 1004 everyone 88658 Jan 24 17:29 template.50.toe
-rw-r–r-- 1 1004 everyone 89370 Jan 24 18:06 template.51.toe
-rw-r–r-- 1 1004 everyone 89442 Jan 24 18:11 template.52.toe
-rw-r–r-- 1 1004 everyone 89442 Jan 24 18:11 template.toe

it seems that renaming a file to Developer.toe didn’t really change the internal name that touch must keep somewhere (it should change upon load).

BUG #2:
On that same note, yesterday I crashed, then loaded the crash.toe. Saving it, it will ask me if I want to overwrite the template.toe (the name I was working with). I said yes, then if I want to overwrite template.1.toe - which I didn’t. It should be able to write template..toe, where would be the toefile number that would have been save had I hit saved instead of crashing.