public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/efax/files: efax-0.9a-segfault.patch digest-efax-0.9a-r1
@ 2007-11-04 14:40 Charlie Shepherd (masterdriverz)
  0 siblings, 0 replies; only message in thread
From: Charlie Shepherd (masterdriverz) @ 2007-11-04 14:40 UTC (permalink / raw
  To: gentoo-commits

masterdriverz    07/11/04 14:40:28

  Added:                efax-0.9a-segfault.patch digest-efax-0.9a-r1
  Log:
  Fix some QA problems in the ebuild and add a patch by Keef Aragon to fix bug 141235
  (Portage version: 2.1.3.16)

Revision  Changes    Path
1.1                  net-misc/efax/files/efax-0.9a-segfault.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/efax/files/efax-0.9a-segfault.patch?rev=1.1&view=markup
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

Index: efax-0.9a-segfault.patch
===================================================================
diff -ur efax-0.9a-001114/efaxmsg.c efax-0.9a-001114/efaxmsg.c
--- efax-0.9a-001114/efaxmsg.c	1999-03-20 04:38:20.000000000 +0000
+++ efax-0.9a-001114/efaxmsg.c	2007-11-04 14:04:22.000000000 +0000
@@ -99,7 +99,6 @@
   char *p ;
   
   va_list ap ;
-  va_start ( ap, fmt ) ;
 
   if ( ! init ) {
     logfile[0] = stderr ;
@@ -141,18 +140,17 @@
 		" ",
 		logfile[i] ) ;
       }
+      va_start ( ap, fmt ) ;
       vfprintf( logfile[i], p, ap ) ;
+      va_end ( ap ) ;
       if ( flags & S ) fprintf ( logfile[i], " %s", strerror ( errno ) ) ;
       if ( ! ( flags & NOLF ) ) fputs ( "\n", logfile[i] ) ;
       atcol1[i] = flags & NOLF ? 0 : 1 ;
       if ( ! ( flags & NOFLSH ) ) fflush ( logfile[i] ) ;
-      
     }
     
   }
   
-  va_end ( ap ) ;
-  
   return err ;
 }
 



1.1                  net-misc/efax/files/digest-efax-0.9a-r1

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/efax/files/digest-efax-0.9a-r1?rev=1.1&view=markup
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

Index: digest-efax-0.9a-r1
===================================================================
MD5 28abef47d9700eb1c20bf5770565aa7d efax-0.9a-001114.tar.gz 97402
RMD160 5235799c98243b3d0e597b7b7aecae7d5954fb79 efax-0.9a-001114.tar.gz 97402
SHA256 46abddf13f7565ea0c9d85b92845cdb32fb265c47cfc84c972e11a0219cda8ea efax-0.9a-001114.tar.gz 97402



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-04 15:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-04 14:40 [gentoo-commits] gentoo-x86 commit in net-misc/efax/files: efax-0.9a-segfault.patch digest-efax-0.9a-r1 Charlie Shepherd (masterdriverz)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox