This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Renaming a socket file adds ".lnk" to the name


The attached test case creates a socket file /tmp/mysocket and tries to rename 
it to /tmp/newsocket.  But the new name is actually /tmp/newsocket.lnk:

$ gcc -o rename_socket rename_socket.c

$ ./rename_socket.exe

$ ls -F /tmp/newsocket*
/tmp/newsocket.lnk=

I think I have a simple fix, which I'll send to cygwin-patches shortly.

Ken

Attachment: rename_socket.c
Description: rename_socket.c

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]