Date: Mon, 18 Mar 2002 16:44:07 -0800 (PST) From: "J. Mallett" <jmallett@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/uudecode uudecode.c Message-ID: <200203190044.g2J0i7C35496@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <tim@robbins.id.au> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203190044.g2J0i7C35496>