version 1.164, 2006/04/12 22:54:23 |
version 1.165, 2006/04/13 19:16:15 |
|
|
u_int j, found; |
u_int j, found; |
char *c, *kwstr, *start, *end, *tbuf; |
char *c, *kwstr, *start, *end, *tbuf; |
char expbuf[256], buf[256]; |
char expbuf[256], buf[256]; |
struct tm *tb; |
struct tm tb; |
char *fmt; |
char *fmt; |
|
|
kwtype = 0; |
kwtype = 0; |
|
|
/* |
/* |
* -z support for RCS |
* -z support for RCS |
*/ |
*/ |
tb = &rdp->rd_date; |
tb = rdp->rd_date; |
if (timezone_flag != NULL) |
if (timezone_flag != NULL) |
tb = rcs_set_tz(timezone_flag, rdp); |
rcs_set_tz(timezone_flag, rdp, &tb); |
|
|
/* |
/* |
* Keyword formats: |
* Keyword formats: |
|
|
else |
else |
fmt = "%Y/%m/%d %H:%M:%S "; |
fmt = "%Y/%m/%d %H:%M:%S "; |
|
|
strftime(buf, sizeof(buf), fmt, tb); |
strftime(buf, sizeof(buf), fmt, &tb); |
strlcat(expbuf, buf, sizeof(expbuf)); |
strlcat(expbuf, buf, sizeof(expbuf)); |
} |
} |
|
|