socsvn commit: r254248 - soc2013/dpl/head/contrib/bzip2

dpl at FreeBSD.org dpl at FreeBSD.org
Sat Jul 6 17:40:46 UTC 2013


Author: dpl
Date: Sat Jul  6 17:40:46 2013
New Revision: 254248
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=254248

Log:
  Little changes, I get SIGSEGV at line 1234.
  

Modified:
  soc2013/dpl/head/contrib/bzip2/bzip2.c

Modified: soc2013/dpl/head/contrib/bzip2/bzip2.c
==============================================================================
--- soc2013/dpl/head/contrib/bzip2/bzip2.c	Sat Jul  6 17:34:33 2013	(r254247)
+++ soc2013/dpl/head/contrib/bzip2/bzip2.c	Sat Jul  6 17:40:46 2013	(r254248)
@@ -1177,12 +1177,11 @@
 static 
 void compress ( Char *name )
 {
-#ifndef CAPSICUM
-   FILE  *inStr;
-   FILE  *outStr;
-#endif
 #if CAPSICUM
    pid_t forkpid;
+#elif
+   FILE  *inStr;
+   FILE  *outStr;
 #endif
    Int32 n, i;
    struct MY_STATS statBuf;
@@ -1387,13 +1386,13 @@
 static 
 void uncompress ( Char *name )
 {
-#ifndef CAPSICUM
-   FILE  *inStr;
-   FILE  *outStr;
-#endif
 #if CAPSICUM
    pid_t forkpid;
+#elif
+   FILE  *inStr;
+   FILE  *outStr;
 #endif
+
    Int32 n, i;
    Bool  magicNumberOK;
    Bool  cantGuess;
@@ -1616,7 +1615,9 @@
 static 
 void testf ( Char *name )
 {
+#  ifndef CAPSICUM
    FILE *inStr;
+#  endif
    Bool allOK;
    struct MY_STATS statBuf;
 


More information about the svn-soc-all mailing list