aboutsummaryrefslogtreecommitdiff
path: root/libshouldbeinlibc
Commit message (Collapse)AuthorAgeFilesLines
* (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().
* Initial revisionMiles Bader1996-01-021-0/+101
|
* Initial revisionMiles Bader1996-01-011-0/+80
|
* (idvec_free_wrapper, idvec_free, idvec_ensure, idvec_grow,Miles Bader1996-01-011-4/+59
| | | | | idvec_tail_contains, idvec_add_new, idvec_insert_new, idvec_merge_ids, idvec_setid, idvec_merge_auth): New declarations.
* (idvec_free_wrapper, idvec_free, idvec_ensure, idvec_grow,Miles Bader1996-01-011-26/+152
| | | | | | idvec_tail_contains, idvec_add_new, idvec_insert_new, idvec_merge_ids, idvec_setid): New functions. (idvec_insert): Rewritten to use idvec_grow().
* (argp_default_options): Put --help in group -1.Miles Bader1995-12-211-1/+1
|
* (make_hol):Miles Bader1995-12-211-7/+17
| | | | | | Use the new GROUP field in struct argp_option to initialize sort_classes. (HEADER_COL): New macro. (hol_entry_help): Deal with group headers.
* (struct argp_option): Add the GROUP field. Twiddle doc.Miles Bader1995-12-211-3/+14
| | | | (_option_is_end): Be more pessimistic about what constitutes `the end'.
* (SRCS): Remove options.c. Rename ivec.c to idvec.c.Miles Bader1995-12-211-2/+2
| | | | (LCLHDRS): Remove options.h. Rename ivec.h to idvec.h.
* (struct idvec): Renamed from struct ivec. `ints' field renamed to `ids'.Miles Bader1995-12-211-14/+15
| | | | | | (make_idvec, idvec_insert, idvec_add, idvec_contains): All renamed from the corresponding `ivec' declaration, and types, variable names, etc, changed accordingly.
* (make_idvec, idvec_insert, idvec_add, idvec_contains):Miles Bader1995-12-211-30/+30
| | | | | All renamed from the corresponding `ivec' routine, and types, variable names, etc, changed accordingly.
* (argz_insert): Instead of an integer position N, take a pointer BEFORE intoMiles Bader1995-12-211-2/+37
| | | | | ARGZ to insert before. (argz_next): New inline function.
* (argz_insert):Miles Bader1995-12-211-29/+35
| | | | Instead of an integer position N, take a pointer into ARGZ to insert before.
* Initial revisionMiles Bader1995-12-212-0/+275
|
* Initial revisionMiles Bader1995-12-173-0/+181
|
* (SRCS): Add termsize.c & ivec.c.Miles Bader1995-12-171-2/+2
| | | | (LCLHDRS): Add ivec.h.
* (argz_insert): New declaration.Miles Bader1995-12-171-0/+3
|
* (argz_remove, argz_append, argz_add): New functions, were in envz.c.Miles Bader1995-12-171-0/+72
| | | | (argz_insert): New function.
* (argz_append, argz_add, argz_remove): New functions.Miles Bader1995-12-141-0/+11
|
* (argz_stringify): Add the SEP argument.Miles Bader1995-12-062-5/+5
|
* (argp_parse): Changes uses of the INDEX field in struct argp_state to use NEXT.Miles Bader1995-12-061-7/+7
|
* (struct argp_state): Rename the INDEX field to be NEXT.Miles Bader1995-12-061-3/+3
|
* (SRCS, LCLHDRS): Removed error.c and error.h.Roland McGrath1995-12-051-5/+2
| | | | (CPPFLAGS-error.c): Variable removed.