Date: Tue, 9 Nov 1999 09:04:10 -0800 (PST) From: issei@guru.gr.jp To: freebsd-gnats-submit@freebsd.org Subject: ports/14801: nethack, jnethack-qt, jnethackのY2K Message-ID: <19991109170410.ED85214F60@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 14801 >Category: ports >Synopsis: nethack, jnethack-qt, jnethackのY2K >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 9 09:10:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: 沼田一成 >Release: FreeBSD-3.3 >Organization: GURU GURU >Environment: FreeBSD konbu.guru.gr.jp 3.3-STABLE FreeBSD 3.3-STABLE #2: Sat Oct 23 08:58:44 J ST 1999 issei@konbu.guru.gr.jp:/usr/src/sys/compile/KONBu i386 >Description: NetHackならびにJNetHackはY2Kがあります。 2000年になった瞬間ゲームを終了するたびにcoreを吐き、スコアを 登録することができなくなります。 >How-To-Repeat: 2000年以降に時間を設定して実行するだけ。 >Fix: いまのところ問題があると考えられるのは src/hacklib.cのyymmdd という関数だけです。この関数はログとスコアを書きこむときにしか 使っていないので、 Sprintf(datestr, "%04d%02d%02d", lt->tm_year % 100, lt->tm_mon + 1, lt->tm_mday); とすれば問題ないでしょう。 JNetHackに関しては新しい版にいれかえても解決できます。 http://www.jnethack.org/ から入手することが可能です。 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991109170410.ED85214F60>