Re: [PATCH 1/2] Add separate "Append to file" button
"Julian H. Stacey" <[email protected]> Wed, 13 Jun 2012 01:05:50 +0200
| Newsgroups | gmane.mail.exmh.devel |
|---|---|
| Organization | http://berklix.com BSD Unix Linux Consultancy, Munich Germany |
| Message-ID | <[email protected]> |
Wolfgang Denk wrote: > There are many cases where I would like to overwrite an existing file, > but the "Save to file" funtion always appends only. So create a new > "Append to file" button for this functionality, and make "Save to > file" just perform a plain write, overwriting any existing data. Nice idea. However I bet changing "Save to file" from append to creat() will bite someone. Not that I'm arguing against it, just might be worth considering for an interim release or so: maybe add temporary codebefore the O_TRUNC or whatever to warn or confirm ? (but as we all hate "Are you sure", let the "Are you sure" also announce "This warning will be removed next release" - Just an idea ? Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/