]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add i386/dl-brk.S, mips/dl-brk.S, and sparc/dl-brk.S.
authorUlrich Drepper <drepper@redhat.com>
Wed, 28 Aug 2002 08:41:52 +0000 (08:41 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 28 Aug 2002 08:41:52 +0000 (08:41 +0000)
15 files changed:
iconvdata/Makefile
libio/fileops.c
locale/Makefile
misc/sys/cdefs.h
sysdeps/generic/Dist
sysdeps/gnu/Dist
sysdeps/mach/hurd/Dist
sysdeps/powerpc/Dist
sysdeps/unix/Dist
sysdeps/unix/arm/Dist [new file with mode: 0644]
sysdeps/unix/bsd/Dist
sysdeps/unix/bsd/hp/Dist [new file with mode: 0644]
sysdeps/unix/bsd/osf/Dist [new file with mode: 0644]
sysdeps/unix/bsd/sun/Dist [new file with mode: 0644]
sysdeps/unix/sysv/linux/Dist

index f10644a56debb8feb9ee58a715a18746db27dbda..3996d7081443e97e615886a30e6693bb31da5d2a 100644 (file)
@@ -165,7 +165,8 @@ distribute := gconv-modules extra-module.mk gap.awk gaptab.awk                  \
              koi8-t.c georgian-ps.c georgian-academy.c iso-ir-209.c        \
              mac-sami.c ibm1160.c ibm1160.h ibm1161.c ibm1161.h            \
              ibm1163.c ibm1163.h ibm1164.c ibm1164.h jisx0213.c jisx0213.h \
-             euc-jisx0213.c shift_jisx0213.c iso-2022-jp-3.c
+             euc-jisx0213.c shift_jisx0213.c iso-2022-jp-3.c               \
+             tcvn5712-1.c armscii-8.c
 
 # We build the transformation modules only when we build shared libs.
 ifeq (yes,$(build-shared))
index 720796a72a1e4d8d3cc8f22787f14a86cb0a2567..e9e919306d8857fb3269b018ebed6b7aaa2aa046 100644 (file)
@@ -237,7 +237,7 @@ _IO_file_open (fp, filename, posix_mode, prot, read_write, is32not64)
     return NULL;
   fp->_fileno = fdesc;
   _IO_mask_flags (fp, read_write,_IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING);
-  if (read_write & _IO_IS_APPENDING)
+  if ((read_write & _IO_IS_APPENDING) && (read_write & _IO_NO_READS))
     if (_IO_SEEKOFF (fp, (_IO_off64_t)0, _IO_seek_end, _IOS_INPUT|_IOS_OUTPUT)
        == _IO_pos_BAD && errno != ESPIPE)
       {
index f01080e3cdc72fde8797116f9a78cff52047f071..0a5cac0043d65f2494d0b7ba24d1a8cc3a47f3d8 100644 (file)
@@ -26,7 +26,7 @@ distribute    = localeinfo.h categories.def iso-639.def iso-3166.def \
                  iso-4217.def weight.h weightwc.h strlen-hash.h elem-hash.h \
                  indigits.h indigitswc.h outdigits.h outdigitswc.h \
                  coll-lookup.h C-translit.h.in C-translit.h gen-translit.pl \
-                 locarchive.h \
+                 locarchive.h hashval.h \
                  $(addprefix programs/, \
                              locale.c localedef.c \
                              $(localedef-modules:=.c) $(locale-modules:=.c) \
index ff9a891e52b7535436fd075a26d497d17ebebce5..72dbfde9cf454055d0ae080c725c39a0f9747af8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992,93,94,95,96,97,98,99,2000,2001 Free Software Foundation, Inc.
+/* Copyright (C) 1992-2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 #endif
 
 
+/* The standard library needs the functions from the ISO C90 standard
+   in the std namespace.  At the same time we want to be safe for
+   future changes and we include the ISO C99 code in the non-standard
+   namespace __c99.  The C++ wrapper header take case of adding the
+   definitions to the global namespace.  */
+#if defined __cplusplus && defined _GLIBCPP_USE_NAMESPACES
+# define __BEGIN_NAMESPACE_STD namespace std {
+# define __END_NAMESPACE_STD   }
+# define __USING_NAMESPACE_STD(name) using std::name;
+# define __BEGIN_NAMESPACE_C99 namespace __c99 {
+# define __END_NAMESPACE_C99   }
+# define __USING_NAMESPACE_C99(name) using __c99::name;
+#else
+/* For compatibility we do not add the declarations into any
+   namespace.  They will end up in the global namespace which is what
+   old code expects.  */
+# define __BEGIN_NAMESPACE_STD
+# define __END_NAMESPACE_STD
+# define __USING_NAMESPACE_STD(name)
+# define __BEGIN_NAMESPACE_C99
+# define __END_NAMESPACE_C99
+# define __USING_NAMESPACE_C99(name)
+#endif
+
+
 /* Support for bounded pointers.  */
 #ifndef __BOUNDED_POINTERS__
 # define __bounded     /* nothing */
index 0eb20a2bf358245c3be754167e28f5438724c3dc..1837474108feee74a4a055087c22bb04152cd23b 100644 (file)
@@ -1,6 +1,8 @@
 signame.c
 signame.h
 det_endian.c
+dl-brk.c
+dl-sbrk.c
 entry.h
 errno-loc.c
 getresgid.c
index 7055326e2e87ae4f2506007a141549dc3f39c136..9442793f715218c81598171ca6abb26a79e16768 100644 (file)
@@ -1,4 +1,6 @@
 errlist.awk
+errlist-compat.c
+errlist-compat.awk
 utmpx.h
 bits/utmpx.h
 netinet/tcp.h
index 2331c52aea98abc50aa92baa74db78a2ef1c759b..52c84297cbe571a7c12977443ab6dae38252f81d 100644 (file)
@@ -11,6 +11,7 @@ net/if_ether.h
 net/if_ppp.h
 net/route.h
 nfs/nfs.h
+set-init.c
 siglist.h
 statfsconv.c
 xstatconv.c
index 9d84c5bd51250edf2a7152f6f1ab193cbde28911..ef137361a4890dac5400b5d1798d93d5b5aa0bdd 100644 (file)
@@ -1,5 +1,7 @@
+divdi3.c
 dl-machine.c
 dl-start.S
+libgcc-compat.S
 ppc-mcount.S
 gprsave1.S
 gprsave0.S
index fbd1f4d9f59d3878dd62402d7024a51612580bc9..8aec6989e6e60a77afcbed298c919f2fcd2d556b 100644 (file)
@@ -7,3 +7,6 @@ make_errlist.c
 mk-local_lim.c
 s-proto.S
 make-syscalls.sh
+i386/dl-brk.S
+mips/dl-brk.S
+sparc/dl-brk.S
diff --git a/sysdeps/unix/arm/Dist b/sysdeps/unix/arm/Dist
new file mode 100644 (file)
index 0000000..7785d5e
--- /dev/null
@@ -0,0 +1 @@
+dl-brk.S
index ab3c4f491edd19944cac495159123222eb5ffdd2..e81952e015f81549b70ed7bf7d5b377a5a055c3b 100644 (file)
@@ -2,3 +2,4 @@ setrgid.c
 setruid.c
 bsdstat.h
 bsdtty.h
+vax/dl-brk.S
diff --git a/sysdeps/unix/bsd/hp/Dist b/sysdeps/unix/bsd/hp/Dist
new file mode 100644 (file)
index 0000000..ccd3a61
--- /dev/null
@@ -0,0 +1 @@
+m68k/dl-brk.S
diff --git a/sysdeps/unix/bsd/osf/Dist b/sysdeps/unix/bsd/osf/Dist
new file mode 100644 (file)
index 0000000..e792f44
--- /dev/null
@@ -0,0 +1 @@
+alpha/dl-brk.S
diff --git a/sysdeps/unix/bsd/sun/Dist b/sysdeps/unix/bsd/sun/Dist
new file mode 100644 (file)
index 0000000..ccd3a61
--- /dev/null
@@ -0,0 +1 @@
+m68k/dl-brk.S
index 15407336adfb4280a34c43674e141a25ca721258..2d04d5c62724d43f01b9fe1d6bbf4400ad23e90b 100644 (file)
@@ -1,7 +1,6 @@
 bits/initspin.h
 bits/pthreadtypes.h
 cmsg_nxthdr.c
-errlist.h
 getdirentries.c
 getdirentries64.c
 ipc_priv.h