bug#29266: gzip-1.8.41 test results: help-version and hard links

2017-11-15 Thread Jim Meyering
On Sun, Nov 12, 2017 at 9:53 AM, Bruno Haible wrote: > Hi Jim, > >> The Haiku failure is due to gzexe failing due to that system's lack of >> hard link support: >> >> + eval 'env $i in-6369 < $tmp_in > $tmp_out' >> ++ env gzexe in-6369 >> in-6369:-15.4% >> ln: failed to create hard link '

bug#29266: gzip-1.8.41 test results: help-version and hard links

2017-11-15 Thread Paul Eggert
On 11/15/2017 09:32 PM, Jim Meyering wrote: + ln -f "$file" "$file~" 2>/dev/null || cp -f "$file" "$file~" || { This will be problematic if the destination already exists, as the resulting permissions etc. may not be what the user intend. How about if we fall back on "mv -f" instead? Althoug