GNU bug report logs - #22768
Crash safety

Previous Next

Package: gzip;

Reported by: Yanyan Jiang <jiangyy <at> outlook.com>

Date: Mon, 22 Feb 2016 16:02:02 UTC

Severity: normal

Merged with 22770

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Antonio Diaz Diaz <antonio <at> gnu.org>
Cc: Yanyan Jiang <jiangyy <at> outlook.com>, 22768 <at> debbugs.gnu.org
Subject: bug#22768: Crash safety
Date: Fri, 26 Feb 2016 13:28:17 -0800
On 02/26/2016 04:34 AM, Antonio Diaz Diaz wrote:
> Is it ok to use '-y' as short option name? 

Why -y?  And why a short name at all?  I don't expect this to be 
something that people will want to type by hand.

Come to think of it, gzip should also do an fsync, or at least an 
fdatasync, on the destination's directory before removing the source. 
And this suggests that any long option name shouldn't be something 
syscall-specific like '--no-fsync', but should instead be something more 
general and easy to remember, e.g., '--hasty'.




This bug report was last modified 9 years and 73 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.