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

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

- Apply to 2.0


Index: dbutils.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slon/dbutils.c,v
retrieving revision 1.30.2.3
retrieving revision 1.30.2.4
diff -C2 -d -r1.30.2.3 -r1.30.2.4
*** dbutils.c	17 Aug 2009 17:09:58 -0000	1.30.2.3
--- dbutils.c	9 Dec 2009 20:58:15 -0000	1.30.2.4
***************
*** 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