diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1996-09-21 16:56:47 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1996-09-21 16:56:47 +0000 |
commit | 25b55e7f93128278842a944d83ca481a80b6773d (patch) | |
tree | 15e7cae606c69376a2c1e5fa1bc6e25728d088fa /games/yamsweeper/files/patch-aa | |
parent | Upgrade to +26 (diff) |
Yet another mine sweeper Ver. 1.9
Submitted by: Hidekazu Kuroki <hidekazu@cs.titech.ac.jp>
Notes
Notes:
svn path=/head/; revision=3834
Diffstat (limited to 'games/yamsweeper/files/patch-aa')
-rw-r--r-- | games/yamsweeper/files/patch-aa | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/games/yamsweeper/files/patch-aa b/games/yamsweeper/files/patch-aa new file mode 100644 index 000000000000..81f80f02c140 --- /dev/null +++ b/games/yamsweeper/files/patch-aa @@ -0,0 +1,20 @@ +diff -arcN ../yamsweeper-1.9.org/main.c ./main.c +*** ../yamsweeper-1.9.org/main.c Thu Nov 3 09:20:41 1994 +--- ./main.c Sat Sep 21 09:50:53 1996 +*************** +*** 118,124 **** + #endif + { + #if LOG_USER +! char* user = getenv(appData.identifier); + time_t tt = time(NULL); + char* ct = ctime(&tt); + FILE* fp = fopen(LOGFILE, "a"); +--- 118,124 ---- + #endif + { + #if LOG_USER +! char* user = (char *)getenv(appData.identifier); + time_t tt = time(NULL); + char* ct = ctime(&tt); + FILE* fp = fopen(LOGFILE, "a"); |