Ignore:
Timestamp:
Feb 15, 2011, 2:32:20 AM (8 years ago)
Author:
bruno
Message:
  • Fix buffer patch wrt new .tgz pointed to
File:
1 edited

Legend:

Unmodified
Added
Removed
  • projects/buffer/pbconf/1.19/buffer/pbpatch/01-debian-patches.all

    r551 r1188  
    22--- buffer-1.19.orig/buffer.c   2000-01-04 03:46:11.000000000 +0100
    33+++ buffer-1.19/buffer.c    2008-09-20 01:19:18.000000000 +0200
    4 @@ -81,7 +81,7 @@
     4@@ -78,7 +78,7 @@
    55  * Christoph Wicki <wicki@iis.ethz.ch>
    66  *
     
    1111  * Revision 1.6  1992/04/07  19:57:30  lmjm
    1212  * Added Kevins -B and -p options.
    13 @@ -96,7 +96,7 @@
     13@@ -93,7 +93,7 @@
    1414  * Make sofar printing size an option.
    1515  *
     
    2020  * Now tries to fill this with blocks.
    2121  * reader waits for writer to terminate and then frees the shared mem and sems.
    22 @@ -112,6 +112,9 @@
     22@@ -109,6 +109,9 @@
    2323  * Initial revision
    2424  *
     
    3030 #include <stdio.h>
    3131 #include <signal.h>
    32 @@ -123,15 +126,16 @@
     32@@ -120,17 +123,16 @@
    3333 #include <sys/shm.h>
    3434 #include <sys/sem.h>
     
    3838 
    3939 #ifndef lint
    40  static char *rcsid = "$Header: /usr/src/build/buffer/buffer.c,v 1.1 2000/01/04 02:45:48 root Exp $";
     40 static char *rcsid = "$Header: /a/swan/home/swan/staff/csg/lmjm/src/buffer/RCS/buffer.c,v 1.19 1995/08/24 17:46:28 lmjm Exp lmjm $";
    4141 #endif
    4242 
    4343-#ifndef __alpha
    44 +#ifndef __linux__
     44-#ifndef __ia64
     45+#ifndef __linux
    4546 extern char *shmat();
     47-#endif /* __ia64 */
    4648-#endif /* __alpha */
    47 +#endif /* __linux__ */
     49+#endif /* __linux */
    4850 
    4951 /* General macros */
     
    545547        return;
    546548 
    547 -   if( semctl( sem_id, 0, IPC_RMID, NULL ) == -1 ){
     549-   if( semctl( sem_id, 0, IPC_RMID, (union semun)0 ) == -1 ){
    548550+   arg.val = 0;
    549551+   if( semctl( sem_id, 0, IPC_RMID, arg ) == -1 ){
Note: See TracChangeset for help on using the changeset viewer.