1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/japanese/e2ps/files/patch-aa

34 lines
1.0 KiB
Plaintext
Raw Normal View History

*** e2ps.c.orig Wed Nov 4 22:44:30 1998
--- e2ps.c Wed Jan 5 11:45:18 2000
***************
*** 87,92 ****
--- 87,95 ----
void help(char *,char *); /* <20>إ<EFBFBD><D8A5>פȥ<D7A4><C8A5>顼 */
void quit(int); /* <20><><EFBFBD>ߤ<EFBFBD><DFA4>줿<EFBFBD><ECA4BF> */
+ extern char *euc(unsigned char *);
+ extern char *ps_font(char *, float *);
+
void main(int argc,char **argv) {
FILE *read;
struct tm *systime;
***************
*** 112,119 ****
/* <20><><EFBFBD>ա<EFBFBD><D5A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>򥻥å<F2A5BBA5> */
nowtime = time(NULL);
systime = localtime(&nowtime);
! sprintf(NOWTIME,"%s %.2d 19%.2d %.2d:%.2d:%.2d"
! , month(systime->tm_mon) , systime->tm_mday , systime->tm_year
, systime->tm_hour , systime->tm_min , systime->tm_sec);
/* <20>إå<D8A5> */
--- 115,122 ----
/* <20><><EFBFBD>ա<EFBFBD><D5A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>򥻥å<F2A5BBA5> */
nowtime = time(NULL);
systime = localtime(&nowtime);
! sprintf(NOWTIME,"%s %.2d %.4d %.2d:%.2d:%.2d"
! , month(systime->tm_mon) , systime->tm_mday , systime->tm_year+1900
, systime->tm_hour , systime->tm_min , systime->tm_sec);
/* <20>إå<D8A5> */