Age | Commit message (Collapse) | Author |
|
* mux.c (netfs_get_dirents): Initialize COUNT with 2, to take into
account the DOT and DOTDOT directories when skipping over the
first FIRST_ENTRY entries.
|
|
* mux.c (netfs_attempt_chmod): Handle MODE arg with no S_IFMT bits set.
|
|
* mux.c (lookup_addrinfo): Renamed from lookup_hostent. Change HE
from a struct hostent to a struct addrinfo.
(lookup_host): Use lookup_addrinfo, not lookup_hostent.
Reported by James A. Morrison <ja2morri@uwaterloo.ca>.
|
|
* mux.c (free_name): Swap order of memory releases.
Reported by Kalle Olavi Niemitalo <kon@iki.fi>
|
|
* mux.c: Add #include <sys/mman.h>.
|
|
* mux.c (netfs_get_dirents): Use mmap instead of vm_allocate.
|
|
Clear *NODE on errors.
Check for lookup permission.
Re-arrange code to correctly handle errors.
|
|
Add entries for `.' and `..'.
(netfs_attempt_lookup):
Handle `.' and `..' lookups.
|
|
MAX_DATA_LEN == 0 means `no limit'.
Replace uses of touch with fshelp_touch.
|
|
|