Here is the patch missing in my last mail. Carlos
El sáb, 18-02-2006 a las 20:42 +0100, Carlos Nieves Ónega escribió: > Sorry if you get this message twice. It seems like the previous one > didn't reach the list. See below. > > Carlos > > --------- Mensaje reenviado -------- > De: Carlos Nieves Ónega <[EMAIL PROTECTED]> > Para: geda-dev@seul.org > Asunto: Re: gEDA: PCB and GAFs use of /tmp to protect us when we are > being really dumb > Fecha: Fri, 17 Feb 2006 19:41:52 +0100 > > El jue, 16-02-2006 a las 11:10 -0800, Steve Meier escribió: > [snip] > > So, since i was using emacs which generated backup files with the "~" > > character at the end of the file name I type... > > > > rm * > > > > notice that i forgot the damn "~" and poof all that work was gone.... > [snip] > > There is one possibility to protect a little more the backup copies... > I'm talking about schematic.sch~ and #schematic.sch# in the working > directory, not in /tmp: > If the backup copies are set to "read only", the command "rm *" will ask > the user if he really wants to delete those files. > The only drawback is when you really want to delete the backup copies: > you should first set the files writable, and then delete them (best > way), or issue "rm -f *" (this one would not ask the user). > > One possible patch attached. Comments? > > Carlos >
write_protect_backups.diff.gz
Description: GNU Zip compressed data