bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in exit()?


From: Andreas Jaeger
Subject: Re: Bug in exit()?
Date: 24 Apr 2001 09:32:33 +0200
User-agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.1 (Channel Islands)

"Michael Kerrisk" <address@hidden> writes:

> Hello,
> 
> I've tested the following with glibc 2.1.3 (Linux kernel 2.2.14, SuSE6.4), 
> but looking at the sources of glibc 2.2.3pre1, things don't look the same.
> 
> Ths is rather a "philosophical" bug report.  The exit() function does not 
> appear to close stdio streams, although SUSv3 and Austin do specifythis.  
> I discovered this while checking out some behaviours of vfork() - in a 
> vforked child, I did an exit(), and found that the standard I/O streams 
> *weren't* closed in the parent process when it resumed.  
> 
> I assume there are reasons things are done this way.  Are there plans to 
> change this behaviour?

Do you have a sample program that shows the problem?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs address@hidden
   private address@hidden
    http://www.suse.de/~aj



reply via email to

[Prev in Thread] Current Thread [Next in Thread]