Date: Tue, 3 Sep 2002 01:30:04 -0700 (PDT) From: Kimura Fuyuki <fuyuki@hadaly.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/42356: uudecode -o doesn't work if piped Message-ID: <200209030830.g838U4CU057450@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/42356; it has been noted by GNATS.
From: Kimura Fuyuki <fuyuki@hadaly.org>
To: jmallett@FreeBSD.ORG
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/42356: uudecode -o doesn't work if piped
Date: Tue, 03 Sep 2002 17:28:40 +0900
> > } else if (!freopen(buf, "w", stdout) ||
> > fchmod(fileno(stdout), getmode(mode_handle, 0) & 0666)) {
> > warn("%s: %s", buf, filename);
> > return(1);
> > }
> This is to set the mode within the acceptable bitmask of modes, of the
> file being created.
I understand. I must have been half-asleep. :(
-- fuyuki
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209030830.g838U4CU057450>
