Index: contrib/pg_standby/pg_standby.c
===================================================================
RCS file: /projects/cvsroot/pgsql/contrib/pg_standby/pg_standby.c,v
retrieving revision 1.23
diff -c -r1.23 pg_standby.c
*** contrib/pg_standby/pg_standby.c	11 Jun 2009 14:48:51 -0000	1.23
--- contrib/pg_standby/pg_standby.c	18 Jun 2009 08:45:19 -0000
***************
*** 448,454 ****
  		/*
  		 * Turn it into a "smart" trigger by truncating the file. Otherwise if
  		 * the server asks us again to restore a segment that was restored
! 		 * restored already, we would return "not found" and upset the server.
  		 */
  		if (ftruncate(fd, 0) < 0)
  		{
--- 448,454 ----
  		/*
  		 * Turn it into a "smart" trigger by truncating the file. Otherwise if
  		 * the server asks us again to restore a segment that was restored
! 		 * already, we would return "not found" and upset the server.
  		 */
  		if (ftruncate(fd, 0) < 0)
