Re: chmod() converts local domain socket file to regular file

2007-05-14 Thread Corinna Vinschen
On Apr 27 12:58, Andrey Simonenko wrote: > Greetings, > > Has Cygwin 1.5.24-2 and XP. > > A program creates local domain socket. If S_IRUSR bit is > removed from the socket file, then this file is converted to a > regular file. This is a chicken-egg problem, sort of. The fact that the file rep

chmod() converts local domain socket file to regular file

2007-04-27 Thread Andrey Simonenko
Greetings, Has Cygwin 1.5.24-2 and XP. A program creates local domain socket. If S_IRUSR bit is removed from the socket file, then this file is converted to a regular file. This program shows this problem (check the output of "ls -l sock"): #include #include #include #include #include #i