From owner-cvs-gnu Mon Feb 24 22:11:29 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA28194 for cvs-gnu-outgoing; Mon, 24 Feb 1997 22:11:29 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA28161; Mon, 24 Feb 1997 22:11:24 -0800 (PST) Date: Mon, 24 Feb 1997 22:11:24 -0800 (PST) From: Mike Pritchard Message-Id: <199702250611.WAA28161@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-gnu Subject: cvs commit: src/gnu/usr.bin/cpio main.c Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/02/24 22:11:23 Modified: gnu/usr.bin/cpio main.c Log: Don't set the umask until after we have processed the arguments and opened the archive file. This allows "cpio -o -O output_file" to create the output file with the callers proper umask. Closes PR# 1391. Revision Changes Path 1.3 +1 -1 src/gnu/usr.bin/cpio/main.c