Jelajahi Sumber

fix handling of errors by callers of get_exec_pipes

Michael van Elst 22 tahun lalu
induk
melakukan
b7a4e06608
2 mengubah file dengan 13 tambahan dan 1 penghapusan
  1. 12 0
      snmp/snmp.patch
  2. 1 1
      snmp/snmp.spec

+ 12 - 0
snmp/snmp.patch

@@ -72,3 +72,15 @@
  #include <net-snmp/net-snmp-config.h>
  
  #ifdef solaris2
+--- agent/mibgroup/util_funcs.c.dist	2003-08-26 11:37:52.000000000 +0200
++++ agent/mibgroup/util_funcs.c	2003-08-26 11:39:00.000000000 +0200
+@@ -372,6 +372,9 @@
+     int             fd[2][2], i, cnt;
+     char            ctmp[STRMAX], *cptr1, *cptr2, argvs[STRMAX], **argv,
+         **aptr;
++
++    *pid = -1;  /* open_persist_pipe ignores return code but checks *pid */
++
+     /*
+      * Setup our pipes 
+      */

+ 1 - 1
snmp/snmp.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS]
 Group:        Network
 License:      BSD
 Version:      5.0.8
-Release:      20030819
+Release:      20030826
 
 #   package options
 %option       with_fsl      yes