Chris Browne cbbrowne at lists.slony.info
Wed Dec 9 12:58:04 PST 2009
Update of /home/cvsd/slony1/slony1-engine/src/slon
In directory main.slony.info:/tmp/cvs-serv20002/src/slon

Modified Files:
	dbutils.c 
Log Message:
Changed dbutils to use INT64_FORMAT and int64 for handling %L.

- Apply to HEAD


Index: dbutils.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slon/dbutils.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** dbutils.c	17 Aug 2009 17:25:50 -0000	1.33
--- dbutils.c	9 Dec 2009 20:58:02 -0000	1.34
***************
*** 494,498 ****
  
  					case 'L':
! 						sprintf(buf, "%lld", va_arg(ap, int));
  						dstring_append(dsp, buf);
  						fmt++;
--- 494,498 ----
  
  					case 'L':
! 						sprintf(buf, INT64_FORMAT, va_arg(ap, int64));
  						dstring_append(dsp, buf);
  						fmt++;



More information about the Slony1-commit mailing list