| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: svn://svn.eglibc.org/trunk@7923 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
| |
git-svn-id: svn://svn.eglibc.org/trunk@7757 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
|
|
|
|
|
|
| |
OPTION_EGLIBC_LOCALE_CODE.
* debug/Makefile (tests): Condition affected tests on
OPTION_EGLIBC_LOCALE_CODE.
* iconvdata/Makefile (tests): Same.
git-svn-id: svn://svn.eglibc.org/trunk@7542 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
| |
git-svn-id: svn://svn.eglibc.org/trunk@7311 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* aclocal.m4 (ACX_PKGVERSION, ACX_BUGURL): Define.
* configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
* configure: Regenerate.
* config.h.in (PKGVERSION, REPORT_BUGS_TO): Undefine.
* config.make.in (PKGVERSION, REPORT_BUGS_TO): Define.
* catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
(print_version): Use PKGVERSION.
* csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
* debug/Makefile ($(objpfx)catchsegv, $(objpfx)xtrace): Also
substitute PKGVERSION and REPORT_BUGS_TO.
* debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
* debug/pcprofiledump.c (print_version,
argp_program_version_hook): New.
(more_help): Use REPORT_BUGS_TO.
* debug/xtrace.sh: Use PKGVERSION and REPORT_BUGS_TO.
* elf/Makefile (common-ldd-rewrite): Also substitute PKGVERSION
and REPORT_BUGS_TO.
* elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
* elf/ldconfig.c (doc): Use REPORT_BUGS_TO.
(print_version): Use PKGVERSION.
* elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
* elf/sln.c (usage): New.
(main): Support --help and --version.
* elf/sprof.c (doc): Use REPORT_BUGS_TO.
(print_version): Use PKGVERSION.
* iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
(print_version): Use PKGVERSION.
* iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
(print_version): Use PKGVERSION.
* locale/programs/locale.c (doc): Use REPORT_BUGS_TO.
(print_version): Use PKGVERSION.
* locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
(print_version): Use PKGVERSION.
* login/programs/pt_chown.c
* malloc/Makefile ($(objpfx)mtrace, $(objpfx)memusage): Also
substitute PKGVERSION and REPORT_BUGS_TO.
* malloc/memusage.sh: Use PKGVERSION and REPORT_BUGS_TO.
* malloc/memusagestat.c (print_version,
argp_program_version_hook): New.
(more_help): Use REPORT_BUGS_TO.
* malloc/mtrace.pl: Use PKGVERSION and REPORT_BUGS_TO.
* manual/Makefile (libc.dvi, libc.pdf, libc.info,
libc/index.html): Depend on pkgvers.texi.
(pkgvers.texi, stamp-pkgvers): New.
* manual/install.texi: Adjust bug database description. Use
REPORT_BUGS_TO.
* manual/libc.texinfo: Include pkgvers.texi. Use PKGVERSION.
* nscd/nscd.c (doc): Use REPORT_BUGS_TO.
(print_version): Use PKGVERSION.
* nss/getent.c (doc): Use REPORT_BUGS_TO.
(print_version): Use PKGVERSION.
* nss/makedb.c (more_help): Use REPORT_BUGS_TO.
(print_version): Use PKGVERSION.
* posix/getconf.c (main): Send --version output to stdout. Use
PKGVERSION. Support --help.
* sunrpc/proto.h (REPORT_BUGS_TO, PKGVERSION): Define for
cross-rpcgen.
* sunrpc/rpc_main.c (usage, options_usage): Take STREAM and STATUS
arguments. All callers changed. Use REPORT_BUGS_TO
(print_version): New.
(parseargs): Support --help and --version.
* sunrpc/rpcinfo.c (usage): Take STREAM argument. All callers
changed. Use REPORT_BUGS_TO.
(print_version): New.
(main): Use getopt_long. Support --help and --version.
* sysdeps/unix/sysv/linux/lddlibc4.c (main): Support --help and
--version.
* timezone/Makefile: Use -DCROSS_ZIC for cross-zic.
($(objpfx)tzselect): Also substitute PKGVERSION and
REPORT_BUGS_TO.
* timezone/tzselect.ksh: Support --help and --version.
* timezone/zdump.c (usage): New.
(main): Use it. Support --help. Print program name and
PKGVERSION in --version output.
* timezone/zic.c (usage): Take STREAM and STATUS arguments. All
callers changed. Use REPORT_BUGS_TO.
(main): Support --help. Print program name and PKGVERSION in
--version output.
localedef:
* configure.ac: Support --with-pkgversion and --with-bugurl.
* configure, config.h.in: Regenerate.
git-svn-id: svn://svn.eglibc.org/trunk@7026 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
| |
git-svn-id: svn://svn.eglibc.org/trunk@5855 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
| |
git-svn-id: svn://svn.eglibc.org/trunk@5679 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
| |
git-svn-id: svn://svn.eglibc.org/trunk@5248 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sandra Loosemore <sandra@codesourcery.com>
Implement the OPTION_POSIX_C_LANG_WIDE_CHAR option group.
* option-groups.def (OPTION_POSIX_C_LANG_WIDE_CHAR): New entry.
(OPTION_EGLIBC_LOCALE_CODE, OPTION_POSIX_WIDE_CHAR_DEVICE_IO):
Note dependence on OPTION_POSIX_C_LANG_WIDE_CHAR.
(OPTION_POSIX_WIDE_CHAR_DEVICE_IO): Doc fix; note effect on
support for 'ccs=CHARSET' strings in fopen and friends.
* option-groups.mak (option-disabled): New function.
* scripts/option-groups.awk: Generate preprocessor conditionals to
protect gnu/option-groups.h from multiple #inclusion.
* stdlib/Makefile (routines): Put in group: mblen mbstowcs mbtowc
wcstombs wctomb wcstoimax wcstoumax.
(tests): Put in group: testmb.
* debug/Makefile (routines): Put in group: wctomb_chk wcscpy_chk
wmemcpy_chk wmemmove_chk wmempcpy_chk wcpcpy_chk wcsncpy_chk
wcscat_chk wcsncat_chk wmemset_chk wcpncpy_chk swprintf_chk
vswprintf_chk wcrtomb_chk mbsnrtowcs_chk wcsnrtombs_chk
mbsrtowcs_chk wcsrtombs_chk mbstowcs_chk wcstombs_chk.
* debug/tst-chk1.c (do_test): Make wide character parts conditional
on __OPTION_POSIX_WIDE_CHAR_DEVICE_IO.
* wcsmbs/Makefile (routines): Put in group: wcscat wcschr wcscmp
wcscpy wcscspn wcsdup wcslen wcsncat wcsncmp wcsncpy wcspbrk
wcsrchr wcsspn wcstok wcsstr wmemchr wmemcmp wmemmove wcpcpy
wcpncpy wmempcpy btowc wctob mbsinit mbrlen mbrtowc wcrtomb
mbsrtowcs wcsrtombs mbsnrtowcs wcsnrtombs wcsnlen wcschrnul wcstol
wcstoul wcstoll wcstoull wcstod wcstold wcstof wcstol_l wcstoul_l
wcstoll_l wcstoull_l wcstod_l wcstold_l wcstof_l wcscoll wcsxfrm
wcwidth wcswidth wcscoll_l wcsxfrm_l wcscasecmp wcsncase
wcscasecmp_l wcsncase_l wcsmbsload mbsrtowcs_l isoc99_swscanf
isoc99_vswscanf.
(tests): Put in group: tst-wcstof wcsmbs-tst1 tst-wcsnlen tst-wcpncpy
tst-mbsrtowcs wcsatcliff.
* time/Makefile (routines): Put in group: wcsftime wcsftime_l
* libio/Makefile (routines): When group is disabled, add
wdummyfileops. Put in group: wfiledoalloc iowpadn swprintf
vswprintf iovswscanf swscanf wgenops wstrops wfileops wmemstream.
(tests): Put in group: tst_swprintf tst_swscanf tst-sscanf
tst-wmemstream1 tst-wmemstream2.
* libio/wdummyfileops.c: New file. Provide a dummy definition for
the _IO_FILE functions that prints an error message and dies.
* libio/libioP.h: #include <gnu/option-groups.h>.
(_IO_is_wide): New macro. Used as necessary to excise references
to wide character code.
* libio/iosetbuffer.c (_IO_setbuffer): Don't call _IO_WSETBUF if
wide characters are not supported.
* libio/ioseekoff.c (_IO_seekoff_unlocked): Use _IO_is_wide.
* libio/iofwide.c: #include <gnu/option-groups.h>.
(_IO_fwide): When the group is disabled, provide a simplified
definition that aborts if the caller attempts to make a stream
wide-oriented.
* libio/fileops.c (_IO_new_file_close_it): Use _IO_is_wide.
(_IO_new_file_fopen): Conditionalize for
__OPTION_POSIX_WIDE_CHAR_DEVICE_IO.
* libio/ioseekpos.c (_IO_seekpos_unlocked): Use _IO_is_wide.
* libio/__fpurge.c (__fpurge): Likewise.
* wctype/Makefile (routines): Put in group: wcfuncs wctype
iswctype wcfuncs_l wctype_l iswctype_l wctrans_l.
(tests): Put in group: test_wctype test_wcfuncs.
* posix/fnmatch_loop.c (FCT) (either internal_fnmatch or
internal_fnwmatch): Handle character categories accessed via
'wctype' only if the group is enabled.
* stdio-common/Makefile (routines): Put in group: vfwprintf
vfwscanf printf-parsewc.
(tests): Put in group: bug18a tst-swscanf tst-wc-printf.
* stdio-common/printf_fp.c (__printf_fp): When the group is
disabled, fix 'wide' at zero.
* stdio-common/printf_fphex.c (__printf_fphex): Same.
* stdio-common/printf_size.c (__printf_size): Same.
* stdio-common/vfprintf.c (MULTIBYTE_SUPPORT): New macro.
(process_string_arg): If the format contains wide characters or
strings, assert that we have multibyte support.
* stdio-common/vfscanf.c (MULTIBYTE_SUPPORT): New macro.
(_IO_vfscanf_internal): If we see wide string or character format
directives, assert that we have multibyte support.
* stdio-common/scanf14.c (main): Make conditional on
__OPTION_EGLIBC_LOCALE_CODE.
* stdio-common/tst-sprintf.c (main): Make wide character test
conditional on __OPTION_POSIX_C_LANG_WIDE_CHAR.
* stdio-common/tstdiomisc.c (F): Likewise.
git-svn-id: svn://svn.eglibc.org/trunk@4526 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* debug/tst-chk1.c: Omit locale tests when group is disabled.
* intl/Makefile (tests): Put tst-translit, tst-gettext2,
tst-codeset, and tst-gettext3 in the group.
* libio/Makefile (tests): Put tst-fgetws, tst-fopenloc,
tst-setvbuf1, tst-ungetwc1, tst-ungetwc2, bug-ftell, bug-ungetwc2,
tst-widetext, and tst-fopenloc in the group; some were formerly in
OPTION_POSIX_WIDE_CHAR_DEVICE_IO.
* nptl/Makefile (tests): Put tst-locale1 in the group.
* posix/Makefile (tests): Put bug-regex17, bug-regex18,
bug-regex20, bug-regex23, and bug-regex26 in the group.
(tst-rxspencer): Pass --utf8 only when the group is enabled.
* posix/bug-regex6.c: Omit non-C locale tests when group is disabled.
* stdio-common/Makefile (tests): Put bug14 and scanf13 in the group.
* stdlib/Makefile (tests): Put tst-strtod4, tst-strtod5, and
testmb2 in the group.
* stdlib/tst-strtod.c: Omit locale tests when group is disabled.
* string/tst-strxfrm.c, string/tst-strxfrm2.c: Same.
* time/Makefile (tests): Put tst-ftime_l in the group.
Fix code broken by OPTION_EGLIBC_LOCALE_CODE.
* posix/regex_internal.h: #include <gnu/option-groups.h>.
(string_mb_cur_max, dfa_mb_cur_max): New macros for accessing the
'mb_cur_max' fields of re_string_t and re_dfa_t, whose values can
be constant when the group is disabled. Use them throughout.
* posix/regex_internal.c: Use string_mb_cur_max and dfa_mb_cur_max
as appropriate.
* posix/regcomp.c: Same.
(re_compile_fastmap_iter): Process COMPLEX_BRACKET nodes only when
the group is enabled.
(init_dfa): When the group is disabled, clear map_notascii.
(parse_bracket_exp): Process MB_CHAR elements only when the group
is enabled. Otherwise, fix 'nrules' at zero, for the compiler's
benefit, and assume the collation sequence is the identity.
(parse_bracket_element): Create MB_CHAR elements only when the
group is enabled.
(build_equiv_class): When the group is disabled, we know there
will be no collation rules.
(build_charclass): When the group is disabled, do not try to
process references to wide character categories accessed via
'wctype'.
* posix/regexec.c: Use string_mb_cur_max and dfa_mb_cur_max
as appropriate.
(find_collation_sequence_value): Define function only when the
group is enabled.
(check_node_accept_bytes): Check character against 'wctype' style
classes only if group is enabled. When the group is disabled,
Skip collation-rule-based matching.
* posix/fnmatch.c: #include <gnu/option-groups.h>.
Define HANDLE_MULTIBYTE only if when OPTION_EGLIBC_LOCALE_CODE is
enabled.
* posix/fnmatch_loop.c (FCT (internal_fnmatch or internal_fnwmatch)):
If the group is disabled, assume that the collation sequence is
the identity.
* stdio-common/_i18n_number.h (_i18n_number_rewrite): Provide only
a trivial definition when the group is disabled.
* stdio-common/vfprintf.c: #include <gnu/option-groups.h>.
(LOCALE_SUPPORT): Define.
(vfprintf): Consult it as appropriate.
* stdio-common/vfscanf.c: #include <gnu/option-groups.h>.
(_IO_vfwscanf): If the group is disabled, don't try to consult the
locale for decimal point and thousands separator characters, or
for custom digits.
* stdlib/strtod_l.c (__STRTOF_INTERNAL): Don't try to consult the
locale's numeric settings.
* string/strxfrm_l.c, string/strcoll_l.c: Don't try to consult the
locale's collation settings.
git-svn-id: svn://svn.eglibc.org/trunk@4501 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
header.
* scripts/option-groups.awk: New script, to generate it.
* debug/Makefile (CFLAGS-segfault.c): Don't define option group
symbols here.
* wcsmbs/Makefile (CFLAGS-wcsmbsload.c): Same.
* time/Makefile (CFLAGS-strftime_l.c, CFLAGS-strptime_l.c): Same.
* intl/Makefile (CFLAGS-dcigettext.c): Same.
* sysdeps/unix/sysv/linux/Makefile (CFLAGS-gethostid.c)
(CFLAGS-libc_fatal.c): Same.
* misc/Makefile (CFLAGS-error.c, CFLAGS-err.c): Same.
* nss/Makefile (CFLAGS-nsswitch.c, CFLAGS-getnssent_r.c)
(CFLAGS-getent.c): Same.
* string/Makefile (CFLAGS-strerror_l.c): Same.
* iconv/Makefile (CFLAGS-gconv_db.c, CFLAGS-gconv_trans.c)
(CFLAGS-iconv_prog.c): Same.
* locale/Makefile (CFLAGS-C-ctype.c, CFLAGS-xlocale.c)
(CFLAGS-ld-messages.c): Same.
* argp/Makefile (CFLAGS-argp-help.c, CFLAGS-argp-fmtstream.c): Same.
* nptl/Makefile (CFLAGS-pthread_create.c): Same.
* posix/Makefile (CFLAGS-glob.c, CFLAGS-bug-regex1.c): Same.
* stdio-common/Makefile (CFLAGS-printf_fp.c)
(CFLAGS-printf_fphex.c, CFLAGS-fxprintf.c, CFLAGS-tst-popen.c): Same.
* libidn/Makefile (CFLAGS-toutf8.c): Same.
* debug/segfault.c, wcsmbs/wcsmbsload.c, time/strftime_l.c:
* time/strptime_l.c, intl/dcigettext.c:
* sysdeps/unix/sysv/linux/libc_fatal.c:
* sysdeps/unix/sysv/linux/gethostid.c, misc/err.c, misc/error.c:
* nss/getnssent_r.c, nss/nsswitch.c, nss/getent.c:
* string/strerror_l.c, iconv/gconv_db.c, iconv/iconv_prog.c:
* iconv/gconv_trans.c, locale/xlocale.c, locale/C-ctype.c:
* locale/programs/ld-messages.c, argp/argp-help.c:
* argp/argp-fmtstream.c, nptl/pthread_create.c, posix/glob.c:
* posix/bug-regex1.c, stdio-common/printf_fp.c:
* stdio-common/printf_fphex.c, stdio-common/tst-popen.c:
* stdio-common/fxprintf.c, libidn/toutf8.c: #include
<gnu/option-groups.h>, and test for the symbols that #defines,
instead.
git-svn-id: svn://svn.eglibc.org/trunk@4026 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* option-groups.def (OPTION_EGLIBC_CXX_TESTS): New entry.
* option-groups.defaults (OPTION_EGLIBC_CXX_TESTS):
Initialize.
* debug/Makefile (tests): Put tst-chk4, tst-chk5, tst-chk6,
tst-lfschk4, tst-lfschk5, and tst-lfschk6 in the group.
* dlfcn/Makefile: Include option-groups.mak.
(tests): Put bug-atexit3 in the group.
* nptl/Makefile (tests): Put tst-cancel24 in the group.
Implement the OPTION_POSIX_WIDE_CHAR_DEVICE_IO option group.
* option-groups.def (OPTION_POSIX_WIDE_CHAR_DEVICE_IO): New entry.
* option-groups.defaults (OPTION_POSIX_WIDE_CHAR_DEVICE_IO):
Initialize.
* argp/Makefile (CFLAGS-argp-help.c, CFLAGS-argp-fmtstream.c):
Define OPTION_POSIX_WIDE_CHAR_DEVICE_IO as appropriate.
* argp/argp-help.c (__argp_failure): Support the wide character
case only if OPTION_POSIX_WIDE_CHAR_DEVICE_IO is #defined.
* argp/argp-fmtstream.c (__argp_fmtstream_update): Same.
* debug/Makefile (routines): Put wprintf_chk, fwprintf_chk,
vwprintf_chk, vfwprintf_chk, fgetws_chk, and fgetws_u_chk in the
group.
* libio/Makefile: Include ../option-groups.mak.
(routines): Put in the group: fputwc, fputwc_u, getwc, getwc_u,
getwchar, getwchar_u, iofgetws, iofgetws_u, iofputws, iofputws_u,
iogetwline, ioungetwc, putwc, putwc_u, putwchar, putwchar_u,
fwprintf, swprintf, vwprintf, wprintf, wscanf, fwscanf, vwscanf,
and fwide.
(tests): Put in the group: bug-ftell, bug-rewind, bug-rewind2,
bug-ungetwc1, bug-ungetwc2, bug-wfflush, bug-wmemstream1,
tst-fgetws, tst-fopenloc, tst-fopenloc2, tst-setvbuf1,
tst-ungetwc1, tst-ungetwc2, tst-widetext, tst_getwc, tst_putwc,
tst_wprintf, tst_wprintf2, tst_wscanf, and test-freopen.
* localedata/Makefile (tests): Put tst-wctype in the group.
* misc/Makefile (CFLAGS-error.c, CFLAGS-err.c): Define
OPTION_POSIX_WIDE_CHAR_DEVICE_IO as appropriate.
(tests): Put tst-error1 in the group.
* misc/err.c (convert_and_print): Define only if
OPTION_POSIX_WIDE_CHAR_DEVICE_IO is #defined.
(vwarnx, vwarn): Support the wide character case only if
OPTION_POSIX_WIDE_CHAR_DEVICE_IO is #defined.
* misc/error.c (error_tail): Same.
* posix/Makefile (CFLAGS-bug-regex1.c): Define
OPTION_POSIX_WIDE_CHAR_DEVICE_IO as appropriate.
* posix/bug-regex1.c (main): Call fwide only if the group is enabled.
* stdio-common/Makefile: (routines): Put vfwprintf and vfwscanf in
the group.
(tests): Put tst-perror and bug19a in the group.
(CFLAGS-fxprintf.c, CFLAGS-tst-popen.c): Define
OPTION_POSIX_WIDE_CHAR_DEVICE_IO as appropriate.
* stdio-common/fxprintf.c (__fxprintf): Support the wide character
case only if OPTION_POSIX_WIDE_CHAR_DEVICE_IO is #defined.
* stdio-common/tst-perror.c (main): Test wide character case only
if group is enabled.
* stdio-common/tst-popen.c (main): Check the stream's orientation
only if the group is enabled.
* time/Makefile (tests): Put tst_wcsftime in the group.
* wcsmbs/Makefile (routines): Put isoc99_wscanf, isoc99_vwscanf,
isoc99_fwscanf, isoc99_vfwscanf, isoc99_swscanf, and
isoc99_vswscanf in the group.
git-svn-id: svn://svn.eglibc.org/trunk@3830 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
| |
git-svn-id: svn://svn.eglibc.org/trunk@3747 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
| |
git-svn-id: svn://svn.eglibc.org/trunk@3615 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* option-groups.def (OPTION_EGLIBC_BACKTRACE): New entry.
* option-groups.defaults (OPTION_EGLIBC_BACKTRACE): Initialize.
* debug/Makefile (routines): Put all backtrace, backtracesyms, and
backtracesymsfd in the group.
(tests): Put backtrace-tst in the group.
(CFLAGS-segfault.c): Define OPTION_EGLIBC_BACKTRACE as
appropriate.
* debug/segfault.c (catch_segfault): Only produce a backtrace when
the group is enabled.
* sysdeps/unix/sysv/linux/Makefile (CFLAGS-libc_fatal.c): Define
OPTION_EGLIBC_BACKTRACE as appropriate.
* sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Don't
print a backtrace if the group is not enabled.
* nptl/Makefile (tests): Put tst-backtrace1 in the option group.
git-svn-id: svn://svn.eglibc.org/trunk@3562 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
| |
git-svn-id: svn://svn.eglibc.org/trunk@3468 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OPTION_EGLIBC_GETLOGIN option groups.
* option-groups.def (OPTION_EGLIBC_UTMP, OPTION_EGLIBC_UTMPX)
(OPTION_EGLIBC_GETLOGIN): New entry.
* option-groups.defaults (OPTION_EGLIBC_UTMP, OPTION_EGLIBC_UTMPX)
(OPTION_EGLIBC_GETLOGIN): Initialize.
* Makerules (sysdep_routines): Include value of sysdep_routines-y.
* debug/Makefile: Include option-groups.mak.
(routines): Put getlogin_r_chk in the OPTION_EGLIBC_GETLOGIN group.
* sysdeps/gnu/Makefile (sysdep_routines): For the login
subdirectory, put setutxent, getutxent, endutxent, getutxid,
getutxline, pututxline, utmpxname, updwtmpx, getutmpx, and getutmp
in the OPTION_EGLIBC_UTMPX group.
* login/Makefile: Include option-groups.mak.
(routines): Put getutent, getutent_r, getutid, getutline,
getutid_r, getutline_r, utmp_file, utmpname, and updwtmp in the
OPTION_EGLIBC_UTMP option group.
(others): Put utmpdump in the OPTION_EGLIBC_UTMP group.
(extra-libs): Put libutil in the OPTION_EGLIBC_UTMP group.
(extra-libs-others): Initialize from $(extra-libs-y).
* posix/glob.c (glob): If OPTION_EGLIBC_GETLOGIN is not defined,
don't try to call getlogin to find the username to use for tilde
expansion.
* posix/Makefile (routines): Put getlogin and getlogin_r in the
OPTION_EGLIBC_GETLOGIN group.
(CFLAGS-glob.c): Define OPTION_EGLIBC_GETLOGIN as appropriate.
git-svn-id: svn://svn.eglibc.org/trunk@3185 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
| |
git-svn-id: svn://svn.eglibc.org/trunk@2394 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
| |
git-svn-id: svn://svn.eglibc.org/trunk@1749 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
|
|
| |
git-svn-id: svn://svn.eglibc.org/trunk@1148 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|
|
git-svn-id: svn://svn.eglibc.org/fsf/trunk@4 7b3dc134-2b1b-0410-93df-9e9f96275f8d
|