aboutsummaryrefslogtreecommitdiff
path: root/libftpconn/unix.c
Commit message (Collapse)AuthorAgeFilesLines
* Add braces to silence gcc warnings.Roland McGrath1998-10-201-16/+19
|
* (ftp_conn_unix_cont_get_stats):Miles Bader1997-08-091-0/+7
| | | | Check for interrupts.
* (ftp_conn_unix_cont_get_stats):Miles Bader1997-08-081-13/+39
| | | | | | | | | | | 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.
* (ftp_conn_unix_syshooks):Miles Bader1997-08-071-1/+19
| | | | | | Add ftp_conn_unix_fix_nlist_name. (ftp_conn_unix_fix_nlist_name): New function.
* (parse_dir_entry):Miles Bader1997-08-061-2/+0
| | | | Re-enable mktime calls.
* (ftp_conn_unix_cont_get_stats):Miles Bader1997-08-041-0/+4
| | | | If returning with an error, ignore any return from ftp_conn_finish_transfer.
* (ftp_conn_unix_cont_get_stats): Clean up our ftp transfer when we're done.Miles Bader1997-05-141-0/+2
|
* (ftp_conn_unix_cont_get_stats):Miles Bader1997-05-121-27/+80
| | | | | | | | | | | | | | | | | | | 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.
* (struct get_stats_state): Add NAME_LEN & NAME_ALLOCED fields.Miles Bader1997-05-071-28/+30
| | | | | (ftp_conn_unix_cont_get_stats): Retain S's name buffer between entries, only growing it when needed; leave any copying to the client.
* Initial checkin.Miles Bader1997-05-071-0/+599