[Top][All Lists]

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

Re: a recursion bug

From: Steven W. Orr
Subject: Re: a recursion bug
Date: Tue, 02 Oct 2012 14:36:26 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0

On 10/02/12 14:03, quoth Linda Walsh:

Greg Wooledge wrote:

I see a system message from the original posters program:
Segmentation fault (core dumped)

Finding it is left as an exercise to the reader.

It is noted that many programs catch fatal signals in order
to not leave evidence of their crashing on the user's system as
coredumps are considered 'bad form'/unsightly.

I think there's a fundamental misunderstanding between the difference of an error code returned by a system call and the exit status of a process. They're two completely different things.

Just for fun, look at the man page for grep. It is advertised to return a 0, 1 or 2. The actual values of errno that might happen in the middle are a separate problem.

Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net

reply via email to

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