On Sat, May 22, 2004 at 07:27:06PM +0300, Anton Alin-Adrian wrote: > if ( (fp_queue=fopen(fqueue,"a")) ==NULL);//will wait for locks ^^^^^ Extra semicolon. > { > perror("fopen(fqueue,\"a\")"); > //exit(EXIT_FAILURE); > } David.