optimization/2865: fixincl broken when STDIN is closed

aj@suse.de aj@suse.de
Fri May 18 05:06:00 GMT 2001


>Number:         2865
>Category:       optimization
>Synopsis:       fixincl broken when STDIN is closed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri May 18 05:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Jaeger
>Release:        unknown-1.0
>Organization:
>Environment:
i686-linux
>Description:
I tried building GCC from cron but this failed in fixincl.  cron
closes stdin and fixincl cannot cope this.

To reproduce (under bash) just check the following:

$ ./fixincl -v
'fixincl version 1.1'
$ ./fixincl -v <&-
'fixincl version 1.1'
NOTE: server restarted
Server not running, cannot run:
echo 'fixincl version 1.1'
>How-To-Repeat:
Just build fixincl and run it with closed stdin.
>Fix:
A workaround for my cron job is to use /dev/null as
stdin - but this is just a hack IMO.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list