aboutsummaryrefslogtreecommitdiff
path: root/libshouldbeinlibc
Commit message (Collapse)AuthorAgeFilesLines
...
* Standardize the multiple-include protect (for libc).Miles Bader1997-07-031-3/+3
|
* Remove extra #endif.Miles Bader1997-07-031-22/+21
| | | | | Pretty print. Standardize the multiple-include protect (for libc).
* .Miles Bader1997-06-181-0/+34
|
* Include <sys/time.h>.Miles Bader1997-06-181-1/+2
|
* (ARGP_KEY_ARGS, ARGP_KEY_FINI):Miles Bader1997-06-181-2/+9
| | | | New macros.
* (parser_parse_opt):Miles Bader1997-06-181-35/+91
| | | | | | | | | | | | | | | | | | Detect and report unhandled options here. (parser_finalize): Do another pass over the parsers with ARGP_KEY_FINI. (argp_default_options, argp_version_options): Wrap doc strings in N_(). (argp_version_parser): Include `(PROGRAM ERROR)' in the no-version error text to indicate that something's fucked. (parser_parse_arg): Handle ARGP_KEY_ARGS here. Adjust NEXT pointer back if we fail to parse anything. (parser_parse_next): Simplify arg code. Leave state NEXT frobbing to parser_parse_arg. [!_] (N_): New macro.
* (argp_args_usage):Miles Bader1997-06-181-6/+7
| | | | | Don't modify `fdoc' value since it is used to distinguish filtered strings from unmodifed strings.
* .Miles Bader1997-06-051-0/+3
|
* Sync with libc version (there were minor whitespace differences, etc).Miles Bader1997-06-053-13/+13
|
* Undo half-baked change.Miles Bader1997-06-051-4/+0
|
* .Miles Bader1997-06-051-0/+5
|
* (_help):Miles Bader1997-06-051-2/+6
| | | | Use uparams.usage_indent instead of the USAGE_INDENT macro.
* .Miles Bader1997-06-041-0/+4
|
* (idvec_verify):Miles Bader1997-05-291-12/+22
| | | | Fix detection of multiple ids.
* .Miles Bader1997-05-271-0/+4
|
* (argp_args_usage):Miles Bader1997-05-271-2/+1
| | | | Supply correct argp to filter_doc.
* .Miles Bader1997-05-271-0/+49
|
* (SRCS):Miles Bader1997-05-271-3/+6
| | | | | | | | Add ugids-imply.c, ugids-posix.c, idvec-impgids.c, idvec-verify.c, idvec-rep.c, ugids.c, ugids-subtract.c, ugids-verify.c, ugids-argp.c, ugids-rep.c, ugids-auth.c, ugids-xinl.c, & ugids-merge.c. (installhdrs): Add ugids.h.
* (idvec_tail_contains):Miles Bader1997-05-271-15/+47
| | | | | | | | | | | | | | Rewrite. (idvec_set, idvec_merge): Make NEW arg const. (idvec_subtract, idvec_keep): New functions. (idvec_tail): Function removed (now inline in idvec.h). (idvec_set_ids, idvec_merge_ids): Make IDS arg const. (idvec_contains, idvec_tail_contains): Make IDVEC arg const.
* (idvec_subtract, idvec_keep, idvec_rep, idvec_uids_rep, idvec_gids_rep,Miles Bader1997-05-271-7/+76
| | | | | | | | | | | | | | | | | | | | | idvec_merge_implied_gids, idvec_verify): New declarations. (idvec_equal): New inline function. (idvec_is_empty): New function. (idvec_contains): Now an inline function. (idvec_fini): New macro. (idvec_set, idvec_merge): Make NEW arg const. (IDVEC_INIT): New macro. (idvec_set_ids, idvec_merge_ids): Make IDS arg const. (idvec_contains, idvec_tail_contains): Make IDVEC arg const.
* Initial checkinMiles Bader1997-05-2714-0/+1558
|
* (parser_init):Miles Bader1997-05-261-1/+1
| | | | Replace references to STATE->argp with STATE->root_argp.
* (__argp_state_help, argp_args_usage, hol_help):Miles Bader1997-05-261-3/+3
| | | | Replace references to STATE->argp with STATE->root_argp.
* (parser_init):Miles Bader1997-05-261-0/+8
| | | | | For the special case where no parsing function is supplied for an argp, propagate its input to its first child, if any.
* (struct argp_state):Miles Bader1997-05-261-1/+1
| | | | `argp' field renamed to `root_argp'.
* (hol_add_cluster):Miles Bader1997-05-231-0/+1
| | | | Initialize CL->depth.
* .Miles Bader1997-05-201-0/+7
|
* (ARGP_KEY_HELP_ARGS_DOC): New macro.Miles Bader1997-05-201-0/+1
|
* (_help): Supply STATE to argp_args_usage.Miles Bader1997-05-201-13/+19
| | | | | (argp_args_usage): Add filtering of the args doc string. (comma): Print cluster headers for the first entry too.
* .Miles Bader1997-05-091-0/+16
|
* Add casts to prevent warnings.Miles Bader1997-05-092-8/+8
|
* (parser_finalize): Always set *END_INDEX if supplied.Miles Bader1997-05-091-0/+4
|
* (canon_doc_option): Correct ctype tests.Miles Bader1997-05-091-5/+5
|
* [!__error_t_defined] (__error_t_defined): Define.Miles Bader1997-05-091-1/+2
|
* .Miles Bader1997-03-061-0/+8
|
* (SRCS):Miles Bader1997-03-061-1/+1
| | | | Add argp-eexst.c.
* (__argp_state_help):Miles Bader1997-03-061-1/+1
| | | | Use ARGP_ERR_EXIT_STATUS when exiting due to an error.
* (argp_err_exit_status):Miles Bader1997-03-061-0/+5
| | | | New variable.
* Initial revisionMiles Bader1997-03-061-0/+32
|
* .Miles Bader1997-02-211-0/+6
|
* (usage_long_opt, usage_argful_short_opt, add_argless_short_opt):Miles Bader1997-02-211-13/+17
| | | | Implement OPTION_NO_USAGE.
* (OPTION_NO_USAGE):Miles Bader1997-02-211-0/+9
| | | | New macro.
* Doc fix.Miles Bader1997-02-211-5/+4
|
* .Miles Bader1997-02-211-0/+3
|
* (idvec_insert, idvec_remove):Miles Bader1997-02-211-18/+24
| | | | | | Handle POS > IDVEC->num correctly. (idvec_insert_only): Handle POS >= IDVEC->num correctly.
* .Miles Bader1997-02-211-0/+35
|
* (__argp_fmtstream_update):Miles Bader1997-02-211-3/+11
| | | | | Account for case where NEXTLINE points one past the end of the active buffer.
* (struct uparams):Miles Bader1997-02-211-48/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New type. (uparams): New variable. (struct uparam_name): New type. (uparam_names): New variable. (fill_in_uparams): New function. (_help): Call fill_in_uparams if necessary. (struct hol_help_state): New type. (hol_help): Add HHSTATE variable & pass to hol_entry_help. Remove LAST_ENTRY & SEP_GROUPS variables. If any suplicate arguments were suppressed, print explanatory note. (print_header, hol_entry_help): Use UPARAMS fields rather than constants. (__argp_failure, __argp_error, __argp_state_help): Make STATE parameter const. (struct pentry_state): Add hhstate field. Remove prev_entry & sep_groups fields. (print_header, comma): Use PEST->hhstate fields. (filter_doc): Replace PEST parameter with STATE. (__argp_failure): Only exit if STATE says it's ok. (hol_entry_help): Add HHSTATE parameter. Remove prev_entry & sep_groups parameters. Suppress duplicate arguments if requested, and note the fact. <stddef.h>: New include.
* (argp_program_bug_address):Miles Bader1997-02-201-15/+20
| | | | | | | | | Make const. (argp_state_help, __argp_state_help, argp_usage, __argp_usage, argp_error, __argp_error, argp_failure, __argp_failure): Make STATE parameter const. (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
* (argp_program_bug_address):Miles Bader1997-02-201-1/+1
| | | | Make const.