From owner-cvs-src@FreeBSD.ORG Sun Mar 9 11:16:42 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC8C81065672; Sun, 9 Mar 2008 11:16:42 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8D9638FC18; Sun, 9 Mar 2008 11:16:42 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m29BGghO078983; Sun, 9 Mar 2008 11:16:42 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m29BGgcE078982; Sun, 9 Mar 2008 11:16:42 GMT (envelope-from rwatson) Message-Id: <200803091116.m29BGgcE078982@repoman.freebsd.org> From: Robert Watson Date: Sun, 9 Mar 2008 11:16:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/gzip gzip.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2008 11:16:42 -0000 rwatson 2008-03-09 11:16:42 UTC FreeBSD src repository Modified files: usr.bin/gzip gzip.c Log: When gzipping to a target file, only set the source file flags on the target file after the timestamp has been set; otherwise setting the timestamp will fail if the flags don't permit it (i.e., uchg). MFC after: 1 week PR: 120208 Submitted by: Ighighi Revision Changes Path 1.5 +4 -4 src/usr.bin/gzip/gzip.c