Age | Commit message (Collapse) | Author |
|
* ChangeLog: Wipe out content, and add instructions about how to get it back.
* auth/ChangeLog: Remove file.
* benchmarks/ChangeLog: Likewise.
* boot/ChangeLog: Likewise.
* bsdfsck/ChangeLog: Likewise.
* config/ChangeLog: Likewise.
* console-client/ChangeLog: Likewise.
* console/ChangeLog: Likewise.
* daemons/ChangeLog: Likewise.
* defpager/ChangeLog: Likewise.
* doc/ChangeLog: Likewise.
* exec/ChangeLog: Likewise.
* ext2fs/ChangeLog: Likewise.
* fatfs/ChangeLog: Likewise.
* fstests/ChangeLog: Likewise.
* ftpfs/ChangeLog: Likewise.
* hostmux/ChangeLog: Likewise.
* hurd/ChangeLog: Likewise.
* include/ChangeLog: Likewise.
* init/ChangeLog: Likewise.
* isofs/ChangeLog: Likewise.
* libcons/ChangeLog: Likewise.
* libdirmgt/ChangeLog: Likewise.
* libdiskfs/ChangeLog: Likewise.
* libfshelp/ChangeLog: Likewise.
* libftpconn/ChangeLog: Likewise.
* libhurdbugaddr/ChangeLog: Likewise.
* libihash/ChangeLog: Likewise.
* libiohelp/ChangeLog: Likewise.
* libnetfs/ChangeLog: Likewise.
* libpager/ChangeLog: Likewise.
* libpipe/ChangeLog: Likewise.
* libports/ChangeLog: Likewise.
* libps/ChangeLog: Likewise.
* libshouldbeinlibc/ChangeLog: Likewise.
* libstore/ChangeLog: Likewise.
* libthreads/ChangeLog: Likewise.
* libtrivfs/ChangeLog: Likewise.
* login/ChangeLog: Likewise.
* mach-defpager/ChangeLog: Likewise.
* nfs/ChangeLog: Likewise.
* nfsd/ChangeLog: Likewise.
* pfinet/ChangeLog: Likewise.
* pflocal/ChangeLog: Likewise.
* proc/ChangeLog: Likewise.
* release/ChangeLog: Likewise.
* serverboot/ChangeLog: Likewise.
* storeio/ChangeLog: Likewise.
* sutils/ChangeLog: Likewise.
* term/ChangeLog: Likewise.
* tmpfs/ChangeLog: Likewise.
* trans/ChangeLog: Likewise.
* ufs-fsck/ChangeLog: Likewise.
* ufs-utils/ChangeLog: Likewise.
* ufs/ChangeLog: Likewise.
* usermux/ChangeLog: Likewise.
* utils/ChangeLog: Likewise.
|
|
2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
* dir.c (ftpfs_refresh_node): Use st_mtim.tv_sec members instead
of st_mtime. Also compare st_mtim.tv_nsec members.
[libdiskfs]
2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
* file-utimes.c (diskfs_S_file_utimes): Use st_atim.tv_sec/
st_mtim.tv_sec members instead of st_atime/st_mtime. Also set
st_atim.tv_nsec/st_mtim.tv_nsec members.
[libftpconn]
2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
* unix.c (parse_dir_entry): Use st_mtim.tv_sec instead of st_mtime.
Set st_atim.tv_nsec, st_ctim.tv_nsec and st_mtim.tv_nsec to 0.
[login]
2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
* utmp.c (S_login_get_idle_time): Use st_atim.tv_sec and
st_atim.tv_nsec members instead of st_atime and st_atime_usec.
[tmpfs]
2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
* tmpfs.h (struct disknode): Make atime, mtime and ctime members
struct timespec instead of time_t.
* tmpfs.c (main): Copy st_atim/st_mtim/st_ctim members from st to
diskfs_root_node->dn_stat instead of st_atime/st_mtime/st_ctime.
* node.c (diskfs_node_norefs): Copy st_atime/st_mtime/st_ctime
members from np->dn_stat to atime/mtime/ctime members of np->dn
(diskfs_cached_lookup): Conversely.
|
|
|
|
* unix.c (ftp_conn_unix_start_get_stats): Pass dirname a copy of NAME
instead of the original pointer.
|
|
|
|
* ftpconn.h (ftp_conn_add_stat_fun_t) [_FILE_OFFSET_BITS != 64]:
Use struct stat64 in place of struct stat.
|
|
|
|
* xfer.c (ftp_conn_start_open_actv_data): size_t -> socklen_t
(ftp_conn_finish_open_actv_data): Likewise.
|
|
|
|
2002-04-13 Moritz Schulte <moritz@chaosdorf.de>
* ftpfs.c: Include <sys/stat.h>
(main): Stat the underlying node and initialize the root node's
stat information.
* dir.c (ftpfs_refresh_node): If refreshing the root node, simply
use the old stat information.
libftpconn/
2002-04-13 Moritz Schulte <moritz@chaosdorf.de>
* unix.c: Include <libgen.h>.
(struct get_stats_state): New member: searched_name.
(ftp_conn_unix_start_get_stats): Return EINVAL if trying to list
the root node without listing it's content; set searched_name to
the dirname.
(ftp_conn_unix_cont_get_stats): If searching for the list info of
one entry, skip all other entries.
|
|
|
|
* ftpconn.h (ftp_conn_validate_syshooks): Don't make this extern
inline defn conditional on [__OPTIMIZE__].
|
|
|
|
* open.c (ftp_conn_open): Ignore error from ftp_conn_sysify;
it's ok if we can't successfully deal. If we didn't sysify
successfully before login, then try again afterwards.
|
|
* open.c (ftp_conn_sysify): Handle REPLY_NO_LOGIN from "syst".
|
|
|
|
|
|
New macro.
(ftp_conn_validate_syshooks):
Use FTP_CONN_EI instead of `static inline'.
Protect with __OPTIMIZE__.
|
|
Don't cleanup CONN->actv_data_conn_queue.
|
|
Don't initialize CONN->actv_data_conn_queue.
|
|
|
|
Remove ACTV_DATA_CONN_QUEUE field.
|
|
Close the data queue socket.
(ftp_conn_finish_open_actv_data):
Close the listen queue after looking for a connection.
(ftp_conn_start_open_actv_data):
Always generate a new data connection (it doesn't work to always listen on a
single address).
|
|
|
|
Add the ACTV_DATA_ADDR and ACTV_DATA_CONN_QUEUE fields.
Add USE_PASSIVE field.
|
|
Close CONN->actv_data_conn_queue if necessary.
(ftp_conn_open):
Set SIN_LEN field correctly.
|
|
Free the ACTV_DATA_ADDR field.
(ftp_conn_create):
Initialiaze the ACTV_DATA_ADDR & ACTV_DATA_CONN_QUEUE fields.
Initialize USE_PASSIVE field.
|
|
ftp_conn_start_open_actv_data, ftp_conn_finish_open_actv_data):
New functions.
(ftp_conn_start_open_data):
Renamed from ftp_conn_open_data.
Use an active data connection if passive doesn't work.
(ftp_conn_start_transfer):
Use ftp_conn_start_open_data and ftp_conn_finish_open_data instead of
ftp_conn_open_data.
|
|
|
|
Initialize the SYSHOOKS_VALID field.
|
|
|
|
If there's no connection, don't open a new one, just save the type for
later.
|
|
Set SYSHOOKS_VALID.
|
|
Add SYSHOOKS_VALID field.
(ftp_conn_validate_syshooks):
New inline function.
|
|
Make sure CONN's SYSHOOKS field is valid before using it.
|
|
|
|
Check for interrupts.
|
|
Check for interrupts.
|
|
Check for interrupts.
|
|
Add INTERRUPT_CHECK field.
|
|
|
|
Add fname.c
|
|
Use BASENAME hook instead of FIX_NLIST_NAME.
Don't free DIR field.
(ftp_conn_start_get_names):
Don't set DIR field.
(struct get_names_state):
Remove DIR field.
|
|
If we get an error, close SRC_CONN instead of aborting it, to avoid problems
with some ftp servers.
|
|
Add APPEND_NAME and BASENAME fields; remove FIX_NLIST_NAME field.
(ftp_conn_unix_fix_nlist_name):
Declaration removed.
(ftp_conn_unix_append_name, ftp_conn_unix_basename):
New declarations.
(ftp_conn_append_name, ftp_conn_basename):
New declarations.
|
|
Don't open the connection here.
|
|
Pass only directory-relative names to the callback function.
(struct ftp_conn_unix_syshooks):
Initialize APPEND_NAME and BASENAME fields; remove FIX_NLIST_NAME
initialization.
(ftp_conn_unix_fix_nlist_name):
Function removed.
(ftp_conn_unix_append_name, ftp_conn_unix_basename):
New functions.
|
|
|
|
|
|
Support FIX_NLIST_NAME hook.
Free S->dir if necessary.
Close or abort connection when done.
(ftp_conn_start_get_names):
Fill in S->dir field if necessary.
(struct get_names_state):
Add DIR field.
|