summaryrefslogtreecommitdiff
path: root/libftpconn/unix.c
AgeCommit message (Collapse)Author
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.
1998-10-20Add braces to silence gcc warnings.Roland McGrath
1997-08-09(ftp_conn_unix_cont_get_stats):Miles Bader
Check for interrupts.
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-07(ftp_conn_unix_syshooks):Miles Bader
Add ftp_conn_unix_fix_nlist_name. (ftp_conn_unix_fix_nlist_name): New function.
1997-08-06(parse_dir_entry):Miles Bader
Re-enable mktime calls.
1997-08-04(ftp_conn_unix_cont_get_stats):Miles Bader
If returning with an error, ignore any return from ftp_conn_finish_transfer.
1997-05-14(ftp_conn_unix_cont_get_stats): Clean up our ftp transfer when we're done.Miles Bader
1997-05-12(ftp_conn_unix_cont_get_stats):Miles Bader
Remove any initial `./' we added. Abort CONN if we return an error. (ftp_conn_unix_start_get_stats): Don't use asprintf. Set ADDED_SLASH field. Change FORCE_DIR argument to CONTENTS. Pass -A flag. Prepend ./ to NAME if it doesn't contain a slash. Reject names containg possible meta-characters. (struct get_stats_state): Add ADDED_SLASH field. Add CONTENTS field. (parse_dir_entry): Only set stat->st_fstype if FSTYPE_FTP is defined. Only set stat->st_author if HAVE_STAT_ST_AUTHOR is defined. Only include <hurd/hurd_types.h> if HAVE_HURD_HURD_TYPES_H is defined.
1997-05-07(struct get_stats_state): Add NAME_LEN & NAME_ALLOCED fields.Miles Bader
(ftp_conn_unix_cont_get_stats): Retain S's name buffer between entries, only growing it when needed; leave any copying to the client.
1997-05-07Initial checkin.Miles Bader