]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 4 Mar 2003 21:28:14 +0000 (21:28 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 4 Mar 2003 21:28:14 +0000 (21:28 +0000)
* pthread_attr_setstack.c: Moved to...
* sysdeps/pthread/pthread_attr_setstack.c: ...here.  New file.
* pthread_attr_setstackaddr.c: Moved to...
* sysdeps/pthread/pthread_attr_setstackaddr.c: ...here.  New file.

nptl/ChangeLog
nptl/sysdeps/pthread/pthread_attr_setstack.c [moved from nptl/pthread_attr_setstack.c with 92% similarity]
nptl/sysdeps/pthread/pthread_attr_setstackaddr.c [moved from nptl/pthread_attr_setstackaddr.c with 92% similarity]

index 8756489cad628bcee63a347f2d1bfca0acff0586..daa6b4e46c1abee09ee4be4715357d32a299cf43 100644 (file)
@@ -1,5 +1,10 @@
 2003-03-04  Ulrich Drepper  <drepper@redhat.com>
 
+       * pthread_attr_setstack.c: Moved to...
+       * sysdeps/pthread/pthread_attr_setstack.c: ...here.  New file.
+       * pthread_attr_setstackaddr.c: Moved to...
+       * sysdeps/pthread/pthread_attr_setstackaddr.c: ...here.  New file.
+
        * pthread_create.c: Define __pthread_keys using nocommon
        attribute, not by placing it explicitly in bss.
        Remove DEFINE_DEALLOC definition.  Not needed anymore.
similarity index 92%
rename from nptl/pthread_attr_setstack.c
rename to nptl/sysdeps/pthread/pthread_attr_setstack.c
index 811ab6979167644ffabcfd0b6577d8d31b5b93e5..b5105f1fc15c453428ac202ea261f3e062103e45 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -38,6 +38,10 @@ __pthread_attr_setstack (attr, stackaddr, stacksize)
   if (stacksize < PTHREAD_STACK_MIN)
     return EINVAL;
 
+#ifdef EXTRA_PARAM_CHECKS
+  EXTRA_PARAM_CHECKS;
+#endif
+
   iattr->stacksize = stacksize;
   iattr->stackaddr = (char *) stackaddr + stacksize;
   iattr->flags |= ATTR_FLAG_STACKADDR;
similarity index 92%
rename from nptl/pthread_attr_setstackaddr.c
rename to nptl/sysdeps/pthread/pthread_attr_setstackaddr.c
index a72511225f7b6d456e79289f1a30965e1ce2e36e..0d7a7c0eb1aca2e145c14ceca473c79a07bea421 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -29,6 +29,10 @@ __pthread_attr_setstackaddr (attr, stackaddr)
 {
   struct pthread_attr *iattr;
 
+#ifdef EXTRA_PARAM_CHECKS
+  EXTRA_PARAM_CHECKS;
+#endif
+
   assert (sizeof (*attr) >= sizeof (struct pthread_attr));
   iattr = (struct pthread_attr *) attr;