]> git.pld-linux.org Git - packages/efax.git/commitdiff
- patch from rawhide.
authorkloczek <kloczek@pld-linux.org>
Fri, 20 Apr 2001 09:26:40 +0000 (09:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    efax-nullptr.patch -> 1.1

efax-nullptr.patch [new file with mode: 0644]

diff --git a/efax-nullptr.patch b/efax-nullptr.patch
new file mode 100644 (file)
index 0000000..d98e68e
--- /dev/null
@@ -0,0 +1,30 @@
+--- efax-0.9/efax.c.nullptr    Sat Mar 27 09:24:10 1999
++++ efax-0.9/efax.c    Wed Jan 12 22:17:21 2000
+@@ -2186,6 +2186,7 @@
+   
+   /* print initial message to both stderr & stdout */
+   argv0 = argv[0] ;
++  memset((void *)lkfile, 0, sizeof(lkfile));  /* random effects on sparc linux */
+   verb[1] = "ewia" ;
+   msg ( "I " Version " " Copyright ) ;
+   argv0 = efaxbasename ( argv0 ) ;
+--- efax-0.9/efaxos.c.nullptr  Tue Mar  2 01:18:30 1999
++++ efax-0.9/efaxos.c  Wed Jan 12 22:16:04 2000
+@@ -482,7 +482,7 @@
+ { 
+   int err = 0 ;
+   char **p = lkfiles ;
+-  while ( *p && ! err ) 
++  while ( *p && **p && ! err ) 
+     if ( ( err = ttlock ( *p++, log ) ) == 3 ) err = 0 ; 
+   return err ; 
+ }
+@@ -495,7 +495,7 @@
+ { 
+   int err = 0, i ;
+   char **p = lkfiles ;
+-  while ( *p ) 
++  while ( *p && **p ) 
+     if ( ( i = ttunlock ( *p++ ) ) != 0 ) err = i ; 
+   return err ; 
+ }
This page took 0.142233 seconds and 4 git commands to generate.