[Glibc-bsd-commits] r1589 - in trunk/glibc-2.3-head: .
sysdeps/kfreebsd/bits
Petr Salinger
ps-guest at costa.debian.org
Mon Jun 12 12:19:42 UTC 2006
Author: ps-guest
Date: 2006-06-12 12:19:42 +0000 (Mon, 12 Jun 2006)
New Revision: 1589
Added:
trunk/glibc-2.3-head/glibc24-memusage_no_mremap.diff
Modified:
trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/sched.h
Log:
* glibc 2.4 fixes
Added: trunk/glibc-2.3-head/glibc24-memusage_no_mremap.diff
===================================================================
--- trunk/glibc-2.3-head/glibc24-memusage_no_mremap.diff 2006-06-11 21:48:08 UTC (rev 1588)
+++ trunk/glibc-2.3-head/glibc24-memusage_no_mremap.diff 2006-06-12 12:19:42 UTC (rev 1589)
@@ -0,0 +1,19 @@
+--- malloc/memusage.c~ 2006-06-12 15:45:13.000000000 +0200
++++ malloc/memusage.c 2006-06-12 15:45:13.000000000 +0200
+@@ -650,6 +650,8 @@
+ return result;
+ }
+
++#include <_G_config.h>
++#ifdef _G_HAVE_MREMAP
+
+ /* `mmap' replacement. We do not have to keep track of the sizesince
+ `munmap' will get it as a parameter. */
+@@ -715,6 +717,7 @@
+ /* Return the pointer to the user buffer. */
+ return result;
+ }
++#endif
+
+
+ /* `munmap' replacement. */
Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/sched.h
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/sched.h 2006-06-11 21:48:08 UTC (rev 1588)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/sched.h 2006-06-12 12:19:42 UTC (rev 1589)
@@ -44,10 +44,10 @@
# define CLONE_FS 0x00000200 /* Set if fs info shared between processes. */
# define CLONE_FILES 0x00000400 /* Set if open files shared between processes. */
# define CLONE_SIGHAND 0x00000800 /* Set if signal handlers shared. */
-# define CLONE_PID 0x00001000 /* Set if pid shared. */
# define CLONE_PTRACE 0x00002000 /* Set if tracing continues on the child. */
# define CLONE_VFORK 0x00004000 /* Set if the parent wants the child to
wake it up on mm_release. */
+# define CLONE_SYSVSEM 0x00040000 /* share system V SEM_UNDO semantics */
#endif
__BEGIN_DECLS
More information about the Glibc-bsd-commits
mailing list