Age | Commit message (Collapse) | Author |
|
* diskfs.h (diskfs_lookup_hard, diskfs_lookup,
diskfs_set_translator, diskfs_create_symlink_hook,
diskfs_notice_dirchange, diskfs_direnter, diskfs_direnter_hard,
diskfs_dirrewrite, diskfs_dirremove,
diskfs_create_node, diskfs_enter_lookup_cache,
diskfs_check_lookup_cache, dir_rename_dir, diskfs_set_options):
Add `const' qualifier to `char *' parameters where appropriate.
* opts-set.c (diskfs_set_options): Fix defn with `const'.
* node-create.c (diskfs_create_node): Likewise.
* name-cache.c (diskfs_enter_lookup_cache): Likewise.
(diskfs_check_lookup_cache): Likewise.
* dirremove.c (diskfs_dirremove): Likewise.
* dirrewrite.c (diskfs_dirrewrite): Likewise.
* lookup.c (diskfs_lookup): Likewise.
* direnter.c (diskfs_direnter): Likewise.
* dir-renamed.c (diskfs_rename_dir): Likewise.
* dir-chg.c (diskfs_notice_dirchange): Likewise.
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Treat a shadow_root with null
shadow_root_parent as a "virtual root".
|
|
Add support for a "virtual root directory" specified at startup.
* priv.h (_diskfs_chroot_directory): Declare new variable.
* opts-std-startup.c (startup_options, parse_startup_opt): New
string-valued option -C/--directory/--virtual-root/--chroot sets
_diskfs_chroot_directory.
* init-startup.c (_diskfs_chroot_directory): New variable.
(diskfs_startup_diskfs): If that's set, look up the name and
warp us to that as a virtual root directory.
* fsys-getroot.c (diskfs_S_fsys_getroot): Initialize new peropen's
shadow_root_parent to null, and shadow_root to either null or,
if _diskfs_chroot_directory is set, to diskfs_root_node.
|
|
|
|
* cacheq.c (cacheq_set_length): Fix the limit of the destination
entries. Decide that there is no following entry if the current
entry is equal or greater than this limit.
|
|
* init.c (main): Don't bogusly clear bootstrap_args.
Reported by OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>.
|
|
|
|
* dir.c (diskfs_lookup_hard): Fix defn with `const'.
(diskfs_direnter_hard): Likewise.
(dirscanblock): Likewise.
* inode.c (diskfs_create_symlink_hook, create_symlink_hook): Likewise.
(diskfs_set_translator): Likewise.
|
|
|
|
* devio.c: Add #undef's for B19200, B38400, B57600, B115200, in case
they are defined in <device/tty_status.h> too.
|
|
|
|
|
|
* Makefile (OBJS): Use % pattern instead of explicit list.
|
|
|
|
* Makefile (TAGS): Create a TAGS file that specifies the subdir TAGS
files as includes.
|
|
* Makeconf (TAGS): Make rules cope with having no source files to tag.
|
|
|
|
* loopback.c (loopback_type_trans): Return u_int16_t.
|
|
* Makefile (SRCS): Remove argz-replace.c and argp-*.c from the list.
(installhdrs): Remove argp.h from the list.
|
|
* ugids-verify-auth.c (ugids_verify_make_auth): Fix typos in
svma_state change of 1998-08-11.
|
|
* idvec.c, idvec-auth.c (id_t): Remove typedef; use uid_t everywhere.
The name `id_t' is coopted in libc now for the SVID `waitid' interface.
|
|
* fshelp.h (fshelp_set_options): Use `const' for `char *' parameter.
* set-options.c (fshelp_set_options): Fix defn.
|
|
* lookup.c (diskfs_lookup_hard): Fix defn with `const'.
(diskfs_direnter_hard): Likewise.
(diskfs_get_directs): Use `const' for local var NAME.
* inode.c (diskfs_set_translator): Fix defn with `const'.
|
|
* ftpfs.c (netfs_append_args): Use %ld for time_t and %Zu for size_t.
|
|
* pager.c: strings.h -> string.h; gets strerror decl.
|
|
* dir.c (dirscanblock): Fix defn with `const'.
(diskfs_direnter_hard): Likewise.
* inode.c (diskfs_create_symlink_hook): Likewise.
(write_symlink): Likewise.
* dir.c (diskfs_lookup_hard): Fix defn with `const'.
* inode.c (diskfs_set_translator): Likewise.
|
|
* ext2fs.c (main): Fix return type to int.
|
|
* lmail.c: Include <time.h> and <sys/time.h>.
|
|
|
|
* boot_script.c: Include <string.h> instead of declaring memset here.
Include <stdlib.h> instead of declaring malloc, free here.
|
|
|
|
* Makeconf (objs): Don't build PIC objects unless $(makemode) library.
|
|
|
|
* Makeconf (objs): New target, just compile w/o ar or ld.
(OBJS): Remove bogus `%.o' default defn.
* Makefile (objs, %-objs): New subdir target.
|
|
|
|
* msgport.c: Comments added.
(add_cmd): cmd_add renamed to add_cmd.
(parse_cmd_opt): cmd_parse_opt renamed to parse_cmd_opt.
|
|
|
|
* Makefile (SRCS): Remove return-buffer.c.
|
|
* Makefile (SRCS): Add return-buffer.c.
|
|
|
|
|
|
* fsys-options.c (diskfs_S_fsys_get_options):
fshelp_return_malloced_buffer renamed to iohelp_*.
* file-get-fs-opts.c (diskfs_S_file_get_fs_options): Likewise.
|
|
* file-get-fs-options.c (netfs_S_file_get_fs_options):
fshelp_return_malloced_buffer renamed to iohelp_*.
* fsys-get-options.c (netfs_S_fsys_get_options): Likewise.
|
|
* file-get-fs-options.c (trivfs_S_file_get_fs_options):
fshelp_return_malloced_buffer renamed to iohelp_*.
* fsys-get-options.c (trivfs_S_fsys_get_options): Likewise.
|
|
* fshelp.h: Moved fshelp_return_malloced_buffer to libiohelp.
* return-buffer.c: Moved to ../libiohelp/return-buffer.c.
(fshelp_return_malloced_buffer): Renamed to iohelp_*.
|
|
* return-buffer.c (iohelp_return_malloced_buffer): Moved here from
../libfshelp/return-buffer.c and renamed from fshelp to iohelp.
* iohelp.h (iohelp_return_malloced_buffer): Declare it.
|
|
|
|
* aclocal.m4 (AC_PROG_CC_LOCAL): Renamed to hurd_PROG_CC.
(AC_PROG_CC_WORKS_LOCAL): Renamed to hurd_PROG_CC_WORKS.
* configure.in: Use hurd_PROG_CC instead of AC_PROG_CC_LOCAL.
(AC_PREREQ): Require 2.12.
(AC_CANONICAL_HOST): Give helpful error messages for likely cases of
bogus host specs.
(crypt check): Don't do AC_CHECK_FUNCS to get HAVE_CRYPT,
just check for -lcrypt to set $LIBCRYPT.
|
|
* file-chflags.c (diskfs_S_file_chflags): Set NP->dn_set_ctime.
|
|
* hurd_types.h (dir_changed_type, file_changed_type): Doc fix.
|