]> arthur.barton.de Git - netatalk.git/commit
Rework file descriptor handling in cnid_metad and cnid_dbd. We now pass
authorlenneis <lenneis>
Sat, 3 Jan 2004 23:01:40 +0000 (23:01 +0000)
committerlenneis <lenneis>
Sat, 3 Jan 2004 23:01:40 +0000 (23:01 +0000)
commit602576b087770bf356b2b79ddc330abfb5a7dbcc
treee51b622a20e772434e68ca7160adad93ccfec4c0
parent4d61115626a51d11df96d6742aebf9fb41d0a96f
Rework file descriptor handling in cnid_metad and cnid_dbd. We now pass
the read end from socketpair() and the first client file descriptor
via the command line to cnid_dbd. That way there is no confusion with
descriptors 0 and 1 and the -d flag to cnid_metad is inheritited by cnid_dbd
(stdin/stdout/stderr remain open and useable). Also, we try to close all
descriptors not needed by cnid_dbd.
etc/cnid_dbd/cnid_metad.c
etc/cnid_dbd/comm.c
etc/cnid_dbd/comm.h
etc/cnid_dbd/main.c