public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* optimization/2865: fixincl broken when STDIN is closed
@ 2001-05-18  5:06 aj
  0 siblings, 0 replies; only message in thread
From: aj @ 2001-05-18  5:06 UTC (permalink / raw)
  To: gcc-gnats

>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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-18  5:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-18  5:06 optimization/2865: fixincl broken when STDIN is closed aj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).