search for: fsetlkw

Displaying 1 result from an estimated 1 matches for "fsetlkw".

Did you mean: f_setlkw
2001 Dec 19
0
Samba not working on PARISC Linux
...Debian. > smbd dies immediatly with an error message in log.smbd: > [2001/12/16 19:51:43, 0] lib/messages.c:message_init(97) > ERROR: Failed to initialise messages database This looks like a glibc problem to me - I think it is calling fcntl where it should be calling fcntl64, and using FSETLKW rather than F_SETLKW64. samba builds with -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE Using a test program, without those defines, i386 strace shows: fcntl64(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0 with those defines: fcntl64(3, F_SETLKW64, {type=F_WRL...