Age | Commit message (Collapse) | Author |
|
Don't pass depth args to diskfs_lookup.
|
|
diskfs_S_exec_startup_get_info, diskfs_start_bootstrap):
Pass a prototype peropen instead of the dotdotport and depth to
diskfs_make_peropen.
|
|
|
|
|
|
|
|
|
|
|
|
Include removed.
|
|
[!isblank] (isblank): New macro.
<ctype.h>: New include.
|
|
|
|
Decrement PARSER->state.next if we consumed an arg we didn't end up parsing.
Set ARG_EBADKEY ourselves in all cases.
(parser_parse_arg, parser_parse_opt):
Get rid of ARG_EBADKEY param.
|
|
|
|
* ops.c (netfs_check_open_permissions): If this is a new node,
don't report an error here. (Though, later I/O requests still
might fail.)
|
|
|
|
Returns an error_t.
|
|
Return errors.
|
|
Rewrite for clarity.
Deal with _pager_pagemap_resize failing.
|
|
Deal with _pager_pagemap_resize failing.
|
|
Deal with _pager_pagemap_resize failing.
|
|
Deal with _pager_pagemap_resize failing.
|
|
|
|
Check OFF for validity and return EINVAL if it's bogus.
|
|
Check OFF for validity and return EINVAL if it's bogus.
|
|
Decls removed.
(__argp_failure, __argp_error, __argp_state_help):
Use PROGRAM_INVOCATION_NAME instead of __PROGNAME_FULL.
(__argp_error):
Use STATE->name if it's available.
|
|
Decls removed.
(argp_default_parser):
Use PROGRAM_INVOCATION_NAME & PROGRAM_INVOCATION_SHORT_NAME instead of
__PROGNAME_FULL & __PROGNAME.
|
|
Macro removed.
|
|
(doc): Add some more gratuitous text.
|
|
|
|
ARGP_KEY_ERROR): Change values.
|
|
|
|
|
|
(argp_args_usage, __argp_state_help): Make multiple-level args-docs work.
|
|
|
|
|
|
(parse_opt): Enforce it.
|
|
Add LEVELS & ADVANCE arguments, and implement multi-pattern output.
(__argp_help):
Print multiple argument patterns if there are any.
(argp_args_levels):
New function.
|
|
Update to reflect some minor changes in the way argp works.
|
|
|
|
|
|
|
|
[weak_alias] (argp_parse): New weak alias.
(argp_default_parser, parser_finalize):
Use __argp_state_help, not argp_state_help.
(argp_version_parser): Use __argp_error, not argp_error.
(convert_options, calc_sizes): Use __option_is_end, not _option_is_end.
(convert_options): Use __option_is_short, not _option_is_short.
|
|
|
|
Add argp-fmtstream.c, argp-fs-xinl.c, and argp-xinl.c.
Remove argp.c.
(installhdrs): Define explicitly.
(LCLHDRS): Define in terms of $(installhdrs) + others.
(CFLAGs): Add -DHAVE_LINEWRAP_H & -DHAVE_CTHREADS_H.
|
|
|
|
|
|
__argp_failure, __option_is_short, __option_is_end):
New declarations.
(argp_usage, _option_is_end, _option_is_short):
Inline definitions replaced by __-prefixed versions, and protected by
__OPTIMIZE__.
[__OPTIMIZE__ && !_LIBC]
(__argp_usage, __argp_state_help, __option_is_short, __option_is_end):
Add redefs (& later undefs) of __ versions of inline definitions so they
define the correct name for the environment (libc vs. non-libc),
(struct argp_option, struct argp, struct argp_child, struct argp_state):
Use __const instead of const.
(argp_parse, argp_help, argp_state_help, argp_error, argp_usage, argp_failure,
_option_is_short, _option_is_end):
Use __P macro for function declarations.
[HAVE_CONFIG_H] <config.h>: New include.
[__GNU_LIBRARY__] <sys/cdefs.h>: New include.
[!__const] (__const): New macro.
|
|
adapt namespace and locking in preparation for moving into libc.
|
|
Use strchr instead of index.
(__argp_error):
Renamed from argp_error.
(__argp_state_help, __argp_error, __argp_failure):
Use __PROGNAME_FULL instead of PROGRAM_INVOCATION_NAME.
(until_short):
Return correct key.
(__progname, __progname_full):
New declarations.
(__argp_failure):
Renamed from argp_failure.
[weak_alias] (argp_help, argp_state_help, argp_error, argp_failure):
New weak aliases.
(__argp_state_help):
Renamed from argp_state_help.
(hol_entry_cmp):
Use __strcasecmp instead of strcasecmp.
(hol_append):
Use memcpy instead of bcopy.
(__argp_help):
Renamed from argp_help.
(hol_entry_cmp, usage_argful_short_opt, usage_long_opt):
Don't use ?: operator.
(make_hol):
Increment default group for option headers.
Make static.
(group_cmp):
Put group 0 before other groups, not in the middle.
(indent_to, arg, struct pentry_state, print_header, comma, hol_entry_help,
hol_help, usage_argful_short_opt, usage_long_opt, hol_usage,
argp_args_usage, argp_doc, argp_help):
Use argp_fmtstream_t & associated functions instead of stdio streams.
"argp-namefrob.h":
New include.
"argp-fmtstream.h":
New include.
<linewrap.h>:
Include removd.
|
|
Use strrchr instead of rindex.
(argp_parse):
Use strchr instead of index, memset instead of bzero.
|
|
|