Gentoo Archives: gentoo-commits

From: "Charlie Shepherd (masterdriverz)" <masterdriverz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/efax/files: efax-0.9a-segfault.patch digest-efax-0.9a-r1
Date: Sun, 04 Nov 2007 15:04:19
Message-Id: E1IogeK-0001sG-2o@stork.gentoo.org
1 masterdriverz 07/11/04 14:40:28
2
3 Added: efax-0.9a-segfault.patch digest-efax-0.9a-r1
4 Log:
5 Fix some QA problems in the ebuild and add a patch by Keef Aragon to fix bug 141235
6 (Portage version: 2.1.3.16)
7
8 Revision Changes Path
9 1.1 net-misc/efax/files/efax-0.9a-segfault.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/efax/files/efax-0.9a-segfault.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/efax/files/efax-0.9a-segfault.patch?rev=1.1&content-type=text/plain
13
14 Index: efax-0.9a-segfault.patch
15 ===================================================================
16 diff -ur efax-0.9a-001114/efaxmsg.c efax-0.9a-001114/efaxmsg.c
17 --- efax-0.9a-001114/efaxmsg.c 1999-03-20 04:38:20.000000000 +0000
18 +++ efax-0.9a-001114/efaxmsg.c 2007-11-04 14:04:22.000000000 +0000
19 @@ -99,7 +99,6 @@
20 char *p ;
21
22 va_list ap ;
23 - va_start ( ap, fmt ) ;
24
25 if ( ! init ) {
26 logfile[0] = stderr ;
27 @@ -141,18 +140,17 @@
28 " ",
29 logfile[i] ) ;
30 }
31 + va_start ( ap, fmt ) ;
32 vfprintf( logfile[i], p, ap ) ;
33 + va_end ( ap ) ;
34 if ( flags & S ) fprintf ( logfile[i], " %s", strerror ( errno ) ) ;
35 if ( ! ( flags & NOLF ) ) fputs ( "\n", logfile[i] ) ;
36 atcol1[i] = flags & NOLF ? 0 : 1 ;
37 if ( ! ( flags & NOFLSH ) ) fflush ( logfile[i] ) ;
38 -
39 }
40
41 }
42
43 - va_end ( ap ) ;
44 -
45 return err ;
46 }
47
48
49
50
51 1.1 net-misc/efax/files/digest-efax-0.9a-r1
52
53 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/efax/files/digest-efax-0.9a-r1?rev=1.1&view=markup
54 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/efax/files/digest-efax-0.9a-r1?rev=1.1&content-type=text/plain
55
56 Index: digest-efax-0.9a-r1
57 ===================================================================
58 MD5 28abef47d9700eb1c20bf5770565aa7d efax-0.9a-001114.tar.gz 97402
59 RMD160 5235799c98243b3d0e597b7b7aecae7d5954fb79 efax-0.9a-001114.tar.gz 97402
60 SHA256 46abddf13f7565ea0c9d85b92845cdb32fb265c47cfc84c972e11a0219cda8ea efax-0.9a-001114.tar.gz 97402
61
62
63
64 --
65 gentoo-commits@g.o mailing list