cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] cluster/gfs2/libgfs2 gfs2_log.c
@ 2007-10-11 16:34 rpeterso
  0 siblings, 0 replies; 2+ messages in thread
From: rpeterso @ 2007-10-11 16:34 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rpeterso at sourceware.org	2007-10-11 16:34:28

Modified files:
	gfs2/libgfs2   : gfs2_log.c 

Log message:
	Resolves: bz 240545 (addendum).

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/libgfs2/gfs2_log.c.diff?cvsroot=cluster&r1=1.4&r2=1.5

--- cluster/gfs2/libgfs2/gfs2_log.c	2007/08/15 22:28:18	1.4
+++ cluster/gfs2/libgfs2/gfs2_log.c	2007/10/11 16:34:28	1.5
@@ -165,10 +165,6 @@
 	int ret = 0;
 
 	*setonabort = 0;
-	va_start(args, format);
-
-	transform = _(format);
-
 	if(opts->yes)
 		return 1;
 	if(opts->no)
@@ -176,7 +172,10 @@
 
 	opts->query = TRUE;
 	while (1) {
+		va_start(args, format);
+		transform = _(format);
 		vprintf(transform, args);
+		va_end(args);
 
 		/* Make sure query is printed out */
 		fflush(NULL);



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Cluster-devel] cluster/gfs2/libgfs2 gfs2_log.c
@ 2007-10-11 16:35 rpeterso
  0 siblings, 0 replies; 2+ messages in thread
From: rpeterso @ 2007-10-11 16:35 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	rpeterso at sourceware.org	2007-10-11 16:35:24

Modified files:
	gfs2/libgfs2   : gfs2_log.c 

Log message:
	Resolves: bz 240545 (addendum).

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/libgfs2/gfs2_log.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.2.2.2&r2=1.2.2.3

--- cluster/gfs2/libgfs2/gfs2_log.c	2007/08/15 22:31:00	1.2.2.2
+++ cluster/gfs2/libgfs2/gfs2_log.c	2007/10/11 16:35:23	1.2.2.3
@@ -165,10 +165,6 @@
 	int ret = 0;
 
 	*setonabort = 0;
-	va_start(args, format);
-
-	transform = _(format);
-
 	if(opts->yes)
 		return 1;
 	if(opts->no)
@@ -176,7 +172,10 @@
 
 	opts->query = TRUE;
 	while (1) {
+		va_start(args, format);
+		transform = _(format);
 		vprintf(transform, args);
+		va_end(args);
 
 		/* Make sure query is printed out */
 		fflush(NULL);



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-11 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-11 16:34 [Cluster-devel] cluster/gfs2/libgfs2 gfs2_log.c rpeterso
  -- strict thread matches above, loose matches on Subject: below --
2007-10-11 16:35 rpeterso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).