didg [Thu, 16 Jan 2003 21:18:15 +0000 (21:18 +0000)]
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.
didg [Sun, 12 Jan 2003 14:39:57 +0000 (14:39 +0000)]
stupid stuff, replace
if ((a = b) == c)
with
if (c == (a = b))
for '==' and '!=' operators. the form ((a = b) == c) is confusing for some, not
smart enough, data-flow analyser.
jmarcus [Sat, 11 Jan 2003 17:26:05 +0000 (17:26 +0000)]
* Add Apple II boot support for Appl IIe (with workstation card) and
Apple IIgs using built-in LocalTalk [1]
* Fix some ProDOS file attribute problems
* Fix the RedHat RPM build for RH 7.3 and 8.0
* Fix a few other build nits
Submitted by: Steven N. Hirsch <shirsch@adelphia.net>
Obtained from: Marsha Jackson [1]
rlewczuk [Tue, 7 Jan 2003 15:55:21 +0000 (15:55 +0000)]
Moving things between two folders on the same volume but different group ownership bugfix.
If destination directory has SGID, group ownership for is changed while renam()ing.
This is very ugly hack, IMO should be implemented along with force gid/uid stuff.
jmarcus [Sat, 4 Jan 2003 22:14:03 +0000 (22:14 +0000)]
Add a README.cnid which talks about what CNID is, and what it means to
Netatalk. It also includes Adrian's old developer notes for a rough
understanding of the whole process.
jmarcus [Sat, 4 Jan 2003 21:53:39 +0000 (21:53 +0000)]
* Remove some more references to DB3, and mention exactly which versions of BDB
we support as well as what is the current recommended version.
* Clean up the PAM documentation some to make it less Linux specific.
jmarcus [Sat, 4 Jan 2003 21:41:48 +0000 (21:41 +0000)]
Change all references to db3/DB3 to BDB. We now support Berkeley DB
3.0.17, 3.2.9, 3.3.11, 4.0.14, and 4.1.25. This means that --with-db3 is
now --with-bdb.
didg [Mon, 14 Oct 2002 06:30:49 +0000 (06:30 +0000)]
bugfix cname() don't invalidate directory if it's the root parent (did == 1).
Some client makes bogus request eg:
FPGetfileDirParam(did = 1, name = Disk 1). I believe with did == 1 only the
volume name is valid.
didg [Fri, 11 Oct 2002 14:18:21 +0000 (14:18 +0000)]
- added a cache for directories offspring count.
- added unix name in struct dir.
- added pread/pwrite, (there was at least one bug in adf_off book keeping).
- removed (temporary?) memory mmap header, it was unused and made the code
unreadable.
- used a new struct path with unix name, mac name and file stat.
- fixed for catsearch (not well tested)
- temporary ATACC and NO_UAM_LOAD, I will remove them (ATACC is a test coverage tool).
- added AFP 3.1 calls readext,writeext, bytelockext, enumerateext2
(catsearchext, enumerateext are the same) . --afp3 parameter in
configure. configure.in changes aren't good. Maybe get CVS samba stuff
(eg for linux there's no sendfile64 on 32 bits box). The biggest change
is that we can't use the ressource fork len in the header (it's too
small). Not well tested.
- fixed few signed/unsigned missmatch, mainly when a signed fetched from the wire is checked
against and unsigned buffer size.
jmarcus [Thu, 10 Oct 2002 20:27:36 +0000 (20:27 +0000)]
Fill in the volume creation time with the datestamp instead of the
current timestamp. This fixes most of the identical volume problems
seen by some users.
Tested by: Thomas Kaiser <Thomas.Kaiser@kaiser-edv.de>