Hi, I don't know if these addresses are current and so first I want to ask if this is the right one? I'm unsure because I found no newer stable version as 1.2.4 at www.gzip.org and www.gnu.org.
I think I found a bug in gzip in all versions I explored: from 1.2.4 until 1.3.12: if gzip is killed by some signal, for example SIGINT generated by the intr character from your tty, it does an exit(1). So the caller cannot detect that gzip was killed. It seems as a normal exit with exitcode 1. So the shell shows in "$?" the value 1 which is wrong. It should be 128+2 or 256+2. Some shells, for example bash, continue a script which the user want to terminate. They would not do this if they detect that a process dies because it was killed. The fix would be easy: gzip should restore the signal handling to default after catching the signal and send this signal again to itself. I changed the sourcecode and can give it to you if you want? Regards Walter Mecky Allianz Shared Infrastructure Services AG2SES06 - Firewall Technologien und Netz Security Windmühlstraße 14, 2. OG, Raum 2.189 D-60627 Frankfurt am Main Phone +49 69 263 19028 Fax +49 69 263 83948 E-Mail [EMAIL PROTECTED] Allianz Shared Infrastructure Services GmbH: Chairman of the Supervisory Board: Dr. Friedrich Wöbking Management Board: Dr. Markus T. Müller (CTO), Dr. Kurt Servatius (COO) For VAT-Purposes: VAT-Registration Number: DE 191 050 484 Registered Office: Munich Comm Reg.: München HRB 118 195 Please note: This email and any files transmitted with it is intended only for the named recipients and may contain confidential and/or privileged information. If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication to others and notify the sender immediately. Then please delete the email and any copies of it. Thank you.