summaryrefslogtreecommitdiff
path: root/libftpconn
AgeCommit message (Collapse)Author
2012-03-25Fix extern inline useSamuel Thibault
* ext2fs/Makefile (SRCS): Add xinl.c * libtreefs/Makefile (OTHERSRCS): Likewise. * term/Makefile (SRCS): Likewise. * ufs/Makefile (SRCS): Likewise. * hostmux/hostmux-xinl.c: Define HOSTMUX_DEFINE_EI instead of HOSTMUX_EI. * libdiskfs/extern-inline.c: Define DISKFS_DEFINE_EXTERN_INLINE instead of DISKFS_EXTERN_INLINE. * libftpconn/xinl.c: Define FTP_CONN_DEFINE_EI instead of FTP_CONN_EI. * libpipe/pipe-funcs.c: Define PIPE_DEFINE_EI instead of PIPE_EI. * libpipe/pq-funcs.c: Define PQ_DEFINE_EI instead of PQ_EI. * libshouldbeinlibc/idvec-funcs.c: Define IDVEC_DEFINE_EI instead of IDVEC_EI. * libshouldbeinlibc/maptime-funcs.c: Define MAPTIME_DEFINE_EI instead of MAPTIME_EI. * libshouldbeinlibc/ugids-xinl.c: Define UGIDS_DEFINE_EI instead of UGIDS_EI. * libstore/xinl.c: Define STORE_DEFINE_EI instead of STORE_EI. * libthreads/rwlock.c: Define RWLOCK_DEFINE_EI instead of RWLOCK_EI. * ext2fs/xinl.c: New file, define EXT2FS_DEFINE_EI and include "ext2fs.h" * libtreefs/xinl.c: New file, define TREEFS_DEFINE_EI and include "treefs.h" and "mig-decls.h". * term/xinl.c: New file, define TERM_DEFINE_EI and include "term.h". * ufs/xinl.c: New file, define UFS_DEFINE_EI and include "ufs.h" * ext2fs/ext2fs.h: Include <features.h>, define EXT2FS_EI to __extern_inline instead of "extern inline", define it to empty when EXT2FS_DEFINE_EI is defined. Always declare extern inline prototypes, and define extern inlines content only if __USE_EXTERN_INLINES or EXT2FS_DEFINE_EI is defined. * libdiskfs/diskfs.h: Likewise with DISKFS_EXTERN_INLINE and DISKFS_DEFINE_EXTERN_INLINE. * libftpconn/ftpconn.h: Likewise with FTP_CONN_EI and FTP_CONN_DEFINE_EI. * libftpconn/priv.h: Likewise. * libpipe/pipe.h: Likewise with PIPE_EI and PIPE_DEFINE_EI. * libpipe/pq.h: Likewise with PQ_EI and PQ_DEFINE_EI. * libshouldbeinlibc/idvec.h: Likewise with IDVEC_EI and IDVEC_DEFINE_EI. * libshouldbeinlibc/maptime.h: Likewise with MAPTIME_EI and MAPTIME_DEFINE_EI. * libshouldbeinlibc/ugids.h: Likewise with UGIDS_EI and UGIDS_DEFINE_EI. * libstore/store.h: Likewise with STORE_EI and STORE_DEFINE_EI. * libthreads/rwlock.h: Likewise with RWLOCK_EI and RWLOCK_DEFINE_EI. * term/term.h: Likewise with TERM_EI and TERM_DEFINE_EI. * ufs/ufs.h: Likewise with UFS_EI and UFS_DEFINE_EI. * libtreefs/treefs.h: Include <features.h>, define TREE_FS_EI to __extern_inline, or to empty when TREEFS_DEFINE_EI is defined. Use TREEFS_EI instead of "extern inline". * libtreefs/mig-decls.h: Use TREEFS_EI instead of "extern inline".
2011-08-20fix common misspellingsJonathan Neuschäfer
* Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
2009-07-11Switch to the new ChangeLog style.Thomas Schwinge
* 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[ftpfs]Samuel Thibault
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.
2002-10-19.Roland McGrath
2002-10-192002-10-19 Roland McGrath <roland@frob.com>Roland McGrath
* unix.c (ftp_conn_unix_start_get_stats): Pass dirname a copy of NAME instead of the original pointer.
2002-06-11.Roland McGrath
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* ftpconn.h (ftp_conn_add_stat_fun_t) [_FILE_OFFSET_BITS != 64]: Use struct stat64 in place of struct stat.
2002-05-08.Roland McGrath
2002-05-082002-05-07 Roland McGrath <roland@frob.com>Roland McGrath
* xfer.c (ftp_conn_start_open_actv_data): size_t -> socklen_t (ftp_conn_finish_open_actv_data): Likewise.
2002-04-20Fix grammatical error, argh!Marcus Brinkmann
2002-04-20ftpfs/Marcus Brinkmann
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.
2001-12-22.Roland McGrath
2001-12-222001-12-22 Roland McGrath <roland@frob.com>Roland McGrath
* ftpconn.h (ftp_conn_validate_syshooks): Don't make this extern inline defn conditional on [__OPTIMIZE__].
1999-08-11*** empty log message ***Thomas Bushnell
1999-08-111999-08-11 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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.
1999-08-111999-08-11 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* open.c (ftp_conn_sysify): Handle REPLY_NO_LOGIN from "syst".
1998-10-20Add braces to silence gcc warnings.Roland McGrath
1997-09-04.Miles Bader
1997-09-04[!FTP_CONN_EI] (FTP_CONN_EI):Miles Bader
New macro. (ftp_conn_validate_syshooks): Use FTP_CONN_EI instead of `static inline'. Protect with __OPTIMIZE__.
1997-09-04(ftp_conn_close):Miles Bader
Don't cleanup CONN->actv_data_conn_queue.
1997-09-04(ftp_conn_create):Miles Bader
Don't initialize CONN->actv_data_conn_queue.
1997-09-04.Miles Bader
1997-09-04(struct ftp_conn):Miles Bader
Remove ACTV_DATA_CONN_QUEUE field.
1997-09-04(ftp_conn_abort_open_actv_data):Miles Bader
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).
1997-09-02.Miles Bader
1997-09-02(struct ftp_conn):Miles Bader
Add the ACTV_DATA_ADDR and ACTV_DATA_CONN_QUEUE fields. Add USE_PASSIVE field.
1997-09-02(ftp_conn_close):Miles Bader
Close CONN->actv_data_conn_queue if necessary. (ftp_conn_open): Set SIN_LEN field correctly.
1997-09-02(ftp_conn_free):Miles Bader
Free the ACTV_DATA_ADDR field. (ftp_conn_create): Initialiaze the ACTV_DATA_ADDR & ACTV_DATA_CONN_QUEUE fields. Initialize USE_PASSIVE field.
1997-09-02(ftp_conn_finish_open_data,Miles Bader
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.
1997-08-19.Miles Bader
1997-08-19(ftp_conn_create):Miles Bader
Initialize the SYSHOOKS_VALID field.
1997-08-18.Miles Bader
1997-08-18(ftp_conn_set_type):Miles Bader
If there's no connection, don't open a new one, just save the type for later.
1997-08-18(ftp_conn_sysify):Miles Bader
Set SYSHOOKS_VALID.
1997-08-18(struct ftp_conn):Miles Bader
Add SYSHOOKS_VALID field. (ftp_conn_validate_syshooks): New inline function.
1997-08-18(ftp_conn_append_name, ftp_conn_basename):Miles Bader
Make sure CONN's SYSHOOKS field is valid before using it.
1997-08-09.Miles Bader
1997-08-09(ftp_conn_unix_cont_get_stats):Miles Bader
Check for interrupts.
1997-08-09(ftp_conn_getline):Miles Bader
Check for interrupts.
1997-08-09(ftp_conn_cont_get_names):Miles Bader
Check for interrupts.
1997-08-09(struct ftp_conn_hooks):Miles Bader
Add INTERRUPT_CHECK field.
1997-08-08.Miles Bader
1997-08-08(SRCS):Miles Bader
Add fname.c
1997-08-08(ftp_conn_cont_get_names):Miles Bader
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.
1997-08-08(ftp_conn_rmt_transfer):Miles Bader
If we get an error, close SRC_CONN instead of aborting it, to avoid problems with some ftp servers.
1997-08-08(struct ftp_conn_syshooks):Miles Bader
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.
1997-08-08(ftp_conn_create):Miles Bader
Don't open the connection here.
1997-08-08(ftp_conn_unix_cont_get_stats):Miles Bader
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.
1997-08-08Initial checkin.Miles Bader