search for: pathname_max

Displaying 2 results from an estimated 2 matches for "pathname_max".

2001 Feb 19
2
win32 question
Does win32 have pathconf() and _PC_NAME_MAX? I ask for ogg123 -- it uses "NAME_MAX" right now (already been mentioned on this list a few times), which does not exist everywhere. I've proposed changing it to use the pathconf() function, but I don't know if win32 has this or not (I don't have, or want, access to win32 compilers :-). If win32 doesn't have pathconf(), we
2001 Feb 11
0
compilation issues
...t;ogg123.c", line 506: syntax error before or at: / C++ style comments are used; they need to be changed to C-style. -- "ao_interface.c", line 61: undefined symbol: NAME_MAX As has been pointed out on this list and the vorbis-list, NAME_MAX is not portable and should not be used. PATHNAME_MAX should be used instead. See http://www.xiph.org/archives/vorbis-dev/200101/0380.html and http://www.xiph.org/archives/vorbis/200012/0183.html. The short version is: pathconf() should be used instead of NAME_MAX. -- "buffer.c", line 57: warning: assignment type mismatch: volatile pointer...