Re: status access violation

2002-01-11 Thread Christopher Faylor
On Fri, Jan 11, 2002 at 01:15:37PM +0100, Enrico Bernardini wrote: >My program has a strange behavior. It is like this example: >main >{ >... >setuid(client_uid); >... > >switch(fork()) >case default: >... >break; > >case 0: /* child */ >... >execle(...); >break; >} > >well, it works but when I re

status access violation

2002-01-11 Thread Enrico Bernardini
Hi, my program hav a strange beaviour: It is like this example: main { ... setuid(client_uid); ... switch(fork()) case default: ... break; case 0: /* child */ ... execle(...); break; } well, it works but when I remove a stupid unrelated piece of code (setuid(client_uid);) in the main, the proc