Index: linux/libc/ChangeLog diff -u linux/libc/ChangeLog:1.193 linux/libc/ChangeLog:1.195 --- linux/libc/ChangeLog:1.193 Sat Nov 1 18:03:10 1997 +++ linux/libc/ChangeLog Fri Nov 21 15:07:57 1997 @@ -1,3 +1,79 @@ +Fri Nov 21 18:54:15 1997 H.J. Lu (hjl@gnu.ai.mit.edu) + + * version 5.4.41 is released. + + * <_G_config.h>: change version to 5.4.41. + + * elf/libc/jump.params: set version to 5.4.41. + + * release.libc: update. + + * include/Makefile (files): add sys/prctl.h. + +Fri Nov 21 08:33:38 1997 H.J. Lu (hjl@gnu.ai.mit.edu) + + * inet/rcmd.c (__check_rhosts_file): New, set to 1. + (ruserok): Check .rhosts if __check_rhosts_file is 1 or + for superuser. + +Fri Nov 21 07:32:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu) + + * libio/fileops.c (_IO_file_underflow): Undo the change on + Thu Sep 11 08:04:03 1997 by H.J. Lu (hjl@gnu.ai.mit.edu) + + * libio/iofgets.c (_IO_fgets): Return an error only if there + is a new error. + * libio/iogets.c (_IO_gets): Ditto. + +Thu Nov 20 16:20:30 1997 SmartCalc programmer + + * ufc/crypt_md5.c: + * ufc/crypt_util.c: + * ufc/crypt_util.c: allow to compile on NT. + +Mon Nov 17 10:25:07 1997 H.J. Lu (hjl@gnu.ai.mit.edu) + + * <_G_config.h> (NULL): Define if necessary. + +Mon Nov 10 07:40:18 1997 H.J. Lu (hjl@gnu.ai.mit.edu) + + * stdlib/exit.c (exit): Handle recursive calls to exit (). + +Tue Nov 4 07:59:31 1997 H.J. Lu (hjl@gnu.ai.mit.edu) + + * sysdeps/linux/glob.c (glob_in_dir): check to see if + file exists. + +Tue Nov 4 07:50:36 1997 bo@petshop.ping.dk (Bo Vagner Hoejer) + + * nls/linux/Makefile: update. + + * nls/linux/Danish/auth.m: + * nls/linux/Danish/clnt-misc.m: + * nls/linux/Danish/errlist-u.m: + * nls/linux/Danish/errlist.m: + * nls/linux/Danish/README: + * nls/linux/Danish/getopt.m: + * nls/linux/Danish/h-errlist.m: + * nls/linux/Danish/net-misc.m: + * nls/linux/Danish/rpc-errlist.m: + * nls/linux/Danish/rpc-misc.m: + * nls/linux/Danish/siglist-u.m: + * nls/linux/Danish/siglist.m: new. + +Mon Nov 3 08:56:24 1997 Keith Packard + + * Makeconfig (PROFILE_OPT_CFLAGS): add -D__GPROF__. + + * Makerules: use $(PROFILE_CFLAGS) for .S. + + * sysdeps/linux/i386/sysdep.h (PSEUDO): use a new one if + __GPROF__ is defined. + +Sun Nov 2 14:08:16 1997 Richard Gooch + + * : new. + Sat Nov 1 18:01:40 1997 H.J. Lu (hjl@gnu.ai.mit.edu) * version 5.4.40 is released. Index: linux/libc/Makeconfig diff -u linux/libc/Makeconfig:1.25 linux/libc/Makeconfig:1.26 --- linux/libc/Makeconfig:1.25 Sun Jul 20 12:09:23 1997 +++ linux/libc/Makeconfig Fri Nov 21 15:02:20 1997 @@ -370,7 +370,7 @@ DEBUG_OPT_CFLAGS=-O -g # -mreg-alloc=d endif ifeq ($(PROFILE_OPT_CFLAGS),) -PROFILE_OPT_CFLAGS=-O -pg # -mreg-alloc=d +PROFILE_OPT_CFLAGS=-O -pg -D__GPROF__ # -mreg-alloc=d endif ifeq ($(CHECKER_OPT_CFLAGS),) CHECKER_OPT_CFLAGS=-O # -mreg-alloc=d Index: linux/libc/Makerules diff -u linux/libc/Makerules:1.4 linux/libc/Makerules:1.5 --- linux/libc/Makerules:1.4 Wed Jun 5 09:07:34 1996 +++ linux/libc/Makerules Fri Nov 21 15:02:20 1997 @@ -138,16 +138,13 @@ @$(RM) $*.s $(STATIC_DIR)/$(SUBDIR)/%.o $(SHARED_DIR)/$(SUBDIR)/%.o \ - $(DEBUG_DIR)/$(SUBDIR)/%.o $(PROFILE_DIR)/$(SUBDIR)/%.o: %.S + $(DEBUG_DIR)/$(SUBDIR)/%.o: %.S $(CC) $(CFLAGS) -E $< -o $*.s $(JUMPAS)as -o $(SHARED_DIR)/$(SUBDIR)/$*.o $*.s $(AS) -o $(STATIC_DIR)/$(SUBDIR)/$*.o $*.s ifeq ($(DEBUG),true) cp $(STATIC_DIR)/$(SUBDIR)/$*.o $(DEBUG_DIR)/$(SUBDIR) endif -ifeq ($(PROFILE),true) - cp $(STATIC_DIR)/$(SUBDIR)/$*.o $(PROFILE_DIR)/$(SUBDIR) -endif @$(RM) $*.s else @@ -155,15 +152,11 @@ $(SHARED_DIR)/$(SUBDIR)/%.o: %.S $(CC) $(PIC_CFLAGS) -c $< -o $@ -$(STATIC_DIR)/$(SUBDIR)/%.o \ - $(DEBUG_DIR)/$(SUBDIR)/%.o $(PROFILE_DIR)/$(SUBDIR)/%.o: %.S +$(STATIC_DIR)/$(SUBDIR)/%.o $(DEBUG_DIR)/$(SUBDIR)/%.o: %.S $(CC) $(CFLAGS) -c $< -o $@ ifeq ($(DEBUG),true) cp $(STATIC_DIR)/$(SUBDIR)/$*.o $(DEBUG_DIR)/$(SUBDIR) endif -ifeq ($(PROFILE),true) - cp $(STATIC_DIR)/$(SUBDIR)/$*.o $(PROFILE_DIR)/$(SUBDIR) -endif $(SHARED_DIR)/$(SUBDIR)/%.o: %.c $(CC) $(PIC_CFLAGS) -c $< -o $@ @@ -193,9 +186,6 @@ $(STATIC_DIR)/$(SUBDIR)/%.o $(STATIC_DIR)/%.o: %.S $(CC) $(CFLAGS) -c $< -o $@ -$(PROFILE_DIR)/$(SUBDIR)/%.o $(PROFILE_DIR)/%.o: %.S - $(CC) $(CFLAGS) -c $< -o $@ - $(DEBUG_DIR)/$(SUBDIR)/%.o: %.S $(CC) $(CFLAGS) -c $< -o $@ @@ -218,6 +208,9 @@ endif endif + +$(PROFILE_DIR)/$(SUBDIR)/%.o $(PROFILE_DIR)/%.o: %.S + $(CC) $(PROFILE_CFLAGS) -c $< -o $@ ifeq ($(DEBUG),true) $(DEBUG_DIR)/$(SUBDIR)/%.o: %.c Index: linux/libc/release.libc diff -u linux/libc/release.libc:1.60 linux/libc/release.libc:1.61 --- linux/libc/release.libc:1.60 Thu Sep 18 11:50:25 1997 +++ linux/libc/release.libc Fri Nov 21 15:02:20 1997 @@ -24,20 +24,20 @@ so that the old XFree86 binaries will run fine with the new XFree86 shared librraries compiled with libc 6.x/glibc 2.x. -If you use linux 2.1.x, you need libc 5.4.39 or above to compile libc +If you use linux 2.1.x, you need libc 5.4.41 or above to compile libc yourself. The pre-compiled libc should run fine under linux 2.1.x. Also this library is compiled with -D_REENTRANT so that errno is MT safe. The shared libraries are now compiled with -g1 which can provide minimum information when core dump happens. You can strip -libc.so.5.4.39 if you want. +libc.so.5.4.41 if you want. -Due to the new, improved locale, the Linux C library 5.4.39 is binary +Due to the new, improved locale, the Linux C library 5.4.41 is binary compatible with libc 5.3.12 but not vice versa. The binaries -compiled/linked with libc.so.5.4.39 may not run with libc.so.5.3.12. +compiled/linked with libc.so.5.4.41 may not run with libc.so.5.3.12. You may need to regenerate locale files for the new locale in libc -5.4.39 if you use locales other tha C/POSIX which are the defaults. +5.4.41 if you use locales other tha C/POSIX which are the defaults. The locale sources are at @@ -46,7 +46,7 @@ There are many security bug fixes. Please consult ChangeLog for details. Please let me know if there are more security bugs remains. -This is the beta release of the Linux C library 5.4.39. Please read +This is the beta release of the Linux C library 5.4.41. Please read the ChangeLog for details regarding changes/bug fixes. DISTRIBUTION SITES: @@ -60,18 +60,17 @@ * ftp://linux.nrao.edu/pub/linux/packages/GCC_private/tofu * ftp://i44ftp.info.uni-karlsruhe.de/pub/linux/libc/private/dontuse -* ftp://ftp.ctd.comsat.com/pub/linux/private/GCC Due to the slow link, secondary ftp sites may not be updated as quickly as the primaries. DISTRIBUTION FILES: -1. libc-5.4.39.bin.tar.gz +1. libc-5.4.41.bin.tar.gz REQUIRED. This package contains the header files for libc, shared and static ELF libraries libc and libm, and the static ELF library libbsd.a. -The header files in libc-5.4.39.bin.tar.gz are not complete. You need to +The header files in libc-5.4.41.bin.tar.gz are not complete. You need to install the kernel source tree for the system-dependent header files. The header files are in lib-x.y.z.bin.tar.gz and libc-x.y.z.tar.gz. You @@ -82,11 +81,11 @@ to extract the header files without the binaries files. A separate tar file for the header files may cause unnecessary confusion. -2. libc-5.4.39.tar.gz +2. libc-5.4.41.tar.gz Source tree for libc and header files. -3. libc-5.4.38-5.4.39.diff.gz +3. libc-5.4.30-5.4.41.diff.gz Context diffs against the source tree from the previous libc release. Please make sure the empty libc/regex/rx.h is deleted. @@ -157,7 +156,7 @@ rm -f /usr/include/wcstr.h /usr/include/mbstr.h rm -f /usr/include/ld_so_config.h /usr/include/localeinfo.h rm -rf /usr/include/netinet /usr/include/net /usr/include/pthread -gzip -dc libc-5.4.39.bin.tar.gz | tar xvf - +gzip -dc libc-5.4.41.bin.tar.gz | tar xvf - SOURCE INSTALLATION: @@ -223,4 +222,4 @@ H.J. hjl@gnu.ai.mit.edu -09/18/97 +11/20/97 Index: linux/libc/elf/libc/jump.params diff -u linux/libc/elf/libc/jump.params:1.93 linux/libc/elf/libc/jump.params:1.94 --- linux/libc/elf/libc/jump.params:1.93 Sat Nov 1 18:03:12 1997 +++ linux/libc/elf/libc/jump.params Fri Nov 21 15:02:21 1997 @@ -1 +1 @@ -Version=5.4.40 +Version=5.4.41 Index: linux/libc/inet/rcmd.c diff -u linux/libc/inet/rcmd.c:1.8 linux/libc/inet/rcmd.c:1.9 --- linux/libc/inet/rcmd.c:1.8 Fri Aug 8 12:12:46 1997 +++ linux/libc/inet/rcmd.c Fri Nov 21 15:02:22 1997 @@ -296,6 +296,8 @@ } } +int __check_rhosts_file = 1; + int ruserok(const char *rhost, int superuser, const char *ruser, const char *luser) @@ -332,7 +334,7 @@ } (void) fclose(hostf); } - if (first == 1) { + if (first == 1 && (__check_rhosts_file || superuser)) { struct stat sbuf; struct passwd *pwd; char *pbuf; Index: linux/libc/libio/fileops.c diff -u linux/libc/libio/fileops.c:1.17 linux/libc/libio/fileops.c:1.18 --- linux/libc/libio/fileops.c:1.17 Thu Sep 18 11:50:28 1997 +++ linux/libc/libio/fileops.c Fri Nov 21 15:02:23 1997 @@ -304,28 +304,10 @@ fp->_IO_buf_end - fp->_IO_buf_base); if (count <= 0) { - /* - * I think EAGAIN and EWOULDBLOCK should be treated as - * EOF. H.J. - */ -#ifdef EAGAIN -#if defined(EWOULDBLOCK) && EWOULDBLOCK != EAGAIN - if (count == 0 || errno == EAGAIN - || errno == EWOULDBLOCK) -#else - if (count == 0 || errno == EAGAIN) -#endif -#else -#ifdef EWOULDBLOCK - if (count == 0 || errno == EWOULDBLOCK) -#else if (count == 0) -#endif -#endif fp->_flags |= _IO_EOF_SEEN; else - fp->_flags |= _IO_ERR_SEEN; - count = 0; + fp->_flags |= _IO_ERR_SEEN, count = 0; } fp->_IO_read_end += count; if (count == 0) Index: linux/libc/libio/iofgets.c diff -u linux/libc/libio/iofgets.c:1.5 linux/libc/libio/iofgets.c:1.6 --- linux/libc/libio/iofgets.c:1.5 Tue Nov 14 20:21:32 1995 +++ linux/libc/libio/iofgets.c Fri Nov 21 15:02:23 1997 @@ -29,14 +29,25 @@ char* buf AND int n AND _IO_FILE* fp) { _IO_size_t count; + char *result; + int old_error; CHECK_FILE(fp, NULL); if (n <= 0) return NULL; + old_error = fp->_IO_file_flags & _IO_ERR_SEEN; + fp->_IO_file_flags &= ~_IO_ERR_SEEN; count = _IO_getline(fp, buf, n - 1, '\n', 1); if (count == 0 || (fp->_IO_file_flags & _IO_ERR_SEEN)) - return NULL; - buf[count] = 0; - return buf; + { + result = NULL; + } + else + { + buf[count] = '\0'; + result = buf; + } + fp->_IO_file_flags |= old_error; + return result; } #if defined(__ELF__) || defined(__GNU_LIBRARY__) Index: linux/libc/libio/iogets.c diff -u linux/libc/libio/iogets.c:1.6 linux/libc/libio/iogets.c:1.7 --- linux/libc/libio/iogets.c:1.6 Tue Nov 14 20:21:36 1995 +++ linux/libc/libio/iogets.c Fri Nov 21 15:02:23 1997 @@ -39,10 +39,14 @@ count = 0; else { + int old_error = _IO_stdin->_IO_file_flags & _IO_ERR_SEEN; + _IO_stdin->_IO_file_flags &= ~_IO_ERR_SEEN; buf[0] = (char)ch; count = _IO_getline(_IO_stdin, buf + 1, INT_MAX, '\n', 0) + 1; if (_IO_stdin->_IO_file_flags & _IO_ERR_SEEN) return NULL; + else + _IO_stdin->_IO_file_flags |= old_error; } buf[count] = 0; return buf; Index: linux/libc/nls/linux/Makefile diff -u linux/libc/nls/linux/Makefile:1.2 linux/libc/nls/linux/Makefile:1.3 --- linux/libc/nls/linux/Makefile:1.2 Wed Mar 15 19:03:28 1995 +++ linux/libc/nls/linux/Makefile Fri Nov 21 15:02:24 1997 @@ -16,14 +16,26 @@ NL-SRCS= errlist.m DUTCH-SRCS=$(NL-SRCS:%=Dutch/%) +DA-SRCS=$(EN-SRCS) +DANISH-SRCS=$(DA-SRCS:%=Danish/%) + +ES-SRCS= errlist.m errlist-u.m h-errlist.m siglist.m siglist-u.m \ + clnt-misc.m rpc-errlist.m auth.m rpc-misc.m \ + net-misc.m +SPANISH-SRCS=$(ES-SRCS:%=Spanish/%) + +RU-SRCS=$(EN-SRCS) +RUSSIAN-SRCS=$(RU-SRCS:%=Russian/%) + TEST-SRCS=$(EN-SRCS) TESTING-SRCS=$(TEST-SRCS:%=Test/%) -INSTDIR=/etc/locale +# INSTDIR=/etc/locale +INSTDIR=/usr/share/locale -LOCALES=C de fr nl +LOCALES=C de fr nl da es ru -all: C +all: $(LOCALES) ../gencat: ../gencat.c ../genlib.c cd ../; make gencat @@ -47,6 +59,18 @@ rm -f libc.cat.nl ../gencat -new libc.cat.nl $(DUTCH-SRCS) +da danish: $(DANISH-SRCS) ../gencat + rm -f libc.cat.da + ../gencat -new libc.cat.da $(DANISH-SRCS) + +es spanish: $(SPANISH-SRCS) ../gencat + rm -f libc.cat.es + ../gencat -new libc.cat.es $(SPANISH-SRCS) + +ru russian: $(RUSSIAN-SRCS) ../gencat + rm -f libc.cat.ru + ../gencat -new libc.cat.ru $(RUSSIAN-SRCS) + test: $(TESTING-SRCS) ../gencat rm -f libc.cat.test ../gencat -new libc.cat.test $(TESTING-SRCS) @@ -72,8 +96,8 @@ install -m a+xr -d $(INSTDIR) @for i in $(LOCALES); do \ if [ -f libc.cat.$$i ]; then \ - install -m a+xr -d $(INSTDIR)/$$i; \ - install -m a+r libc.cat.$$i $(INSTDIR)/$$i/libc.cat; \ - echo installed $(INSTDIR)/$$i/libc.cat; \ + install -m a+xr -d $(INSTDIR)/$$i/LC_MESSAGES; \ + install -m a+r libc.cat.$$i $(INSTDIR)/$$i/LC_MESSAGES/libc; \ + echo installed $(INSTDIR)/$$i/LC_MESSAGES/libc; \ fi; \ done Index: linux/libc/nls/linux/Danish/README diff -u /dev/null linux/libc/nls/linux/Danish/README:1.1 --- /dev/null Fri Nov 21 15:52:43 1997 +++ linux/libc/nls/linux/Danish/README Fri Nov 21 15:02:24 1997 @@ -0,0 +1,4 @@ +This translation has been made by Bo Vagner Hoejer, +email: bo@petshop.ping.dk or bo@image.dk + +Comments, corrections and suggestions are welcome. \ No newline at end of file Index: linux/libc/nls/linux/Danish/auth.m diff -u /dev/null linux/libc/nls/linux/Danish/auth.m:1.1 --- /dev/null Fri Nov 21 15:52:43 1997 +++ linux/libc/nls/linux/Danish/auth.m Fri Nov 21 15:02:24 1997 @@ -0,0 +1,25 @@ +$set 7 #AuthList + +$ #1 Original Message:(Authentication OK) +# Autentifikation OK + +$ #2 Original Message:(Invalid client credential) +# Ugyldig client akkreditiv + +$ #3 Original Message:(Server rejected credential) +# Server afviser akkreditiv + +$ #4 Original Message:(Invalid client verifier) +# Ugyldig client versificering + +$ #5 Original Message:(Server rejected verifier) +# Server afviser versificering + +$ #6 Original Message:(Client credential too weak) +# Client akkreditiv er for svagt + +$ #7 Original Message:(Invalid server verifier) +# Ugyldig server versificering + +$ #8 Original Message:(Failed (unspecified error)) +# Fiasko (uspecificeret fejl) Index: linux/libc/nls/linux/Danish/clnt-misc.m diff -u /dev/null linux/libc/nls/linux/Danish/clnt-misc.m:1.1 --- /dev/null Fri Nov 21 15:52:43 1997 +++ linux/libc/nls/linux/Danish/clnt-misc.m Fri Nov 21 15:02:24 1997 @@ -0,0 +1,13 @@ +$set 9 #ClntMisc + +$ #Errno Original Message:(; errno = %s) +# ; fejlnummer = %s + +$ #LowHigh Original Message:(; low version = %lu, high version = %lu) +# ; subversionsnummer = %lu, hovedversionsnummer = %lu) + +$ #Why Original Message:(; why = ) +# ; hvorfor = + +$ #UnknownAuth Original Message:((unknown authentication error - %d)) +# (ukendt autentifikationsfejl - %d) Index: linux/libc/nls/linux/Danish/errlist-u.m diff -u /dev/null linux/libc/nls/linux/Danish/errlist-u.m:1.1 --- /dev/null Fri Nov 21 15:52:43 1997 +++ linux/libc/nls/linux/Danish/errlist-u.m Fri Nov 21 15:02:24 1997 @@ -0,0 +1,7 @@ +$set 2 #UnknownError + +$ #1 Original Message:(Unknown error 000000000000000000000) +# Ukendt fejl 000000000000000000000 + +$ #2 Original Message:(Unknown error %d) +# Ukendt fejl %d Index: linux/libc/nls/linux/Danish/errlist.m diff -u /dev/null linux/libc/nls/linux/Danish/errlist.m:1.1 --- /dev/null Fri Nov 21 15:52:43 1997 +++ linux/libc/nls/linux/Danish/errlist.m Fri Nov 21 15:02:24 1997 @@ -0,0 +1,367 @@ +$set 1 #ErrorList + +$ #0 Original Message:(Unknown error) +# ukendt fejl + +$ #1 Original Message:(Operation not permitted) +# operation ikke tilladt + +$ #2 Original Message:(No such file or directory) +# fil eller katalog findes ikke + +$ #3 Original Message:(No such process) +# proces findes ikke + +$ #4 Original Message:(Interrupted system call) +# afbrudt systemkald + +$ #5 Original Message:(I/O error) +# læse/skrive fejl + +$ #6 Original Message:(No such device or address) +# enhed eller adresse findes ikke + +$ #7 Original Message:(Arg list too long) +# parameterliste er for lang + +$ #8 Original Message:(Exec format error) +# udførbart format er fejlbehæftet + +$ #9 Original Message:(Bad file number) +# ubrugeligt filnummer + +$ #10 Original Message:(No child processes) +# ingen barneprocesor + +$ #11 Original Message:(Try again) +# prøv igen... + +$ #12 Original Message:(Out of memory) +# utilstrækkelig hukommelsesplads + +$ #13 Original Message:(Permission denied) +# adgang nægtet + +$ #14 Original Message:(Bad address) +# ugyldig adresse + +$ #15 Original Message:(Block device required) +# blok orienteret enhed kræves + +$ #16 Original Message:(Device or resource busy) +# enhed eller resourse er optaget + +$ #17 Original Message:(File exists) +# fil eksisterer + +$ #18 Original Message:(Cross-device link) +# enhedsoverskridende links er ikke tilladt + +$ #19 Original Message:(No such device) +# enhed findes ikke + +$ #20 Original Message:(Not a directory) +# det er ikke et katalog + +$ #21 Original Message:(Is a directory) +# det er et katalog + +$ #22 Original Message:(Invalid argument) +# ugyldig parameter + +$ #23 Original Message:(File table overflow) +# filtabel er fyldt + +$ #24 Original Message:(Too many open files) +# for mange åbne filer + +$ #25 Original Message:(Not a typewriter) +# enheden er ikke en terminal + +$ #26 Original Message:(Text file busy) +# programmet bliver ændret eller udført + +$ #27 Original Message:(File too large) +# fil er for stor + +$ #28 Original Message:(No space left on device) +# ingen lagerplads tilbage på enheden + +$ #29 Original Message:(Illegal seek) +# ugyldig søgning + +$ #30 Original Message:(Read-only file system) +# filsystemet kan kun læses + +$ #31 Original Message:(Too many links) +# for mange links + +$ #32 Original Message:(Broken pipe) +# dataoverførsel afbrudt + +$ #33 Original Message:(Math argument out of domain of func) +# argument til matematisk funktion er uden for definitionsområde + +$ #34 Original Message:(Math result not representable) +# resultat af matematisk funktion er ikke representativ + +$ #35 Original Message:(Resource deadlock would occur) +# resurce vil gå i baglås + +$ #36 Original Message:(File name too long) +# filnavn er for langt + +$ #37 Original Message:(No record locks available) +# ingen lås for datapost tilgængelig + +$ #38 Original Message:(Function not implemented) +# funktion er ikke implementeret + +$ #39 Original Message:(Directory not empty) +# katalog er ikke tomt + +$ #40 Original Message:(Too many symbolic links encountered) +# for mange symbolske links fundet + +$ #41 Original Message:(Operation would block) +# operation kan blokere + +$ #42 Original Message:(No message of desired type) +# meddelelse af ønskede type findes ikke + +$ #43 Original Message:(Identifier removed) +# kendetegn (en semafor) er fjernet + +$ #44 Original Message:(Channel number out of range) +# kanalnummer er ude af værdimængden + +$ #45 Original Message:(Level 2 not synchronized) +# niveau 2 er ikke synkroniseret + +$ #46 Original Message:(Level 3 halted) +# niveau 3 stoppet + +$ #47 Original Message:(Level 3 reset) +# niveau 3 nulstillet + +$ #48 Original Message:(Link number out of range) +# link nummer er ude af værdimængden + +$ #49 Original Message:(Protocol driver not attached) +# protokol driver er ikke tilknyttet + +$ #50 Original Message:(No CSI structure available) +# ingen CSI struktur tilgængelig + +$ #51 Original Message:(Level 2 halted) +# niveau 2 stoppet + +$ #52 Original Message:(Invalid exchange) +# ugyldig uveksling + +$ #53 Original Message:(Invalid request descriptor) +# Ugyldig anmodningsbeskrivelse + +$ #54 Original Message:(Exchange full) +# udveksling overfyldt + +$ #55 Original Message:(No anode) +# ingen anode + +$ #56 Original Message:(Invalid request code) +# Ugyldig anmodningskode + +$ #57 Original Message:(Invalid slot) +# ugyldigt slot + +$ #58 Original Message:(File locking deadlock error) +# Fejl: fillås sidder fast + +$ #59 Original Message:(Bad font file format) +# Ugyldig fontfil format + +$ #60 Original Message:(Device not a stream) +# enhed er ikke en stream + +$ #61 Original Message:(No data available) +# Ingen data tilgænglig + +$ #62 Original Message:(Timer expired) +# timer er udløbet + +$ #63 Original Message:(Out of streams resources) +# ingen streams til disposition + +$ #64 Original Message:(Machine is not on the network) +# maskine er ikke tilsluttet netværket + +$ #65 Original Message:(Package not installed) +# pakke er ikke installeret + +$ #66 Original Message:(Object is remote) +# objekt er på en fjern datamat + +$ #67 Original Message:(Link has been severed) +# link er blevet afbrudt + +$ #68 Original Message:(Advertise error) +# averteringsfejl + +$ #69 Original Message:(Srmount error) +# Srmount fejl + +$ #70 Original Message:(Communication error on send) +# kommunikationsfejl ved sending + +$ #71 Original Message:(Protocol error) +# protokol fejl + +$ #72 Original Message:(Multihop attempted) +# multihop forsøgt + +$ #73 Original Message:(RFS specific error) +# RFS specifik fejl + +$ #74 Original Message:(Not a data message) +# ingen data meddelse + +$ #75 Original Message:(Value too large for defined data type) +# værdi er for stor til den definerede data type + +$ #76 Original Message:(Name not unique on network) +# navn er ikke unikt på netværket + +$ #77 Original Message:(File descriptor in bad state) +# filtilgangsnummeret er i en ugyldig tilstand + +$ #78 Original Message:(Remote address changed) +# fjern adresse er ændret + +$ #79 Original Message:(Can not access a needed shared library) +# ingen tilgang til nødvendigt 'shared-library' + +$ #80 Original Message:(Accessing a corrupted shared library) +# tilgang til et defekt 'shared-library' + +$ #81 Original Message:(.lib section in a.out corrupted) +# .lib sektionen i a.out defekt + +$ #82 Original Message:(Attempting to link in too many shared libraries) +# forsøger sammenkædning af for mange 'shared-libraries' + +$ #83 Original Message:(Cannot exec a shared library directly) +# kan ikke udføre et 'shared-library' direkte + +$ #84 Original Message:(Illegal byte sequence) +# ugyldig byte sekvens + +$ #85 Original Message:(Interrupted system call should be restarted) +# afbrudt systemkald skal genstartes + +$ #86 Original Message:(Streams pipe error) +# streams kanal fejl + +$ #87 Original Message:(Too many users) +# for mange brugere + +$ #88 Original Message:(Socket operation on non-socket) +# socket operation på en ikke-socket + +$ #89 Original Message:(Destination address required) +# måladresse nødvendig + +$ #90 Original Message:(Message too long) +# meddelse er for lang + +$ #91 Original Message:(Protocol wrong type for socket) +# fejlagtig protokoltype til en socket + +$ #92 Original Message:(Protocol not available) +# protokol er ikke tilgængelig + +$ #93 Original Message:(Protocol not supported) +# protokol er ikke understøttet + +$ #94 Original Message:(Socket type not supported) +# socket type er ikke understøttet + +$ #95 Original Message:(Operation not supported on transport endpoint) +# operation er ikke understøttet på transportendepunktet + +$ #96 Original Message:(Protocol family not supported) +# protokol familie er ikke understøttet + +$ #97 Original Message:(Address family not supported by protocol) +# adresse familie er ikke understøttet af protokol + +$ #98 Original Message:(Address already in use) +# adresse er allerede i brug + +$ #99 Original Message:(Cannot assign requested address) +# den ønskede addresse kan ikke benyttes + +$ #100 Original Message:(Network is down) +# netværk er nede + +$ #101 Original Message:(Network is unreachable) +# netværk kan ikke nås + +$ #102 Original Message:(Network dropped connection because of reset) +# netværk forbindelse afbrudt på grund af nulstilling + +$ #103 Original Message:(Software caused connection abort) +# software forårsaget afbrydelse af forbindelse + +$ #104 Original Message:(Connection reset by peer) +# forbindelse nulstillet af komminikationspartner + +$ #105 Original Message:(No buffer space available) +# ingen buffer lager tilgængelig + +$ #106 Original Message:(Transport endpoint is already connected) +# transportendepunket er allerede forbundet + +$ #107 Original Message:(Transport endpoint is not connected) +# transportendepunktet er ikke forbundet + +$ #108 Original Message:(Cannot send after transport endpoint shutdown) +# kan ikke sende efter nedkobling af transportendepunktet + +$ #109 Original Message:(Too many references: cannot splice) +# for mange referenser: kan ikke splejse + +$ #110 Original Message:(Connection timed out) +# forbindelse afbrudt på grund af tidsoverskridelse + +$ #111 Original Message:(Connection refused) +# forbindelse nægtet + +$ #112 Original Message:(Host is down) +# datamat er nede + +$ #113 Original Message:(No route to host) +# rute til datamat er ukendt + +$ #114 Original Message:(Operation already in progress) +# operation er allerede i gang + +$ #115 Original Message:(Operation now in progress) +# operation er nu i gang + +$ #116 Original Message:(Stale NFS file handle) +# forældet NFS filtilgangsnummer + +$ #117 Original Message:(Structure needs cleaning) +# struktur behøver rengøring + +$ #118 Original Message:(Not a XENIX named type file) +# ikke et filnavn af XENIX typen + +$ #119 Original Message:(No XENIX semaphores available) +# ingen XENIX semafor tilgængelig + +$ #120 Original Message:(Is a named type file) +# er en navngivet filtype + +$ #121 Original Message:(Remote I/O error) +# I/O fejl på fjern datamat Index: linux/libc/nls/linux/Danish/getopt.m diff -u /dev/null linux/libc/nls/linux/Danish/getopt.m:1.1 --- /dev/null Fri Nov 21 15:52:43 1997 +++ linux/libc/nls/linux/Danish/getopt.m Fri Nov 21 15:02:24 1997 @@ -0,0 +1,25 @@ +$set 6 #Getopt + +$ #Ambiguous Original Message:(%s: option `%s' is ambiguous\n) +# %s: valgmulighed `%s' er flertydig\n + +$ #NoArgumentsAllowed1 Original Message:(%s: option `--%s' doesn't allow an argument\n) +# %s: valgmulighed `--%s' tillader ikke argumenter + +$ #NoArgumentsAllowed2 Original Message:(%s: option `%c%s' doesn't allow an argument\n) +# %s: valgmulighed `%c%s' tillader ikke argumenter + +$ #RequiresArgument1 Original Message:(%s: option `%s' requires an argument\n) +# %s: valgmulighed `%s' kræver et argument\n + +$ #RequiresArgument2 Original Message:(%s: option requires an argument -- %c\n) +# %s: valgmulighed kræver et argument -- %c\n + +$ #Unrecognized1 Original Message:(%s: unrecognized option `--%s'\n) +# %s: ukendt valgmulighed `--%s'\n + +$ #Unrecognized2 Original Message:(%s: unrecognized option `%c%s'\n) +# %s: ukendt valgmulighed `%c%s'\n + +$ #Illegal Original Message:(%s: illegal option -- %c\n) +# %s: ugyldig valgmulighed -- %c\n Index: linux/libc/nls/linux/Danish/h-errlist.m diff -u /dev/null linux/libc/nls/linux/Danish/h-errlist.m:1.1 --- /dev/null Fri Nov 21 15:52:43 1997 +++ linux/libc/nls/linux/Danish/h-errlist.m Fri Nov 21 15:02:24 1997 @@ -0,0 +1,17 @@ +$set 5 #HerrorList + +$ #1 Original Message:(Error 0) +# Fejl 0 + +$ #2 Original Message:(Unknown host) +# Ukendt datamat + +$ #3 Original Message:(Host name lookup failure) +# Fejl ved opslag af datamatnavn + +$ #4 Original Message:(Unknown server error) +# Fejl: ukendt server + +$ #5 Original Message:(No address associated with name) +# Ingen adresse associeret med navn er fundet + Index: linux/libc/nls/linux/Danish/net-misc.m diff -u /dev/null linux/libc/nls/linux/Danish/net-misc.m:1.1 --- /dev/null Fri Nov 21 15:52:43 1997 +++ linux/libc/nls/linux/Danish/net-misc.m Fri Nov 21 15:02:25 1997 @@ -0,0 +1,86 @@ +$set 11 #NetMisc + +$ #AllPortsInUse Original Message:(All ports in use) +# alle porte er optaget + +$ #ConnectTo Original Message:(connect to address) +# forbindelse til addresse + +$ #Trying Original Message:(Trying %s...\n) +# forsøger %s...\n + +$ #SettingUpStderr Original Message:(write: setting up stderr) +# Write: opsætning af standardfejl + +$ #Accept Original Message:(accept) +# accepteret + +$ #Getsockname Original Message:(getsockname) +# getsockname + +$ #ProtocolFailure Original Message:(socket: protocol failure in circuit setup.) +# Socket: protocol fejl i kredsløbsopsætningen. + +$ #RcmdSocket Original Message:(rcmd: socket) +# rcmd: socket + +$ #RexecSocket Original Message:(rexec: socket) +# rexec: socket + +$ #NetrcWrongPasswordMode Original Message:(Error - .netrc file not correct mode.\nRemove password or correct mode.) +# Fejl - .netrc-filen har ikke de rigtige tilgangsrettigheder.\nFjern kodeord eller koriger tilgangsrettigheder + +$ #UnknownNetrcOption Original Message:(Unknown .netrc option) +# ukendt .netrc valgmulighed + +$ #ResolvIncorrectFormat Original Message:(resolv+: %s: \"%s\" command incorrectly formatted.\n) +# resolv+: %s: "%s" kommando er forkert formateret.\n + +$ #ResolvInvalid Original Message:(resolv+: \"%s\" is an invalid keyword\n) +# resolv+: "%s" er et ugyldigt nøgleord\n + +$ #ResolvValid Original Message:(resolv+: valid keywords are: %s, %s and %s\n) +# resolv+: gyldige nøgleord er: %s, %s og %s\n + +$ #Unrecognized Original Message:(resolv+: search order not specified or unrecognized keyword, host resolution will fail.\n) +# resolv+: søgeorden ikke specificeret eller ukendt nøgleord,datamat opsporing vil slå fejl. + +$ #PossibleSpoof Original Message:(gethostbyaddr: %s != %u.%u.%u.%u, possible spoof attempt) +# gethostbyaddr: %s != %u.%u.%u.%u, muligvis forsøg på snyderi + +$ #SelectSetup Original Message:(rcmd: select (setting up stderr): ) +# rcmd: select (opsætning af standardfejl): + +$ #RcmdProtocolError Original Message:(select: protocol failure in circuit setup) +# select: protokol fejl i kredsløbsinstillingen + +$ #RhostLstat Original Message:(.rhosts lstat failed) +# .rhosts lstat er slået fejl + +$ #RhostNotRegular Original Message:(.rhosts not regular file) +# .rhosts er ikke en regulær fil + +$ #BadRhostsOwner Original Message:(bad .rhosts owner) +# ugyldig .rhosts ejer + +$ #RhostFstatFailed Original Message:(.rhosts fstat failed) +# .rhosts fstat er slået fejl + +$ #RhostWritable Original Message:(.rhosts writeable by other than owner) +# .rhosts kan skrives af andre end ejeren + +$ #Name Original Message:(Name) +# Navn + +$ #Password Original Message:(Password) +# Kodeord + +$ #AskedForGot Original Message:(gethostby*.getanswer: asked for \"%s\", got \"%s\") +# gethostby*.getanswer: efterspørger "%s", modtaget "%s" + +$ #AskedForGotCNAME Original Message:(gethostby*.getanswer: asked for \"%s\", got CNAME for \"%s\") +# gethostby*.getanswer: efterspørger "%s", modtaget CNAME for "%s" + +$ #AskedForType Original Message:(gethostby*.getanswer: asked for type %d(%s), got %d(%s)) +# gethostby*.getanswer: efterspørger type for %d(%s), modtaget %d(%s) + Index: linux/libc/nls/linux/Danish/rpc-errlist.m diff -u /dev/null linux/libc/nls/linux/Danish/rpc-errlist.m:1.1 --- /dev/null Fri Nov 21 15:52:44 1997 +++ linux/libc/nls/linux/Danish/rpc-errlist.m Fri Nov 21 15:02:25 1997 @@ -0,0 +1,58 @@ +$set 8 #RpcErrList + +$ #1 Original Message:(RPC: Success) +# RPC: Success + +$ #2 Original Message:(RPC: Can't encode arguments) +# RPC: kan ikke indkode argumenter + +$ #3 Original Message:(RPC: Can't decode result) +# RPC: kan ikke dekode resultatet + +$ #4 Original Message:(RPC: Unable to send) +# RPC: kan ikke sende + +$ #5 Original Message:(RPC: Unable to receive) +# RPC: kan ikke modtage + +$ #6 Original Message:(RPC: Timed out) +# RPC: tiden er løbet ud + +$ #7 Original Message:(RPC: Incompatible versions of RPC) +# RPC: inkompatiebel RPC version + +$ #8 Original Message:(RPC: Authentication error) +# RPC: autentifikationsfejl + +$ #9 Original Message:(RPC: Program unavailable) +# RPC: program er ikke tilgængelig + +$ #10 Original Message:(RPC: Program/version mismatch) +# RPC: program/version passer ikke sammen + +$ #11 Original Message:(RPC: Procedure unavailable) +# RPC: procedure er ikke tilgængelig + +$ #12 Original Message:(RPC: Server can't decode arguments) +# RPC: server kan ikke dekode argumenter + +$ #13 Original Message:(RPC: Remote system error) +# RPC: fejl på det fjerne system + +$ #14 Original Message:(RPC: Unknown host) +# RPC: ukendt datamat + +$ #15 Original Message:(RPC: Port mapper failure) +# RPC: portmapper fejl + +$ #16 Original Message:(RPC: Program not registered) +# RPC: program er ikke registreret + +$ #17 Original Message:(RPC: Failed (unspecified error)) +# RPC: Fejl (uspecifiseret fejl) + +$ #18 Original Message:(RPC: Unknown protocol) +# RPC: ukendt protokol + +$ #Unknown Original Message:(RPC: (unknown error code)) +# RPC: (ukendt fejlkode) Index: linux/libc/nls/linux/Danish/rpc-misc.m diff -u /dev/null linux/libc/nls/linux/Danish/rpc-misc.m:1.1 --- /dev/null Fri Nov 21 15:52:44 1997 +++ linux/libc/nls/linux/Danish/rpc-misc.m Fri Nov 21 15:02:25 1997 @@ -0,0 +1,106 @@ +$set 10 #RpcMisc + +$ #OutOfMemory Original Message:(out of memory) +# Utilstrækkelig hukommelsesplads + +$ #CannotRegister Original Message:(Cannot register service) +# Tjenesten kan ikke registreres + +$ #FatalMarshall Original Message:(auth_none.c - Fatal marshalling problem) +# auth_none.c - fatalt opstillingsproblem + +$ #FatalHeader Original Message:(clnt_raw.c - Fatal header serialization error.) +# clnt_raw.c - fatal header serialisationsfejl + +$ #Hostname Original Message:(get_myaddress: gethostbyname) +# get_myaddress: gethostbyname + +$ #Socket Original Message:(get_myaddress: socket) +# get_myaddress: socket + +$ #Iface Original Message:(get_myaddress: ioctl (get interface configuration)) +# get_myaddress: ioctl (henter grændsefladekonfiguration) + +$ #Ioctl Original Message:(get_myaddress: ioctl) +# get_myaddress: ioctl + +$ #Getmaps Original Message:(pmap_getmaps rpc problem) +# pmap_getmaps rpc problem + +$ #BConfig Original Message:(broadcast: ioctl (get interface configuration)) +# udsendelse: ioctl (henter grændsefladekonfiguration) + +$ #BFlags Original Message:(broadcast: ioctl (get interface flags)) +# udsendelse: ioctl (henter grændseflade flag) + +$ #CantCreateBSocket Original Message:(Cannot create socket for broadcast rpc) +# kan ikke skabe socket for udsendelse af rpc + +$ #CantSetBOption Original Message:(Cannot set socket option SO_BROADCAST) +# kan ikke sætte socket valgmulighed SO_BROADCAST + +$ #CantSendBPacket Original Message:(Cannot send broadcast packet) +# kan ikke sende udsendelsespakke + +$ #BSelectProblem Original Message:(Broadcast select problem) +# udsendelsesvalgproblem + +$ #CantReceiveBReply Original Message:(Cannot receive reply to broadcast) +# kan ikke modtage svar på udsendelse + +$ #BDesProblem Original Message:(Broadcast deserialization problem) +# udsendelsesdeserialisationsproblem + +$ #BadAuthLen Original Message:(bad auth_len gid %d str %d auth %d\n) +# ugyldig auth_len gid %d str %d auth %d\n + +$ #SelectFailed Original Message:(svc_run: - select failed) +# svc_run: - udvælgelse er slået fejl + +$ #CantReassignProc Original Message:(can't reassign procedure number %d\n) +# kan ikke gentildele procedurenummer %d\n + +$ #CantCreateServer Original Message:(couldn't create an rpc server) +# Kan ikke oprette en rpc server + +$ #CantRegisterProg Original Message:(couldn't register prog %d vers %d\n) +# kan ikke registere programm %d, version %d\n + +$ #TroubleReplying Original Message:(trouble replying to prog %d\n) +# har vanskeligt ved at svare program %d + +$ #NeverRegisteredProg Original Message:(never registered prog %d\n) +# program %d er aldrig registreret\n + +$ #TcpSocketCreateProblem Original Message:(svc_tcp.c - tcp socket creation problem) +# svc_tcp.c - problem ved skabelse af tcp socket + +$ #CantGetNameListen Original Message:(svctcp_.c - cannot getsockname or listen) +# svctcp_.c - getsockname eller listen er ikke mulig + +$ #UdpSocketCreateProblem Original Message:(svcudp_create: socket creation problem) +# svcudp_create: problem ved skabelse af socket + +$ #UdpCantGetName Original Message:(svcudp_create - cannot getsockname) +# svcudp_create - getsockname er ikke mulig + +$ #CacheAlreadyEnabled Original Message:(enablecache: cache already enabled) +# enablecache: cache er allerede slået til + +$ #CantAllocateCache Original Message:(enablecache: could not allocate cache) +# enablecache: kan ikke allokere Cache + +$ #CantAllocateCacheData Original Message:(enablecache: could not allocate cache data) +# enablecache: kan ikke allokere Cache data + +$ #CantAllocateCacheFifo Original Message:(enablecache: could not allocate cache fifo) +# enablecache: kan ikke allokere FIFO buffer + +$ #VictimNotFound Original Message:(cache_set: victim not found) +# cache_set: offer er ikke fundet + +$ #VictimAllocFailed Original Message:(cache_set: victim alloc failed) +# cache_set: offer kan ikke allokeres + +$ #CantAllocateRpcBuffer Original Message:(cache_set: could not allocate new rpc_buffer) +# cache_set: kan ikke allokere ny rpc_buffer Index: linux/libc/nls/linux/Danish/siglist-u.m diff -u /dev/null linux/libc/nls/linux/Danish/siglist-u.m:1.1 --- /dev/null Fri Nov 21 15:52:44 1997 +++ linux/libc/nls/linux/Danish/siglist-u.m Fri Nov 21 15:02:25 1997 @@ -0,0 +1,7 @@ +$set 4 #UnknownSignal + +$ #0 Original Message:(Unknown signal 000000000000000000) +# Ukendt signal 000000000000000000 + +$ #1 Original Message:(Unknown signal %d) +# Ukendt signal %d Index: linux/libc/nls/linux/Danish/siglist.m diff -u /dev/null linux/libc/nls/linux/Danish/siglist.m:1.1 --- /dev/null Fri Nov 21 15:52:44 1997 +++ linux/libc/nls/linux/Danish/siglist.m Fri Nov 21 15:02:25 1997 @@ -0,0 +1,97 @@ +$set 3 #SignalList + +$ #0 Original Message:(Unknown signal) +# Ukendt signal + +$ #1 Original Message:(Hangup) +# Forbindelse afbrudt + +$ #2 Original Message:(Interrupt) +# Afbrydelse + +$ #3 Original Message:(Quit) +# Afslutning + +$ #4 Original Message:(Illegal instruction) +# Ugyldig instruktion + +$ #5 Original Message:(Trace/breakpoint trap) +# Efterspore/afbrydelsespunkt fælde + +$ #6 Original Message:(IOT trap/Abort) +# Inddata/Uddate fælde/afbrydelse + +$ #7 Original Message:(Bus Error) +# Bus fejl + +$ #8 Original Message:(Floating point exception) +# Flydendekomma undtagelse + +$ #9 Original Message:(Killed) +# Dræbt + +$ #10 Original Message:(User defined signal 1) +# Brugerdefineret signal 1 + +$ #11 Original Message:(Segmentation fault) +# Segmentfejl + +$ #12 Original Message:(User defined signal 2) +# Brugerdefineret signal 2 + +$ #13 Original Message:(Broken pipe) +# Dataoverførsel afbrudt + +$ #14 Original Message:(Alarm clock) +# Alarmur + +$ #15 Original Message:(Terminated) +# Termineret + +$ #16 Original Message:(Stack fault) +# Stakfejl + +$ #17 Original Message:(Child exited) +# Barneproces afsluttet + +$ #18 Original Message:(Continued) +# Fortsat + +$ #19 Original Message:(Stopped (signal)) +# Standset (signal) + +$ #20 Original Message:(Stopped) +# Standset + +$ #21 Original Message:(Stopped (tty input)) +# Standset (tty inddata) + +$ #22 Original Message:(Stopped (tty output)) +# Standset (tty uddata) + +$ #23 Original Message:(Urgent condition) +# Presserende tilstand + +$ #24 Original Message:(CPU time limit exceeded) +# Processortidsgrænsen overskredet + +$ #25 Original Message:(File size limit exceeded) +# Filstørrelsesgrænsen overskredet + +$ #26 Original Message:(Virtual time alarm) +# Virtuelt alarmur + +$ #27 Original Message:(Profile signal) +# Profil signal + +$ #28 Original Message:(Window size changed) +# Vinduestørelse ændret + +$ #29 Original Message:(Possible I/O) +# Muligvis I/O + +$ #30 Original Message:(Power Failure) +# Stømforsyningsfejl + +$ #31 Original Message:(Unused signal) +# Ubrugt signal Index: linux/libc/stdlib/exit.c diff -u linux/libc/stdlib/exit.c:1.1.1.1 linux/libc/stdlib/exit.c:1.2 --- linux/libc/stdlib/exit.c:1.1.1.1 Fri Feb 17 21:33:30 1995 +++ linux/libc/stdlib/exit.c Fri Nov 21 15:02:28 1997 @@ -36,14 +36,12 @@ void DEFUN(exit, (status), int status) { - register CONST struct exit_function_list *l; - - for (l = __exit_funcs; l != NULL; l = l->next) + for (; __exit_funcs; __exit_funcs = __exit_funcs->next) { - register size_t i = l->idx; - while (i-- > 0) + while ((__exit_funcs->idx)-- > 0) { - CONST struct exit_function *CONST f = &l->fns[i]; + CONST struct exit_function *CONST f + = &__exit_funcs->fns[__exit_funcs->idx]; switch (f->flavor) { case ef_free: Index: linux/libc/sysdeps/linux/glob.c diff -u linux/libc/sysdeps/linux/glob.c:1.3 linux/libc/sysdeps/linux/glob.c:1.4 --- linux/libc/sysdeps/linux/glob.c:1.3 Fri Oct 4 15:53:27 1996 +++ linux/libc/sysdeps/linux/glob.c Fri Nov 21 15:02:28 1997 @@ -562,71 +562,70 @@ }; struct globlink *names = NULL; size_t nfound = 0; + int meta; - if (!glob_pattern_p (pattern, !(flags & GLOB_NOESCAPE))) + stream = (__glob_opendir_hook ? (*__glob_opendir_hook) (directory) + : (__ptr_t) opendir (directory)); + if (stream == NULL) { - stream = NULL; - flags |= GLOB_NOCHECK; + if ((errfunc != NULL && (*errfunc) (directory, errno)) || + (flags & GLOB_ERR)) + return GLOB_ABEND; } - else + + meta = glob_pattern_p (pattern, !(flags & GLOB_NOESCAPE)); + + if (meta) + flags |= GLOB_MAGCHAR; + + while (1) { - flags |= GLOB_MAGCHAR; + const char *name; + size_t len; - stream = (__glob_opendir_hook ? (*__glob_opendir_hook) (directory) - : (__ptr_t) opendir (directory)); - if (stream == NULL) + if (__glob_readdir_hook) { - if ((errfunc != NULL && (*errfunc) (directory, errno)) || - (flags & GLOB_ERR)) - return GLOB_ABEND; + name = (*__glob_readdir_hook) (stream); + if (name == NULL) + break; + len = 0; } else - while (1) - { - const char *name; - size_t len; - - if (__glob_readdir_hook) - { - name = (*__glob_readdir_hook) (stream); - if (name == NULL) - break; - len = 0; - } - else - { - struct dirent *d = readdir ((DIR *) stream); - if (d == NULL) - break; - if (! REAL_DIR_ENTRY (d)) - continue; - name = d->d_name; + { + struct dirent *d = readdir ((DIR *) stream); + if (d == NULL) + break; + if (! REAL_DIR_ENTRY (d)) + continue; + name = d->d_name; #ifdef HAVE_D_NAMLEN - len = d->d_namlen; + len = d->d_namlen; #else - len = 0; + len = 0; #endif - } + } - if (fnmatch (pattern, name, - (!(flags & GLOB_PERIOD) ? FNM_PERIOD : 0) | - ((flags & GLOB_NOESCAPE) ? FNM_NOESCAPE : 0)) == 0) - { - struct globlink *new - = (struct globlink *) __alloca (sizeof (struct globlink)); - if (len == 0) - len = strlen (name); - new->name - = (char *) malloc (len + ((flags & GLOB_MARK) ? 1 : 0) + 1); - if (new->name == NULL) - goto memory_error; - memcpy ((__ptr_t) new->name, name, len); - new->name[len] = '\0'; - new->next = names; - names = new; - ++nfound; - } - } + if ((!meta && strcmp (pattern, name) == 0) + || fnmatch (pattern, name, + (!(flags & GLOB_PERIOD) ? FNM_PERIOD : 0) | + ((flags & GLOB_NOESCAPE) ? FNM_NOESCAPE : 0)) == 0) + { + struct globlink *new + = (struct globlink *) __alloca (sizeof (struct globlink)); + if (len == 0) + len = strlen (name); + new->name + = (char *) malloc (len + ((flags & GLOB_MARK) ? 1 : 0) + 1); + if (new->name == NULL) + goto memory_error; + memcpy ((__ptr_t) new->name, name, len); + new->name[len] = '\0'; + new->next = names; + names = new; + ++nfound; + if (!meta) + break; + } } if (nfound == 0 && (flags & GLOB_NOCHECK)) @@ -661,15 +660,14 @@ pglob->gl_flags = flags; - if (stream != NULL) - { - int save = errno; - if (__glob_closedir_hook) - (*__glob_closedir_hook) (stream); - else - (void) closedir ((DIR *) stream); - errno = save; - } + { + int save = errno; + if (__glob_closedir_hook) + (*__glob_closedir_hook) (stream); + else + (void) closedir ((DIR *) stream); + errno = save; + } return nfound == 0 ? GLOB_NOMATCH : 0; memory_error: Index: linux/libc/sysdeps/linux/i386/sysdep.h diff -u linux/libc/sysdeps/linux/i386/sysdep.h:1.9 linux/libc/sysdeps/linux/i386/sysdep.h:1.10 --- linux/libc/sysdeps/linux/i386/sysdep.h:1.9 Wed Apr 10 00:56:27 1996 +++ linux/libc/sysdeps/linux/i386/sysdep.h Fri Nov 21 15:02:29 1997 @@ -168,6 +168,8 @@ #else /* __SVR4_I386_ABI_L1__ */ +#ifndef __GPROF__ + #define PSEUDO(name, syscall_name, args) \ .text; \ ENTRY (name) \ @@ -190,6 +192,38 @@ movl %ebp,%esp; \ popl %ebp; +#else + +#define PSEUDO(name, syscall_name, args) \ + .data; \ + .align 4; \ + LL(Lprof); \ + .long 0; \ + .text; \ + ENTRY (name) \ + pushl %ebp; \ + movl %esp,%ebp; \ + movl L(Lprof),%edx; \ + call mcount; \ + PUSH_##args \ + movl $(SYS_##syscall_name), %eax; \ + MOVE_##args \ + int $0x80; \ + movl %eax,%edx; \ + check_error L(Lexit); \ + negl %edx; \ + pushl %edx; \ + call ERRNO_LOCATION; \ + popl %edx; \ + movl %edx,(%eax); \ + movl $-1,%eax; \ + LL(Lexit) \ + POP_##args \ + movl %ebp,%esp; \ + popl %ebp; + +#endif /* __GPROF__ */ + #endif /* __SVR4_I386_ABI_L1__ */ #endif /* PIC */ Index: linux/libc/ufc/crypt_md5.c diff -u linux/libc/ufc/crypt_md5.c:1.1 linux/libc/ufc/crypt_md5.c:1.2 --- linux/libc/ufc/crypt_md5.c:1.1 Sun Jul 20 12:02:25 1997 +++ linux/libc/ufc/crypt_md5.c Fri Nov 21 15:02:30 1997 @@ -6,15 +6,21 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: crypt.c,v 1.3 1995/05/30 05:42:22 rgrimes Exp $ + * $Id: crypt_md5.c,v 1.1 1997/07/20 19:02:25 hjl Exp $ * */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$Header: /home/ncvs/src/lib/libcrypt/crypt.c,v 1.3 1995/05/30 05:42:22 rgrimes Exp $"; +static char rcsid[] = "$Header: /home/work/cvs/linux/libc/ufc/crypt_md5.c,v 1.1 1997/07/20 19:02:25 hjl Exp $"; #endif /* LIBC_SCCS and not lint */ +#if defined(_WIN32) +#include +#include +#else #include +#endif + #include /* #include */ #include "md5.h" Index: linux/libc/ufc/crypt_util.c diff -u linux/libc/ufc/crypt_util.c:1.3 linux/libc/ufc/crypt_util.c:1.4 --- linux/libc/ufc/crypt_util.c:1.3 Sun Jul 20 12:02:25 1997 +++ linux/libc/ufc/crypt_util.c Fri Nov 21 15:02:30 1997 @@ -27,7 +27,7 @@ #include #endif -#ifdef linux +#if defined(linux) || defined(_WIN32) #include #endif @@ -74,7 +74,7 @@ STATIC void clearmem (); void init_des (); #ifdef _UFC_32_ -TATIC void shuffle_sb (); +STATIC void shuffle_sb (); #endif /* _UFC_32_ */ #ifdef _UFC_64_ STATIC void shuffle_sb (); @@ -367,7 +367,7 @@ * bzero and some don't have memset. */ -#ifdef __STDC__ +#if defined(__STDC__) || defined(_WIN32) STATIC void clearmem( char *start, int cnt) #else Index: linux/include/Makefile diff -u linux/include/Makefile:1.3 linux/include/Makefile:1.4 --- linux/include/Makefile:1.3 Thu Sep 18 12:12:55 1997 +++ linux/include/Makefile Fri Nov 21 15:07:57 1997 @@ -211,6 +211,7 @@ sys/mtio.h \ sys/param.h \ sys/poll.h \ + sys/prctl.h \ sys/procfs.h \ sys/ptrace.h \ sys/queue.h \ Index: linux/include/_G_config.h diff -u linux/include/_G_config.h:1.99 linux/include/_G_config.h:1.100 --- linux/include/_G_config.h:1.99 Sat Nov 1 18:03:19 1997 +++ linux/include/_G_config.h Fri Nov 21 15:02:31 1997 @@ -2,10 +2,10 @@ #ifndef _G_config_h #define _G_config_h -#define _LINUX_C_LIB_VERSION "5.4.40" +#define _LINUX_C_LIB_VERSION "5.4.41" #define _LINUX_C_LIB_VERSION_MAJOR 5 #define _LINUX_C_LIB_VERSION_MINOR 4 -#define _LINUX_C_LIB_VERSION_SUBMINOR 40 +#define _LINUX_C_LIB_VERSION_SUBMINOR 41 #define _G_LIB_VERSION "2.7.2" @@ -98,5 +98,18 @@ #define _G_HAVE_LONG_DOUBLE_IO 1 #define _G_HAVE_PRINTF_FP 1 #define _G_HAVE_MMAP 1 + +#undef NULL +#if defined __GNUG__ && \ + (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8)) +#define __need_NULL +#include +#else +# if !defined(__cplusplus) +# define NULL ((void*)0) +# else +# define NULL (0) +# endif +#endif #endif /* !_G_config_h */ Index: linux/include/sys/prctl.h diff -u /dev/null linux/include/sys/prctl.h:1.1 --- /dev/null Fri Nov 21 15:52:50 1997 +++ linux/include/sys/prctl.h Fri Nov 21 15:02:32 1997 @@ -0,0 +1,38 @@ +/* prctl.h + + Header file for the Linux prctl(2) system call + + Copyright (C) 1997 Richard Gooch + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + Richard Gooch may be reached by email at rgooch@atnf.csiro.au + The postal address is: + Richard Gooch, c/o ATNF, P. O. Box 76, Epping, N.S.W., 2121, Australia. +*/ +#ifndef _SYS_PRCTL_H +#define _SYS_PRCTL_H + +#include + +#include /* The magic values come from here */ + +__BEGIN_DECLS + +extern int prctl __P((int option, ...)); + +__END_DECLS + +#endif /*_SYS_PRCTL_H*/