Re: dvipdfm jpatch

名前: matsuda
日時: 2001-06-11 21:11:12
IPアドレス: 133.31.107.*

何度もすみません. %0+3ld を解釈できる処理系でも 2 文字分足りないような.... 前の修正は忘れて下さい. *** pdfdoc.c.orig Fri Oct 20 09:06:14 2000 --- pdfdoc.c Mon Jun 11 20:58:20 2001 *************** *** 238,244 **** #define timezone 0l #endif /* TM_GM_TOFF */ #endif /* HAVE_TIMEZONE */ ! static char date_string[22]; time_t current_time; struct tm *bd_time; if (debug) { --- 238,244 ---- #define timezone 0l #endif /* TM_GM_TOFF */ #endif /* HAVE_TIMEZONE */ ! static char date_string[24]; time_t current_time; struct tm *bd_time; if (debug) { *************** *** 246,252 **** } time(&current_time); bd_time = localtime(&current_time); ! sprintf (date_string, "D:%04d%02d%02d%02d%02d%02d%0+3ld'%02ld'", bd_time -> tm_year+1900, bd_time -> tm_mon+1, bd_time -> tm_mday, bd_time -> tm_hour, bd_time -> tm_min, bd_time -> tm_sec, -timezone/3600, timezone%3600); --- 246,252 ---- } time(&current_time); bd_time = localtime(&current_time); ! sprintf (date_string, "D:%04d%02d%02d%02d%02d%02d%+03ld'%02ld'", bd_time -> tm_year+1900, bd_time -> tm_mon+1, bd_time -> tm_mday, bd_time -> tm_hour, bd_time -> tm_min, bd_time -> tm_sec, -timezone/3600, timezone%3600);

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます)