Update of /cvsroot/pypgsql/pypgsql
In directory sc8-pr-cvs1:/tmp/cvs-serv18537
Modified Files:
pgversion.c
Log Message:
26NOV2002 bga Allowed for release canidate (rcN) version strings.
Index: pgversion.c
===================================================================
RCS file: /cvsroot/pypgsql/pypgsql/pgversion.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** pgversion.c 2 Oct 2002 04:08:38 -0000 1.18
--- pgversion.c 1 Dec 2002 22:10:51 -0000 1.19
***************
*** 32,35 ****
--- 32,36 ----
| Date Ini Description |
| --------- --- ------------------------------------------------------- |
+ | 26NOV2002 bga Allowed for release canidate (rcN) version strings. |
| 16SEP2002 gh Reflect the change to the unconditionally included |
| pg_strtok_r. |
***************
*** 183,187 ****
if (((*last == 'a') || (*last == 'b')) && isdigit(*(last+1)))
return (errno != 0);
!
return ((errno != 0) || (*last != (char)0));
}
--- 184,192 ----
if (((*last == 'a') || (*last == 'b')) && isdigit(*(last+1)))
return (errno != 0);
!
! /* Allow for release canidates */
! if ((*last == 'r') && (*(last+1) == 'c') && isdigit(*(last+2)))
! return (errno != 0);
!
return ((errno != 0) || (*last != (char)0));
}
|