From: Eric S. Raymond Date: Wed, 20 Sep 2006 20:50:53 +0000 (+0000) Subject: On Stas Sergeev's suggestion, change where the logfile is written. X-Git-Tag: 2.0~207 X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=commitdiff_plain;h=b45b4cfdbae07f0103fae675c2f8d17cdbab2352 On Stas Sergeev's suggestion, change where the logfile is written. --- diff --git a/doc/sst.xml b/doc/sst.xml index a1ab4b6..fa2074f 100644 --- a/doc/sst.xml +++ b/doc/sst.xml @@ -72,7 +72,7 @@ mode (all features enabled). -sst-input.log +/usr/tmp/sst-input.log Where user input is saved to (send this with your bug reports). diff --git a/src/sst.c b/src/sst.c index ed1fa12..ccf7470 100644 --- a/src/sst.c +++ b/src/sst.c @@ -639,7 +639,7 @@ int main(int argc, char **argv) } } /* where to save the input in case of bugs */ - logfp = fopen("sst-input.log", "w"); + logfp = fopen("/usr/tmp/sst-input.log", "w"); setlinebuf(logfp); fprintf(logfp, "seed %d\n", seed); srand(seed);