Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

8.81. gzip

Updated gzip packages that fix two bugs are now available for Red Hat Enterprise Linux 6.
The gzip packages provide the GNU gzip data compression program.

Bug Fixes

Previously, the "-h" option of the zgrep command was absent from the source code of the gzip utility. As a consequence, the output of running the "zgrep -h" command was not parsed, and the file name was printed. With this update, the possibility to use the short "-h" option besides the "--no-filename" option has been added. As a result, running the zgrep command with the "-h" option now prints the correct lines and suppresses the prefixing of the file names on output when multiple files are searched.
Prior to this update, the time stamp of an archive was set by the futimesat() or utime() system calls when using the gzip utility. Consequently, the archived file had a lower time stamp than expected because only microsecond resolution was enabled, and a nanosecond time stamp was not provided. The underlying source code has been modified to attempt to use the utimensat() or futimens() system calls for nanosecond resolution. As a result, the archived file has exactly the same time stamp as the original file.
Users of gzip are advised to upgrade to these updated packages, which fix these bugs.