OT: python use in xfce

Biju Chacko botsie at xfce.org
Thu Apr 20 06:05:42 CEST 2006


Benedikt Meurer wrote:
> Ori Bernstein wrote:
>>> ok, i give up, i lost the debate for lack of examples. still C sucks
>>> if its going to segfault my hello_world.c thing...
>> Alternatively, if you can't write a hello_world.c that doesn't segfault, maybe
>> you suck?
> 
> Muhaha... sorry, but this made me lough! But honestly, a hello_world.c
> that segfaults? I guess it takes a lot of effort to add a segfault to
> something simple as this:
> 
> #include <stdio.h>
> int
> main (int argc, char **argv)
> {
>   printf ("Hello World!\n");
>   return 0;
> }

Thats easy -- change it to this:


#include <stdio.h>
int
main (int argc, char **argv)
{
   printf ("Segmentation Fault. Core Dumped.\n");
   return 0;
}

:-)

-- b



More information about the Xfce4-dev mailing list