From owner-cvs-all Mon Mar 18 16:44:11 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 50EF637B402; Mon, 18 Mar 2002 16:44:07 -0800 (PST) Received: (from jmallett@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2J0i7C35496; Mon, 18 Mar 2002 16:44:07 -0800 (PST) (envelope-from jmallett) Message-Id: <200203190044.g2J0i7C35496@freefall.freebsd.org> From: "J. Mallett" Date: Mon, 18 Mar 2002 16:44:07 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/uudecode uudecode.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jmallett 2002/03/18 16:44:07 PST Modified files: usr.bin/uudecode uudecode.c Log: Make uudecode(1) use setmode(3) and getmode(3) instead of just blindly chmodding using an octal mode, as uudecode needs to handle symbolic modes as chmod and such do. Suggested by: Tim J. Robbins Also move meta-character (~ in this case) globbing to only if we are reading the filename from the encoded file, as otherwise it is the shell's job. Reviewed by: mike Approved by: mike Revision Changes Path 1.20 +50 -39 src/usr.bin/uudecode/uudecode.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message