On 08/02/10 02:39, Karel Klic wrote: > While --name might be useful when compressing a file, I think it should > not be enabled by default for pipes
But the patch you proposed doesn't check for pipes. It disables saving time stamps when no file arguments are given. This would mean that "gzip <file1 >file1.gz" would not record FILE1's time stamp. Of course gzip could behave differently for pipes than for other kinds of files, but it's problematic to make pipes special cases. > The user suggests that --name is less useful than having the possibility > of comparing checksums even when compressing a file The user can employ "gzip -n" when compressing. That enables the desired behavior, and it works now.
