]> git.pld-linux.org Git - packages/efax.git/blame - efax-nullptr.patch
- dropped pre-cvs changelog
[packages/efax.git] / efax-nullptr.patch
CommitLineData
dc7a2f4c 1--- efax-0.9/efax.c.nullptr Sat Mar 27 09:24:10 1999
2+++ efax-0.9/efax.c Wed Jan 12 22:17:21 2000
3@@ -2186,6 +2186,7 @@
4
5 /* print initial message to both stderr & stdout */
6 argv0 = argv[0] ;
7+ memset((void *)lkfile, 0, sizeof(lkfile)); /* random effects on sparc linux */
8 verb[1] = "ewia" ;
9 msg ( "I " Version " " Copyright ) ;
10 argv0 = efaxbasename ( argv0 ) ;
11--- efax-0.9/efaxos.c.nullptr Tue Mar 2 01:18:30 1999
12+++ efax-0.9/efaxos.c Wed Jan 12 22:16:04 2000
13@@ -482,7 +482,7 @@
14 {
15 int err = 0 ;
16 char **p = lkfiles ;
17- while ( *p && ! err )
18+ while ( *p && **p && ! err )
19 if ( ( err = ttlock ( *p++, log ) ) == 3 ) err = 0 ;
20 return err ;
21 }
22@@ -495,7 +495,7 @@
23 {
24 int err = 0, i ;
25 char **p = lkfiles ;
26- while ( *p )
27+ while ( *p && **p )
28 if ( ( i = ttunlock ( *p++ ) ) != 0 ) err = i ;
29 return err ;
30 }
This page took 0.065401 seconds and 4 git commands to generate.