[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] signaler og SIGCHILD



Peter Makholm <sslug@sslug> writes:

> "Erwin S. Andreasen" <sslug@sslug> writes:
> 
> > Det er den mere portable løsning, men det er nok ikke en god ide at
> > overføre en pointer til et tilfældigt sted i hukommelsen til waitpid
> > som status argument:
> 
> Nu er du kedelig.

Ja, det er den slags subtile fejl der har det med først at gøre væsen
af sig når man f.eks. slår optimeringer til...uden optimering har
sådan en uinitialiseret peger det med at pege et sted hen der
måske...måske ikke, er tilladt at tilgå. Med optimering får de som
regel en værdi der øjeblikkeligt resulterer i segmentationsfejl, hvis
den derefereres.

Ja, det kan man som sagt have meget sjov ud af :-)

-- 
Christian Hemmingsen


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:09 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *