=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/Attic/rcstime.c,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/cvs/Attic/rcstime.c 2006/04/17 06:33:22 1.5 --- src/usr.bin/cvs/Attic/rcstime.c 2006/05/27 03:30:31 1.6 *************** *** 1,4 **** ! /* $OpenBSD: rcstime.c,v 1.5 2006/04/17 06:33:22 ray Exp $ */ /* * Copyright (c) 2006 Joris Vink * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: rcstime.c,v 1.6 2006/05/27 03:30:31 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * All rights reserved. *************** *** 33,39 **** rcs_set_tz(char *tz, struct rcs_delta *rdp, struct tm *tb) { int tzone; ! int pos; char *h, *m; struct tm *ltb; time_t now; --- 33,39 ---- rcs_set_tz(char *tz, struct rcs_delta *rdp, struct tm *tb) { int tzone; ! int neg, pos; char *h, *m; struct tm *ltb; time_t now; *************** *** 44,52 **** ltb->tm_hour += ((int)ltb->tm_gmtoff/3600); memcpy(tb, ltb, sizeof(struct tm)); } else { ! pos = 0; switch (*tz) { case '-': break; case '+': pos = 1; --- 44,53 ---- ltb->tm_hour += ((int)ltb->tm_gmtoff/3600); memcpy(tb, ltb, sizeof(struct tm)); } else { ! neg = pos = 0; switch (*tz) { case '-': + neg = 1; break; case '+': pos = 1;