Lines 1-6
Link Here
|
1 |
--- score.C.orig 2002-06-16 00:20:30.000000000 +0900 |
1 |
--- score.C.orig 2002-06-15 15:20:30 UTC |
2 |
+++ score.C 2011-12-14 16:34:35.000000000 +0900 |
2 |
+++ score.C |
3 |
@@ -73,7 +73,7 @@ |
3 |
@@ -73,7 +73,7 @@ ScoreRecord::ReadField(FILE *fp, int kan |
4 |
date[8] = '\0'; |
4 |
date[8] = '\0'; |
5 |
strncpy(time, &buffer[53], 8); |
5 |
strncpy(time, &buffer[53], 8); |
6 |
time[8] = '\0'; |
6 |
time[8] = '\0'; |
Lines 9-15
Link Here
|
9 |
for(int i=1; i<8; i++) { |
9 |
for(int i=1; i<8; i++) { |
10 |
date[i-1] = date[i]; |
10 |
date[i-1] = date[i]; |
11 |
} |
11 |
} |
12 |
@@ -372,12 +372,12 @@ |
12 |
@@ -372,12 +372,12 @@ Score::Register(void) |
13 |
time_t t; |
13 |
time_t t; |
14 |
struct tm *tp; |
14 |
struct tm *tp; |
15 |
struct passwd *pw; |
15 |
struct passwd *pw; |
Lines 24-27
Link Here
|
24 |
if ((po = strchr(gecos, ',')) != NULL) |
24 |
if ((po = strchr(gecos, ',')) != NULL) |
25 |
*po = 0; |
25 |
*po = 0; |
26 |
sprintf(namebuf, "%-8.8s (%s)", pw->pw_name, gecos); |
26 |
sprintf(namebuf, "%-8.8s (%s)", pw->pw_name, gecos); |
27 |
|
|
|