aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* entered into RCSMichael I. Bushnell1996-02-091-9/+2
|
* (argp_parse):Miles Bader1996-02-091-30/+49
| | | | | | | | | | When a non-option arg fails to be parsed with EINVAL, set ARG_EINVAL true, and leave ERR as is until just before we return. Put process_arg() in the right scope. Deal with getopt returning EOF early because of `--'. Make STATE.arg_num per-group. (struct group): Renamed process_arg field to args_processed (a count).
* Protect from multiple inclusion.Roland McGrath1996-02-091-2/+7
|
* Formerly main.c.~5~Michael I. Bushnell1996-02-091-1/+1
|
* Formerly main.c.~4~Michael I. Bushnell1996-02-091-2/+23
|
* Formerly mount.c.~9~Michael I. Bushnell1996-02-091-1/+1
|
* entered into RCSMichael I. Bushnell1996-02-081-3/+3
|
* (diskfs_nput): Before bumping NP->references (which precedesMichael I. Bushnell1996-02-081-2/+2
| | | | | | diskfs_try_dropping_softrefs), *lock* diskfs_node_refcnt_lock, not mutant unlock. (diskfs_nrele): Likewise.
* (diskfs_parse_runtime_options): Make STANDARD_ARGP const.Miles Bader1996-02-071-3/+3
| | | | (diskfs_startup_argp, diskfs_device_startup_argp): Make const.
* (diskfs_common_options): Make const.Miles Bader1996-02-071-2/+2
|
* (std_runtime_options): Make const.Miles Bader1996-02-071-5/+5
| | | | (diskfs_set_options): Make argp structures const.
* (startup_options, dev_startup_options, dev_start_argp_parents,Miles Bader1996-02-071-10/+10
| | | | | | dev_startup_argp, startup_common_argp, startup_argp_parents, startup_argp, diskfs_startup_argp): Make const.
* (diskfs_S_dir_lookup): Revert last change.Michael I. Bushnell1996-02-071-2/+1
|
* (ext2_warning): Make a declaration, not a macro.Miles Bader1996-02-061-5/+4
|
* (ext2_warning): Rename from _ext2_warning; don't take (or print) a functionMiles Bader1996-02-061-3/+2
| | | | argument any more.
* (diskfs_get_directs): When BUFSIZ is 0, allocate enough extra space over theMiles Bader1996-02-061-4/+39
| | | | | directory size to account for the worst case difference between the ext2 and canonical formats.
* (diskfs_S_dir_lookup): Make the new peropen we'll pass as dotdot to theMiles Bader1996-02-061-1/+3
| | | | fetch_root with the same flags as DIRCRED->po.
* (argp_parse): Implement the ARG_NUM field.Miles Bader1996-02-051-2/+5
|
* (struct argp_state): Add ARG_NUM field.Miles Bader1996-02-051-0/+6
|
* (main, args_doc, doc): Add repeat mode.Miles Bader1996-02-051-52/+122
| | | | (FVAL): New macro.
* (line_write, line_fill): Add `const' where appropriate.Miles Bader1996-02-051-6/+6
|
* (line_write, line_fill, line_puts): Add `const' where appropriate.Miles Bader1996-02-051-4/+4
|
* (struct hol_entry, make_hol, hol_entry_short_iterate, hol_entry_long_iterate,Miles Bader1996-02-051-33/+38
| | | | | | hol_entry_first_short, hol_entry_first_long, hol_find_entry, hol_sort, hol_entry_help, argp_hol, argp_args_usage, argp_doc, argp_help, argp_error): Add `const' where appropriate.
* (argp_default_options, argp_default_argp, argp_parse, find_long_option):Miles Bader1996-02-051-12/+13
| | | | Add `const' where appropriate.
* (struct argp, struct argp_state, argp_parse, argp_help, argp_usage,Miles Bader1996-02-051-16/+17
| | | | argp_error, _option_is_short, _option_is_end): Add `const' where appropriate.
* (main):Miles Bader1996-02-051-17/+17
| | | | | | | Slightly decrease the space for numbers in the verbose output format. Twiddle the widths of the terse fields to make sure there's room for typical numbers. (fields, options): Make const.
* (state_shadows): Don't reflect a suspended thread in the process stateMiles Bader1996-02-041-209/+189
| | | | | | | | | | | | | | | display if any thread isn't suspended. (ps_get_usr_time, ps_get_sys_time, ps_get_tot_time): Return a struct timeval instead of mach time_value_t. (ps_cmp_times): New function. (specs): Rearrange to use new field layout. (ps_fmt_specs_find): Renamed from find_ps_fmt_spec; now uses a struct ps_fmt_specs instead of an array of specs. (specs): Renamed from ps_std_fmt_specs; (ps_std_fmt_specs): Now of type struct ps_fmt_specs, pointing to specs. (ps_emit_seconds, ps_emit_minutes): Use timefmt functions. (append_fraction, sprint_long_time, ps_emit_nice_seconds): Deleted. Include <timefmt.h>.
* (_ext2_warning): Include `warning:' in message.Miles Bader1996-02-031-2/+2
|
* (get_hypermetadata, diskfs_readonly_changed):Miles Bader1996-02-031-8/+3
| | | | Use ext2_warning to print warnings instead of error().
* Fixed handling of the filesystem `clean bit'.Roland McGrath1996-02-031-20/+45
| | | | | | | | (ext2fs_clean): New boolean variable. (get_hypermetadata): Set it iff the clean bit is set on entry. If not clean, complain and force read-only. (diskfs_set_hypermetadata): Set clean bit only if ext2fs_clean is set. (diskfs_readonly_changed): Complain if going writable and clean bit clear.
* Include string.h for strerror decl.Roland McGrath1996-02-031-1/+2
|
* Tue Jan 30 22:25:19 1996 Miles Bader <miles@gnu.ai.mit.edu>Miles Bader1996-02-033-26/+12
| | | | | | | | | * hyper.c (get_hypermetadata): Don't return any error value, just panic if we can't read the superblock. * ext2fs.c (main): Move warp_inode() inline. Make sure root inode is really there. Don't check return value from get_hypermetadata. (warp_inode): Function removed. * ext2fs.h (get_hypermetadata): Returns void now.
* Don't save the parent ids.Miles Bader1996-02-031-1/+1
|
* (main):Miles Bader1996-02-031-17/+22
| | | | | | | | Don't ask for a password unecessarily. When the user is specified as the first argument, always add it as both effective, real, and saved ids, even if there are others already. Only chown the tty if NO_LOGIN isn't set. Avoid duplicating the old real id when keeping the old ids.
* (idvec_merge_ids): Correctly add all IDS, even if some duplicates are avoided.Miles Bader1996-02-031-2/+3
|
* (targets): Add vmstat.Miles Bader1996-02-031-4/+4
| | | | (SRCS): Add vmstat.c
* Initial revisionMiles Bader1996-02-031-0/+210
|
* (main): Get the ttyname to chown.Miles Bader1996-02-021-6/+10
|
* (options, main): Add --pause option.Miles Bader1996-02-021-2/+10
|
* Formerly main.c.~3~Michael I. Bushnell1996-02-021-0/+39
|
* (main): Chown the terminal.Roland McGrath1996-02-011-1/+11
|
* Formerly mount.c.~8~Michael I. Bushnell1996-02-011-3/+3
|
* entered into RCSMichael I. Bushnell1996-02-011-1/+1
|
* Initial revisionMichael I. Bushnell1996-02-011-0/+52
|
* entered into RCSMichael I. Bushnell1996-02-012-2/+2
|
* Add assert to check for signal bug.Roland McGrath1996-02-011-1/+4
|
* (diskfs_node_rdwr): Handle null AMTREAD.Roland McGrath1996-01-311-1/+4
|
* (diskfs_S_fsys_set_options): Use rwlock_writer_lock instead ofRoland McGrath1996-01-311-5/+5
| | | | rwlock_reader_lock in DO_CHILDREN case.
* (file_pager_read_page, file_pager_write_page): Check for a page offsetRoland McGrath1996-01-301-3/+13
| | | | beyond the allocsize and return EIO.
* (check_hashbang): Use hash_file_name_path_lookup() instead of doing the pathMiles Bader1996-01-301-49/+14
| | | | search ourselves, and get rid of LOOKUP_CWDIR & associated logic.