FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Bug Fixes, Implemented Suggestions
(Moderator: fry)
   Rename blows away files on OS X (0065)
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Rename blows away files on OS X (0065)  (Read 796 times)
Jerronimo

WWW
Rename blows away files on OS X (0065)
« on: Oct 14th, 2003, 9:44pm »

Create a new sketch.
put some text in the sketch, perhaps some data
save it.
It is in your sketchbook.
rename it to "aaa"
it is named "aaa" in your sketchbook
rename it to "aaA"
it is all gone.  there is no "aaa" or "aaA" in there at all.
 
What I think is happening:
I'm using HFS+ which preserves upper/lowercase, but is case insensitive.  When the new folder is created, the call actually fails, data is copied over to this nonexistant directory, then blown away from the original.
 
possible fixes:
1  don't allow changes where the case is the only thing that is different.
2  make renames to be just renaming the directory/pde file
 
(if it matters... OS X 10.2.8, HFS + drive, PowerBook G4 500mhz, 20 gig drive, P5 0065)
 
fry


WWW
Re: Rename blows away files on OS X (0065)
« Reply #1 on: Oct 14th, 2003, 10:29pm »

yup, info here: http://proce55ing.net/discourse/yabb/board_Proce55ing_software__bugs_action_display_num_1065306548.html
 
Jerronimo

WWW
Re: Rename blows away files on OS X (0065)
« Reply #2 on: Oct 14th, 2003, 10:34pm »

oh geez... i'm sorry.  I forgot to look before posting.
 
My bad.
 
FWIW: i had just posted the applet to the web, so I was able to recover the .pde and data files without any difficulty at all. :]
 
fry


WWW
Re: Rename blows away files on OS X (0065)
« Reply #3 on: Oct 18th, 2003, 7:12pm »

just fixed for 66, which will hopefully be available this weekend.
 
Pages: 1 

« Previous topic | Next topic »