diff options
| -rw-r--r-- | ChangeLog | 77 | ||||
| -rw-r--r-- | elf/dl-support.c | 16 | ||||
| -rw-r--r-- | io/ftw.c | 21 | ||||
| -rw-r--r-- | localedata/locales/cs_CZ | 810 | ||||
| -rw-r--r-- | localedata/locales/hr_HR | 91 | ||||
| -rw-r--r-- | login/Makefile | 9 | ||||
| -rw-r--r-- | login/programs/connection.c (renamed from login/utmpd/connection.c) | 0 | ||||
| -rw-r--r-- | login/programs/database.c (renamed from login/utmpd/database.c) | 0 | ||||
| -rw-r--r-- | login/programs/error.c (renamed from login/utmpd/error.c) | 0 | ||||
| -rw-r--r-- | login/programs/request.c (renamed from login/utmpd/request.c) | 0 | ||||
| -rw-r--r-- | login/programs/utmpd-private.h (renamed from login/utmpd/utmpd-private.h) | 0 | ||||
| -rw-r--r-- | login/programs/utmpd.c (renamed from login/utmpd/utmpd.c) | 0 | ||||
| -rw-r--r-- | login/programs/utmpd.h (renamed from login/utmpd/utmpd.h) | 0 | ||||
| -rw-r--r-- | login/programs/utmpdump.c (renamed from login/utmpdump.c) | 0 | ||||
| -rw-r--r-- | login/programs/xtmp.c (renamed from login/utmpd/xtmp.c) | 0 | ||||
| -rw-r--r-- | login/programs/xtmp.h (renamed from login/utmpd/xtmp.h) | 0 | ||||
| -rw-r--r-- | manual/intro.texi | 51 | ||||
| -rw-r--r-- | manual/string.texi | 225 | ||||
| -rw-r--r-- | md5-crypt/Makefile | 6 | ||||
| -rw-r--r-- | md5-crypt/md5-crypt.c | 18 | ||||
| -rw-r--r-- | md5-crypt/md5.c | 30 | ||||
| -rw-r--r-- | md5-crypt/md5.h | 19 | ||||
| -rw-r--r-- | md5-crypt/onlymd5-entry.c | 1 | ||||
| -rw-r--r-- | nss/nss_files/files-hosts.c | 1 | ||||
| -rw-r--r-- | posix/unistd.h | 2 | ||||
| -rw-r--r-- | stdlib/fmtmsg.h | 2 | ||||
| -rw-r--r-- | sunrpc/rpc_scan.c | 4 | ||||
| -rw-r--r-- | sunrpc/rpc_util.c | 4 | ||||
| -rw-r--r-- | sysdeps/generic/bb_init_func.c | 3 | ||||
| -rw-r--r-- | sysdeps/generic/crypt-entry.c | 14 | ||||
| -rw-r--r-- | sysdeps/unix/syscalls.list | 2 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/alpha/gnu/types.h | 2 | ||||
| -rw-r--r-- | sysdeps/wordsize-32/inttypes.h | 19 | ||||
| -rw-r--r-- | sysdeps/wordsize-64/inttypes.h | 35 | ||||
| -rw-r--r-- | time/Makefile | 2 |
35 files changed, 1338 insertions, 126 deletions
@@ -1,3 +1,80 @@ +1997-06-03 23:42 Ulrich Drepper <drepper@cygnus.com> + + * elf/dl-support.c: Define and initialize _dl_verbose used in + dl-machine.h. + + * io/ftw.c: Expand stat/lstat calls. + + * manual/intro.texi: Also refer to ISO 9945. + Update info about SVID. + Add description for XPG. + + * md5-crypt/md5-crypt.c: Namespace cleanups. + * md5-crypt/md5.c: Likewise. + * md5-crypt/md5.h: Likewise. + * sysdeps/generic/crypt-entry.c: Likewise. + + * posix/unistd.h (_POSIX2_C_VERSION): Set to 199209L. + + * stdlib/fmtmsg.h: Declare addseverity only if __USE_SVID is + defined. + + * sunrpc/rpc_scan.c (findkind): Declare `token' as const. + * sunrpc/rpc_util.c (toktostr): Declare `token' as const. + + * time/Makefile: Make tzselect dependen of config.make. + +1997-06-01 15:01 Miles Bader <miles@gnu.ai.mit.edu> + + * manual/string.texi (String and Array Utilities): Add `Argz and + Envz Vectors' to the menu. + (Argz and Envz Vectors, Argz Functions, Envz Functions): New nodes. + +1997-05-31 20:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * login/Makefile (utmpd-routines): Add utmpd. + (extra-objs): Add utmpd objects to get dependencies. + (distribute): Add sources for utmpd. + (subdir-dirs): Define. + +1997-06-02 16:28 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/wordsize-32/inttypes.h: Include features.h and use + __CONCAT instead of defined __CONCAT__ ourself. + * sysdeps/wordsize-64/inttypes.h: Likewise. + +1997-06-01 19:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/wordsize-64/inttypes.h (INTMAX_C): Use `l' suffix, not + `ll'. + (PRIdFAST, PRIoFAST, PRIxFAST, PRIuFAST, SCNdFAST, SCNiFAST, + SCNoFAST, SCNxFAST): Correct format specifiers. + +1997-06-02 04:23 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/syscalls.list: Make fchdir weak alias for __fchdir. + +1997-06-01 19:17 Ulrich Drepper <drepper@cygnus.com> + + * md5-crypt/Makefile: Correct libmd5crypt file to really generate + DES free libcrypt. + * md5-crypt/onlymd5-entry.c: New file. Wrapper around + sysdeps/generic/crypt-entry.c. + +1997-06-01 12:48 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change + type to `unsigned long int'. + Patch by Richard Henderson <richard@twiddle.rth.home>. + +1997-05-30 17:34 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdeps/generic/bb_init_func.c (__bb_init_func): Use ISO C + declaration style. + + * nss/nss_files/files-hosts.c: Delete inclusion of + "../resolv/mapv4v6hostent.h". + 1997-05-31 02:33 Ulrich Drepper <drepper@cygnus.com> * io/ftwtest-sh: More tests. diff --git a/elf/dl-support.c b/elf/dl-support.c index e59b84727e..21cd13e5cf 100644 --- a/elf/dl-support.c +++ b/elf/dl-support.c @@ -20,9 +20,25 @@ /* This file defines some things that for the dynamic linker are defined in rtld.c and dl-sysdep.c in ways appropriate to bootstrap dynamic linking. */ +#include <stdlib.h> + + extern char *__progname; char **_dl_argv = &__progname; /* This is checked for some error messages. */ /* This defines the default search path for libraries. For the dynamic linker it is set by -rpath when linking. */ const char *_dl_rpath = DEFAULT_RPATH; + +/* If nonzero print warnings about problematic situations. */ +int _dl_verbose; + + +static void init_verbose (void) __attribute__ ((unused)); + +static void +init_verbose (void) +{ + _dl_verbose = *(getenv ("LD_WARN") ?: "") == '\0' ? 0 : 1; +} +text_set_element (__libc_subinit, init_verbose); @@ -243,12 +243,14 @@ process_entry (struct ftw_data *data, struct dir_data *dir, const char *name, memcpy (data->dirbuf + data->ftw.base, name, namlen); data->dirbuf[data->ftw.base + namlen] = '\0'; - if (((data->flags & FTW_PHYS) ? lstat : stat) (data->dirbuf, &st) < 0) + if (((data->flags & FTW_PHYS) + ? __lxstat (_STAT_VER, data->dirbuf, &st) + : __xstat (_STAT_VER, data->dirbuf, &st)) < 0) { if (errno != EACCES && errno != ENOENT) result = -1; else if (!(data->flags & FTW_PHYS) - && lstat (data->dirbuf, &st) == 0 + && __lxstat (_STAT_VER, data->dirbuf, &st) == 0 && S_ISLNK (st.st_mode)) flag = FTW_SLN; else @@ -265,8 +267,8 @@ process_entry (struct ftw_data *data, struct dir_data *dir, const char *name, } if (result == 0 - && (!(data->flags & FTW_MOUNT) || flag == FTW_NS - || st.st_dev == data->dev)) + && (flag == FTW_NS + || !(data->flags & FTW_MOUNT) || st.st_dev == data->dev)) { if ((data->flags & FTW_PHYS) || flag == FTW_NS || (!find_object (data, &st) @@ -282,7 +284,7 @@ process_entry (struct ftw_data *data, struct dir_data *dir, const char *name, /* Change back to current directory. */ int done = 0; if (dir->stream != NULL) - if (fchdir (dirfd (dir->stream)) == 0) + if (__fchdir (dirfd (dir->stream)) == 0) done = 1; if (!done) @@ -347,7 +349,7 @@ ftw_dir (struct ftw_data *data, struct stat *st) /* If necessary, change to this directory. */ if (data->flags & FTW_CHDIR) { - if (fchdir (dirfd (dir.stream)) < 0) + if (__fchdir (dirfd (dir.stream)) < 0) { if (errno == ENOSYS) { @@ -521,13 +523,16 @@ ftw_startup (const char *dir, int is_nftw, void *func, int descriptors, /* Get stat info for start directory. */ if (result == 0) - if (((flags & FTW_PHYS) ? lstat : stat) (data.dirbuf, &st) < 0) + if (((flags & FTW_PHYS) + ? __lxstat (_STAT_VER, data.dirbuf, &st) + : __xstat (_STAT_VER, data.dirbuf, &st)) < 0) { if (errno == EACCES) result = (*data.func) (data.dirbuf, &st, FTW_NS, &data.ftw); else if (!(flags & FTW_PHYS) && errno == ENOENT - && lstat (dir, &st) == 0 && S_ISLNK (st.st_mode)) + && __lxstat (_STAT_VER, dir, &st) == 0 + && S_ISLNK (st.st_mode)) result = (*data.func) (data.dirbuf, &st, data.cvt_arr[FTW_SLN], &data.ftw); else diff --git a/localedata/locales/cs_CZ b/localedata/locales/cs_CZ new file mode 100644 index 0000000000..ba159570d8 --- /dev/null +++ b/localedata/locales/cs_CZ @@ -0,0 +1,810 @@ +escape_char / +comment_char % +% +% Czech Language Locale for Czech +% Source: +% Address: U školy 292 Without diactitical chars: U skoly 292 +% 783 72 Velký Týnec 782 72 Velky Tynec +% Contact: Vladimir Michl +% Email: Vladimir.Michl@upol.cz +% Tel: +% Fax: +% Language: cs +% Territory: CZ +% Revision: 1.01 +% Date: 1997-01-17 +% Application: general +% Users: general +% Repertoiremap: mnemonic.ds +% Charset: ISO_8859-2:1987 +% Distribution and use is free, also +% for commercial purposes. + +% zpracování: +%% localedef -c -i <tento-soubor> -f "ISO_8859-2:1987" 'cs_CZ.ISO-8859-2' +%% pokud se podaří odstranit chyby, lze -c vynechat. + +%% pro úspěšné přeložení je třeba mít kolekci lokalizací WG15collection. +%% Tuto rozbalit do adresáře +%% /usr/share/i18n +%% Lokalizace se pak budou tvořit v adresáři /usr/share/locale + +%% Také je dobré do souboru /usr/share/locale/locale.alias napsat tyto řádky +%% cz cs_CZ.ISO88592 +%% cs cs_CZ.ISO88592 +%% czech cs_CZ.ISO88592 + + +%% Pořadí znaků +%% Možná jsou některé akcentované znaky jinak než by měly být, +%% zkuste zkontrolovat a případné vylepšení mi poslat. +%% ---------------------------------------------------------- + +LC_COLLATE +% Definice písmene ch +collating-element <c-h> from "<c><h>" +collating-element <C-h> from "<C><h>" +collating-element <C-H> from "<C><H>" + +collating-symbol <CAPITAL> +collating-symbol <SMALL> + +collating-symbol <NONE> +collating-symbol <ACUTE> +%collating-symbol <GRAVE> +%collating-symbol <DOUBLE-GRAVE> +collating-symbol <BREVE> +collating-symbol <CIRCUMFLEX> +collating-symbol <CARON> +collating-symbol <RING> +collating-symbol <DIAERESIS> +collating-symbol <DOUBLE-ACUTE> +%collating-symbol <TILDE> +collating-symbol <DOT> +collating-symbol <STROKE> +collating-symbol <CEDILLA> +collating-symbol <OGONEK> + +order_start forward;backward/ + ;forward;position + +<CAPITAL> +<SMALL> + +<NONE> +<ACUTE> +<CARON> +<RING> +%<GRAVE> +%<DOUBLE-GRAVE> +<BREVE> +<CIRCUMFLEX> +<DIAERESIS> +<DOUBLE-ACUTE> +%<TILDE> +<DOT> +<STROKE> +<CEDILLA> +<OGONEK> + +% +<NS> <NS>;<NS>;<NS>;IGNORE +<SP> IGNORE;IGNORE;IGNORE;<SP> +<HT> IGNORE;IGNORE;IGNORE;<HT> +<VT> IGNORE;IGNORE;IGNORE;<VT> +<CR> IGNORE;IGNORE;IGNORE;<CR> +<LF> IGNORE;IGNORE;IGNORE;<LF> +<FF> IGNORE;IGNORE;IGNORE;<FF> +<_> IGNORE;IGNORE;IGNORE;<_> +<--> IGNORE;IGNORE;IGNORE;<--> +<-> IGNORE;IGNORE;IGNORE;<-> +<,> IGNORE;IGNORE;IGNORE;<,> +<;> IGNORE;IGNORE;IGNORE;<;> +<:> IGNORE;IGNORE;IGNORE;<:> +<!> IGNORE;IGNORE;IGNORE;<!> +<?> IGNORE;IGNORE;IGNORE;<?> +<//> IGNORE;IGNORE;IGNORE;<//> +<.> IGNORE;IGNORE;IGNORE;<.> +<''> IGNORE;IGNORE;IGNORE;<''> +<'!> IGNORE;IGNORE;IGNORE;<'!> +<'/>> IGNORE;IGNORE;IGNORE;<'/>> +<':> IGNORE;IGNORE;IGNORE;<':> +<'?> IGNORE;IGNORE;IGNORE;<'?> +<',> IGNORE;IGNORE;IGNORE;<',> +<'> IGNORE;IGNORE;IGNORE;<'> +<"> IGNORE;IGNORE;IGNORE;<"> +<(> IGNORE;IGNORE;IGNORE;<(> +<)> IGNORE;IGNORE;IGNORE;<)> +<<(> IGNORE;IGNORE;IGNORE;<<(> +<)/>> IGNORE;IGNORE;IGNORE;<)/>> +<(!> IGNORE;IGNORE;IGNORE;<(!> +<!)> IGNORE;IGNORE;IGNORE;<!)> +<SE> IGNORE;IGNORE;IGNORE;<SE> +<At> IGNORE;IGNORE;IGNORE;<At> +<Cu> IGNORE;IGNORE;IGNORE;<Cu> +<DO> IGNORE;IGNORE;IGNORE;<DO> +<*> IGNORE;IGNORE;IGNORE;<*> +<////> IGNORE;IGNORE;IGNORE;<////> +<&> IGNORE;IGNORE;IGNORE;<&> +<Nb> IGNORE;IGNORE;IGNORE;<Nb> +<%> IGNORE;IGNORE;IGNORE;<%> +<+> IGNORE;IGNORE;IGNORE;<+> +<-:> IGNORE;IGNORE;IGNORE;<-:> +<*X> IGNORE;IGNORE;IGNORE;<*X> +<<> IGNORE;IGNORE;IGNORE;<<> +<=> IGNORE;IGNORE;IGNORE;<=> +</>> IGNORE;IGNORE;IGNORE;</>> +<!!> IGNORE;IGNORE;IGNORE;<!!> +<DG> IGNORE;IGNORE;IGNORE;<DG> +<'<> IGNORE;IGNORE;IGNORE;<'<> +<'(> IGNORE;IGNORE;IGNORE;<'(> +<'.> IGNORE;IGNORE;IGNORE;<'.> +<'0> IGNORE;IGNORE;IGNORE;<'0> +<';> IGNORE;IGNORE;IGNORE;<';> +<'"> IGNORE;IGNORE;IGNORE;<'"> +<NU> IGNORE;IGNORE;IGNORE;<NU> +<SH> IGNORE;IGNORE;IGNORE;<SH> +<SX> IGNORE;IGNORE;IGNORE;<SX> +<EX> IGNORE;IGNORE;IGNORE;<EX> +<ET> IGNORE;IGNORE;IGNORE;<ET> +<EQ> IGNORE;IGNORE;IGNORE;<EQ> +<AK> IGNORE;IGNORE;IGNORE;<AK> +<BL> IGNORE;IGNORE;IGNORE;<BL> +<BS> IGNORE;IGNORE;IGNORE;<BS> +<SO> IGNORE;IGNORE;IGNORE;<SO> +<SI> IGNORE;IGNORE;IGNORE;<SI> +<DL> IGNORE;IGNORE;IGNORE;<DL> +<D1> IGNORE;IGNORE;IGNORE;<D1> +<D2> IGNORE;IGNORE;IGNORE;<D2> +<D3> IGNORE;IGNORE;IGNORE;<D3> +<D4> IGNORE;IGNORE;IGNORE;<D4> +<NK> IGNORE;IGNORE;IGNORE;<NK> +<SY> IGNORE;IGNORE;IGNORE;<SY> +<EB> IGNORE;IGNORE;IGNORE;<EB> +<CN> IGNORE;IGNORE;IGNORE;<CN> +<EM> IGNORE;IGNORE;IGNORE;<EM> +<SB> IGNORE;IGNORE;IGNORE;<SB> +<EC> IGNORE;IGNORE;IGNORE;<EC> +<FS> IGNORE;IGNORE;IGNORE;<FS> +<GS> IGNORE;IGNORE;IGNORE;<GS> +<RS> IGNORE;IGNORE;IGNORE;<RS> +<US> IGNORE;IGNORE;IGNORE;<US> +<DT> IGNORE;IGNORE;IGNORE;<DT> +<PA> IGNORE;IGNORE;IGNORE;<PA> +<HO> IGNORE;IGNORE;IGNORE;<HO> +<BH> IGNORE;IGNORE;IGNORE;<BH> +<NH> IGNORE;IGNORE;IGNORE;<NH> +<IN> IGNORE;IGNORE;IGNORE;<IN> +<NL> IGNORE;IGNORE;IGNORE;<NL> +<SA> IGNORE;IGNORE;IGNORE;<SA> +<ES> IGNORE;IGNORE;IGNORE;<ES> +<HS> IGNORE;IGNORE;IGNORE;<HS> +<HJ> IGNORE;IGNORE;IGNORE;<HJ> +<VS> IGNORE;IGNORE;IGNORE;<VS> +<PD> IGNORE;IGNORE;IGNORE;<PD> +<PU> IGNORE;IGNORE;IGNORE;<PU> +<RI> IGNORE;IGNORE;IGNORE;<RI> +<S2> IGNORE;IGNORE;IGNORE;<S2> +<S3> IGNORE;IGNORE;IGNORE;<S3> +<DC> IGNORE;IGNORE;IGNORE;<DC> +<P1> IGNORE;IGNORE;IGNORE;<P1> +<P2> IGNORE;IGNORE;IGNORE;<P2> +<TS> IGNORE;IGNORE;IGNORE;<TS> +<CC> IGNORE;IGNORE;IGNORE;<CC> +<MW> IGNORE;IGNORE;IGNORE;<MW> +<SG> IGNORE;IGNORE;IGNORE;<SG> +<EG> IGNORE;IGNORE;IGNORE;<EG> +<SS> IGNORE;IGNORE;IGNORE;<SS> +<GC> IGNORE;IGNORE;IGNORE;<GC> +<SC> IGNORE;IGNORE;IGNORE;<SC> +<CI> IGNORE;IGNORE;IGNORE;<CI> +<ST> IGNORE;IGNORE;IGNORE;<ST> +<OC> IGNORE;IGNORE;IGNORE;<OC> +<PM> IGNORE;IGNORE;IGNORE;<PM> +<AC> IGNORE;IGNORE;IGNORE;<AC> +UNDEFINED IGNORE;IGNORE;IGNORE + +<0> <0>;<0>;IGNORE;IGNORE +<1> <1>;<1>;IGNORE;IGNORE +<2> <2>;<2>;IGNORE;IGNORE +<3> <3>;<3>;IGNORE;IGNORE +<4> <4>;<4>;IGNORE;IGNORE +<5> <5>;<5>;IGNORE;IGNORE +<6> <6>;<6>;IGNORE;IGNORE +<7> <7>;<7>;IGNORE;IGNORE +<8> <8>;<8>;IGNORE;IGNORE +<9> <9>;<9>;IGNORE;IGNORE + +<A> <A>;<NONE>;<CAPITAL>;IGNORE +<a> <A>;<NONE>;<SMALL>;IGNORE +<A'> <A>;<ACUTE>;<CAPITAL>;IGNORE +<a'> <A>;<ACUTE>;<SMALL>;IGNORE +<A(> <A>;<BREVE>;<CAPITAL>;IGNORE +<a(> <A>;<BREVE>;<SMALL>;IGNORE +<A/>> <A>;<CIRCUMFLEX>;<CAPITAL>;IGNORE +<a/>> <A>;<CIRCUMFLEX>;<SMALL>;IGNORE +<A:> <A>;<DIAERESIS>;<CAPITAL>;IGNORE +<a:> <A>;<DIAERESIS>;<SMALL>;IGNORE +<A;> <A>;<OGONEK>;<CAPITAL>;IGNORE +<a;> <A>;<OGONEK>;<SMALL>;IGNORE + +<B> <B>;<NONE>;<CAPITAL>;IGNORE +<b> <B>;<NONE>;<SMALL>;IGNORE + +<C> <C>;<NONE>;<CAPITAL>;IGNORE +<c> <C>;<NONE>;<SMALL>;IGNORE +<C<> <C>;<CARON>;<CAPITAL>;IGNORE +<c<> <C>;<CARON>;<SMALL>;IGNORE +<C'> <C>;<ACUTE>;<CAPITAL>;IGNORE +<c'> <C>;<ACUTE>;<SMALL>;IGNORE +<C,> <C>;<CEDILLA>;<CAPITAL>;IGNORE +<c,> <C>;<CEDILLA>;<SMALL>;IGNORE + +<D> <D>;<NONE>;<CAPITAL>;IGNORE +<d> <D>;<NONE>;<SMALL>;IGNORE +<D<> <D>;<CARON>;<CAPITAL>;IGNORE +<d<> <D>;<CARON>;<SMALL>;IGNORE +<D//> <D>;<STROKE>;<CAPITAL>;IGNORE +<d//> <D>;<STROKE>;<SMALL>;IGNORE + +<E> <E>;<NONE>;<CAPITAL>;IGNORE +<e> <E>;<NONE>;<SMALL>;IGNORE |
