aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/file-set-size.c
Commit message (Collapse)AuthorAgeFilesLines
* Check for negative sizes in file_set_sizeRichard Braun2013-10-021-1/+1
| | | | | | | | | | | * libdiskfs/file-set-size.c (diskfs_S_file_set_size): Return EINVAL if size is negative. * libnetfs/file-set-size.c (netfs_S_file_set_size): Likewise. * libtreefs/s-file.c (treefs_S_file_set_size): Likewise. * storeio/io.c (trivfs_S_file_set_size): Likewise. * term/users.c (trivfs_S_file_set_size): Likewise. * trans/null.c (trivfs_S_file_set_size): Likewise. * trans/streamio.c (trivfs_S_file_set_size): Likewise.
* Sun Aug 9 21:09:24 1998 Jose M. Moya <josem@gnu.org>Thomas Bushnell1998-08-101-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | * diskfs.h (struct node): Add filemod_reqs member. (struct modreq): Rename struct dirmod to reqmod as it is used for directory and file notifications. (diskfs_notice_filechange): Add prototype. * dir-chg.c (diskfs_S_dir_notice_changes): Check nowait_dir_changed return value for errors. (diskfs_notice_dirchange): Remove requests when the notification fails. * file-chg.c (diskfs_S_file_notice_changes): Implement. (diskfs_notice_filechange): New function. * node-make.c (diskfs_make_node): Initialize filemod_reqs. * node-drop.c (free_modreqs): New function. (diskfs_drop_node): Free filemod_reqs. * file-chauthor.c (dithkfth_TH_file_chauthor): Add file notifications. * file-chflags.c (diskfs_S_file_chflags): Likewise. * file-chmod.c (diskfs_S_file_chmod): Likewise. * file-chown.c (diskfs_S_file_chown): Likewise. * file-set-size.c (diskfs_S_file_set_size): Likewise. * io-prenotify.c (diskfs_S_io_prenotify): Likewise. * io-write.c (diskfs_S_io_write): Likewise. * node-rdwr.c (diskfs_node_rdwr): Likewise.
* Renamed from file-trunate.c.Roland McGrath1995-09-171-9/+20
| | | | | (diskfs_S_file_set_size): Renamed from diskfs_s_file_truncate. If SIZE exceeds the file size, extend the file.
* (diskfs_S_file_truncate): Bother to check the return value ofMichael I. Bushnell1995-08-251-2/+2
| | | | diskfs_truncate.
* entered into RCSRoland McGrath1994-05-051-1/+1
|
* Formerly file-truncate.c.~5~Michael I. Bushnell1994-03-011-1/+1
|
* Formerly file-truncate.c.~4~Michael I. Bushnell1994-02-041-0/+1
|
* Formerly file-truncate.c.~3~Michael I. Bushnell1994-02-031-1/+2
|
* Initial revisionMichael I. Bushnell1994-01-311-1/+1
|
* Formerly file-truncate.c.~2~Michael I. Bushnell1994-01-311-0/+32