aboutsummaryrefslogtreecommitdiff
path: root/libshouldbeinlibc
Commit message (Collapse)AuthorAgeFilesLines
* (wire_segment_internal):Michael I. Bushnell1996-04-111-1/+9
|
* (argp_parse): Change HOOK argument to INPUT.Miles Bader1996-04-031-16/+13
| | | | | (struct argp_state): Rename HOOK & CHILD_HOOKS to INPUT & CHILD_INPUTS; add HOOK field again.
* (argp_parse):Miles Bader1996-04-031-24/+20
| | | | | | | | | | | | Change HOOK argument to INPUT. Don't propagate back return values when we're done. (struct group): Rename HOOK & CHILD_HOOKS to INPUT & CHILD_INPUTS. Add HOOK field again. (group_parse): Restore & save value of GROUP's hook field into STATE around calling the parser. Don't save changed value of INPUT.
* (SRCS): Add lcm.c.Miles Bader1996-04-021-1/+1
|
* Initial revisionMiles Bader1996-04-021-0/+46
|
* Fix function name typos.Miles Bader1996-03-291-5/+5
|
* Fix function name typo.Miles Bader1996-03-292-4/+5
|
* (LCLHDRS): Add portinfo.h, portxlate.h.Miles Bader1996-03-291-2/+3
| | | | (SRCS): Add portinfo.c, xportinfo.c, portxlate.c.
* Initial revisionMiles Bader1996-03-295-0/+526
|
* Add a weak reference to _start, so we don't have to recompile all users ofMiles Bader1996-03-261-2/+1
| | | | this library.
* Initial revisionMichael I. Bushnell1996-03-251-0/+153
|
* (SRCS): Add wire.c.Michael I. Bushnell1996-03-251-2/+3
| | | | (LCLHDRS): Add wire.h.
* (wire_segment): add.Michael I. Bushnell1996-03-251-0/+3
|
* Initial revisionMichael I. Bushnell1996-03-251-0/+24
|
* (envz_merge): NEW_LEN is a size, not a char.Miles Bader1996-03-251-2/+2
|
* (argp_doc, argp_args_usage, argp_hol): Rename PARENTS field to CHILDREN.Miles Bader1996-03-191-32/+47
| | | | | | | (argp_error): Take an argp_state instead of an argp, and only doing anything if ARGP_NO_ERRS isn't set in it. (argp_state_help): New function. (argp_help): Don't interpret exiting options anymore.
* (struct group): Add PARENT, PARENT_INDEX, HOOK, and CHILD_HOOKS fields.Miles Bader1996-03-191-36/+125
| | | | | | | | | | | | (argp_parse): Add HOOK argument. Implement passing hook values to parsers, and propagating them between parents and children. When printing `too many arguments', test ARGP_NO_ERRS, not ARGP_NO_HELP. (argp_default_options): Add --usage option. (argp_default_parser): Use argp_state_help, so we don't need to screw with exit options anymore. Add usage option.
* (struct argp_state):Miles Bader1996-03-191-31/+64
| | | | | | | | | Add HOOK and CHILD_HOOKS fields. Rename the PARENTS field to be CHILDREN (the most common use is initialization, so this change shouldn't have much effect). (ARGP_KEY_BEGIN, ARGP_KEY_ERROR): New macros. (argp_state_help): New function. (argp_usage, argp_error): Change arguments.
* (hol_entry_help): Don't print extraneous blank lines.Miles Bader1996-03-021-1/+2
|
* (argp_parse): Print an error message if appropiate when we know there are tooMiles Bader1996-02-291-1/+6
| | | | many arguments.
* (hol_entry_help): Handle null group headers nicely.Miles Bader1996-02-281-3/+3
|
* Initial revisionMiles Bader1996-02-283-0/+193
|
* (SRCS): Add shared-dom.c, localhost.c, maptime.c, & canon-host.c.Miles Bader1996-02-181-3/+4
| | | | (LCLHDRS): Add maptime.h.
* Initial revisionMiles Bader1996-02-182-0/+123
|
* (argp_parse): Correctly deal with errors from getopt, and allow the user toMiles Bader1996-02-151-29/+40
| | | | | | | use '?' as a short option. (KEY_ERR): New macro. (argp_default_options, argp_default_parser): Use -? as the short option for --help.
* (SRCS): Add exec-reauth.c, idvec-auth.c, timefmt.c, and path-lookup.c.Miles Bader1996-02-141-2/+3
| | | | (LCLHDRS): Add timefmt.h.
* (struct argp_state): Add `quoted' field.Miles Bader1996-02-141-0/+5
|
* (argp_parse):Miles Bader1996-02-141-55/+100
| | | | | | | | | | Don't parse args in order by default. Deal correctly when the user turns a non-option arg into an option in re-ordering mode. Honor ARGP_NO_ARGS. Use KEY_END, KEY_ARG, and QUOTE. (KEY_END): New macro, in place of EOF. (KEY_ARG, QUOTE): New macros.
* (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).
* (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
|
* (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.
* (idvec_merge_ids): Correctly add all IDS, even if some duplicates are avoided.Miles Bader1996-02-031-2/+3
|
* Initial revisionMiles Bader1996-01-231-0/+120
|
* (hol_entry_help):Miles Bader1996-01-231-25/+49
| | | | | | | | | | | Correctly print group headers, and precede them with a blank line. (struct hol_entry, make_hol, hol_sort, hol_set_group): Rename the `set_class' field to be `group'. (hol_help, hol_entry_help): After a group header has been printed, separate subsequent groups with a blank line. (hol_set_group): Renamed from hol_set_sort_class. (argp_help): Use hol_set_group instead of hol_set_sort_class.
* (argp_default_options, argp_default_parser):Miles Bader1996-01-191-2/+20
| | | | | Add --program-name (hidden) option. (OPT_PROGNAME): New macro.
* (idvec_merge, idvec_delete): New declarations.Miles Bader1996-01-191-0/+6
|
* (argz_delete): Renamed from argz_remove.Miles Bader1996-01-191-2/+2
|
* Initial revisionMiles Bader1996-01-032-0/+226
|
* (_argp_unlock_xxx): New function.Miles Bader1996-01-031-0/+9
|
* (exec_reauth): Doc fix.Miles Bader1996-01-021-4/+7
|
* (argz_delete): If the result is empty, free it.Miles Bader1996-01-021-3/+8
|
* (idvec_merge_auth): Fix various small typos.Miles Bader1996-01-021-5/+5
|
* (idvec_merge_ids): Preserve duplicates internal to IDS.Miles Bader1996-01-021-5/+34
| | | | | (idvec_ensure): Alloc NUM ids, not NUM chars! (idvec_remove): Correctly copy ids when deleting.
* (idvec_remove, idvec_insert_only): New declarations.Miles Bader1996-01-021-0/+9
|
* (idvec_remove, idvec_insert_only): New functions.Miles Bader1996-01-021-3/+41
| | | | (idvec_setid): Use idvec_insert_only() instead of idvec_insert_new().