FAQ

On Fri, May 05, 2006 at 11:20:20PM -0700, Andreas Koenig wrote:
The above program gives a SEGV. Sure, it is an endless recursion, but
still it should not segfault.
But that's what C programs do on endless recursion:

$ cat c.c
int main() { main(); }

$ gcc -o c c.c
$ ./c
Segmentation fault
$



--
Technology is dominated by two types of people: those who understand what
they do not manage, and those who manage what they do not understand.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupperl5-porters @
categoriesperl
postedMay 6, '06 at 6:20a
activeMay 6, '06 at 9:16a
posts2
users2
websiteperl.org

2 users in discussion

Dave Mitchell: 1 post Andreas Koenig: 1 post

People

Translate

site design / logo © 2022 Grokbase