aboutsummaryrefslogtreecommitdiff
path: root/libshouldbeinlibc
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* (argp_error): New function.Miles Bader1995-10-201-0/+22
|
* (argp_usage, argp_error): New declarations.Miles Bader1995-10-201-0/+13
| | | | (argp_usage): New inline function.
* (argp_parse): If an option alias doesn't have a key, use the real key.Miles Bader1995-10-131-1/+1
|
* (ARGP_HELP_STD_ERR): Doesn't print a usage message.Miles Bader1995-10-131-2/+7
| | | | (ARGP_HELP_STD_USAGE): ... whereas this does.
* (argp_parse): Correctly mark short options as optional.Miles Bader1995-10-121-1/+1
|
* (hol_find_entry): Don't increment ENTRY prematurely.Miles Bader1995-10-111-103/+199
| | | | | | | | | | | | | (hol_entry_help): Print the right documentation string for each entry. (argp_help): Renamed from argp_usage. (make_hol): Deal with a null value of OPT. If there are no entries, don't define the ENTRIES or SHORT_OPTIONS fields. (hol_free): Don't free ENTRIES or SHORT_OPTIONS unless there are any. (hol_sort): Don't sort unless there are some entries. (hol_usage): Don't do anything unless there are some entries. (hol_sort): Sort int he correct order. (hol_append): Implement. (argp_help): Add the ARGP_HELP_SHORT_USAGE case.
* (argp_parse):Miles Bader1995-10-111-81/+97
| | | | | | | | | | | | | | Update STATE.argp when adding a wrapper to implement the --help option. In general, use the version of variables that are in STATE. Update STATE.index in the case where getopt returns EOF. Correctly translate options. (argp_default_parser, argp_parse): Rename uses of argp_usage* to argp_help*. (argp_parse): Deal with null parser or option fields. If an argp has neither a parser or any options, don't put it in GROUPS. Use comparison with EGROUP, rather than testing the parser field, the end test for iteration over GROUPS. (argp_parse): Pass in the right value for GROUPS to convert_options.
* (ARGP_HELP_*, argp_help): Renamed from ARGP_USAGE_* &c.Miles Bader1995-10-111-12/+18
| | | | (ARGP_HELP_STD_HELP): Use ARGP_HELP_SHORT_USAGE instead of ARGP_HELP_USAGE.
* (SRCS): Add argp-parse.c, argp-help.c, and line.cMiles Bader1995-10-111-2/+2
| | | | (LCLHDRS): Add line.h and argp.h.
* Doc fixes.Miles Bader1995-10-111-9/+13
|
* (struct argp_state): Get rid of the PROCESSED_ARG field.Miles Bader1995-10-111-8/+5
|
* (argp_parse):Miles Bader1995-10-111-45/+59
| | | | | | Put all the group attributes into structures which get stored in the GROUPS array, rather than having a separate array for each. Implement ARGP_KEY_NO_ARGS in a better way.
* (argp_parse): Add support for ARGP_KEY_NO_ARGS.Miles Bader1995-10-101-2/+10
|
* (struct argp_state): Add PROCESSED_ARG field.Miles Bader1995-10-101-2/+23
| | | | (ARGP_KEY_NO_ARGS): New macro.
* Initial revisionMiles Bader1995-10-103-0/+1226
|
* (options_parse): Use 0 as the tag for non-option args.Miles Bader1995-09-271-1/+1
|
* Use 0 as the tag for non-option args.Miles Bader1995-09-271-1/+1
|
* (lndist, $(srcdir)/hurd-snap/$(dir)/error.[ch]): Targets removed.Roland McGrath1995-09-161-7/+0
|
* Include "options.h" instead of <options.h>.Miles Bader1995-08-241-1/+2
|
* Initial revisionMiles Bader1995-08-241-0/+40
|
* When adding a fake argv[0], bump argc.Miles Bader1995-05-221-1/+4
| | | | Set optind to 0, so that getopt will reinitialize itself.
* Initial revisionMiles Bader1995-05-202-0/+306
|
* Declare argz_count and argz_extract.Miles Bader1995-05-181-0/+7
|
* Add two new functions: argz_count returns the number of arguments in an argzMiles Bader1995-05-181-0/+33
| | | | vector, and argz_extract extracts the arguments into an argv type vector.
* Initial revisionMiles Bader1995-03-312-0/+107