Date: Thu, 16 Jan 2003 09:44:05 +0100 (CET) From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/47136: Message-ID: <200301160844.h0G8i5Tb004957@critter.freebsd.dk>
next in thread | raw e-mail | index | archive | help
>Number: 47136 >Category: bin >Synopsis: >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 16 02:20:02 PST 2003 >Closed-Date: >Last-Modified: >Originator: Poul-Henning Kamp >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD critter.freebsd.dk 5.0-CURRENT FreeBSD 5.0-CURRENT #8: Sat Jan 4 18:28:00 CET 2003 root@critter.freebsd.dk:/freebsd/src/sys/i386/compile/C2 i386 >Description: /bin/sh gets confused if file descriptor 3 is used. >How-To-Repeat: Type this by hand. When running these commands as a shellscript it works without a hitch. # /bin/sh # date > /tmp/foo # exec 3< /tmp/foo # ls -ld / tcsetpgrp failed, errno=25 tcsetpgrp failed, errno=25 # exit # /bin/sh # exec 4< /tmp/foo # ls -ld / drwxr-xr-x 17 root wheel 512 Jan 6 12:45 / # >Fix: >Release-Note: >Audit-Trail: >Unformatted: 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?200301160844.h0G8i5Tb004957>