]> git.pld-linux.org Git - packages/db3.git/commitdiff
- outdated.
authorkloczek <kloczek@pld-linux.org>
Fri, 17 Nov 2000 08:12:40 +0000 (08:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    db3-align.patch -> 1.2
    db3-linux-threads.patch -> 1.2
    db3-shmget.patch -> 1.2

db3-align.patch [deleted file]
db3-linux-threads.patch [deleted file]
db3-shmget.patch [deleted file]

diff --git a/db3-align.patch b/db3-align.patch
deleted file mode 100644 (file)
index ea9aeee..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-*** env/db_salloc.c.orig       Tue Oct 19 17:22:12 1999
---- env/db_salloc.c    Wed Dec 31 19:00:00 1969
-***************
-*** 94,101 ****
-           */
-          ++len;
-  #endif
-!      align = align <= sizeof(size_t) ?
-!          sizeof(size_t) : ALIGN(align, sizeof(size_t));
-  
-       /* Walk the list, looking for a slot. */
-       for (elp = SH_LIST_FIRST((struct __head *)p, __data);
---- 94,100 ----
-           */
-          ++len;
-  #endif
-!      align = 8;
-  
-       /* Walk the list, looking for a slot. */
-       for (elp = SH_LIST_FIRST((struct __head *)p, __data);
diff --git a/db3-linux-threads.patch b/db3-linux-threads.patch
deleted file mode 100644 (file)
index e59c982..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
---- db-3.0.55/mutex/mut_pthread.c.linux        Mon Apr 24 09:25:36 2000
-+++ db-3.0.55/mutex/mut_pthread.c      Mon Apr 24 09:36:31 2000
-@@ -86,16 +86,22 @@
-       if (!F_ISSET(mutexp, MUTEX_THREAD)) {
-               ret = pthread_condattr_init(&condattr);
-+/* XXX linux threads implementation has not attributes for conditions. */
-+#if !defined(__linux__)
-               if (ret == 0)
-                       ret = pthread_condattr_setpshared(
-                           &condattr, PTHREAD_PROCESS_SHARED);
-+#endif
-               condattrp = &condattr;
-               if (ret == 0)
-                       ret = pthread_mutexattr_init(&mutexattr);
-+/* XXX linux threads implementation has not attributes for mutexes. */
-+#if !defined(__linux__)
-               if (ret == 0)
-                       ret = pthread_mutexattr_setpshared(
-                           &mutexattr, PTHREAD_PROCESS_SHARED);
-+#endif
-               mutexattrp = &mutexattr;
-       }
diff --git a/db3-shmget.patch b/db3-shmget.patch
deleted file mode 100644 (file)
index 20c27bf..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---- db-3.0.55/os/os_map.c.jbj  Sat Apr  1 16:13:49 2000
-+++ db-3.0.55/os/os_map.c      Sat Apr  1 16:16:19 2000
-@@ -33,6 +33,8 @@
- static int __os_map __P((DB_ENV *, char *, DB_FH *, size_t, int, int, void **));
- #endif
-+int __os_shmget_perms = 0600;
-+
- /*
-  * __os_r_sysattach --
-  *    Create/join a shared memory region.
-@@ -68,7 +70,7 @@
- #endif
- #if defined(HAVE_SHMGET)
-               if (F_ISSET(infop, REGION_CREATE) &&
--                 (rp->segid = shmget(0, rp->size, IPC_PRIVATE | 0600)) == -1)
-+                 (rp->segid = shmget(0, rp->size, IPC_PRIVATE | __os_shmget_perms)) == -1)
-                       return (__os_get_errno());
-               if ((infop->addr = shmat(rp->segid, NULL, 0)) == (void *)-1) {
This page took 0.032893 seconds and 4 git commands to generate.