james_bray -> un.h SUN_PATH incorrect (Oct. 6, '06, 6:22:14 AM) |
Hi,
I have been experiencing problems binding to unix sockets. After porting our application to Interix 5.2, I am receiving "invalid argument" errors at the console when attempting to bind.
I have narrowed the problem down to what I can only assume is a typo in /usr/include/sys/un.h
In this file, the "sun_path" field of sockaddr_un is set to a size of SUN_PATH. SUN_PATH is declared earlier in the file to be 14 characters. On all other platforms, including Interix 3.5, it is defined as 108.
Is there any reason it is so small in Interix 5.2?
James Bray
Badley Geoscience Limited |
|
|
|