]> arthur.barton.de Git - netatalk.git/commit
BUGFIX: deny mode, tmp lock, byte lock when length is -1, setforkparams,
authordidg <didg>
Thu, 16 Jan 2003 21:18:15 +0000 (21:18 +0000)
committerdidg <didg>
Thu, 16 Jan 2003 21:18:15 +0000 (21:18 +0000)
commitc913e9dae15d10674a55673b2fe982bf11139084
treee7c2af9df79ddb8f931e5bd1fc48eea0fa5dec37
parent60a8d986667706e525a746815917575f732db075
BUGFIX: deny mode, tmp lock, byte lock when length is -1, setforkparams,
AFP3 large file support

deny mode: make it works with more than 2 openers

tmp lock: check conflicting locks with files open multiple times by the same
process, was only check locks held by other afpd.

byte lock: -1 means to the maximum size of a fork, was always error EOVERFLOW,
because we don't start from offset 0 and we can't use the POSIX way ie length 0.

setforparams: only conflicting locks if it's a truncate and it removes a locked
range, was any lock return an error.

AFP3: check for negative values with 32 bits calls, setforparams for size >2GBytes,
read and write with offset > 2GBytes.
etc/afpd/file.c
etc/afpd/fork.c
etc/afpd/fork.h
include/atalk/adouble.h
libatalk/adouble/ad_lock.c
libatalk/adouble/ad_write.c