projects
/
super-star-trek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c29dd2
)
On Stas Sergeev's suggestion, change where the logfile is written.
author
Eric S. Raymond
<esr@thyrsus.com>
Wed, 20 Sep 2006 20:50:53 +0000
(20:50 +0000)
committer
Eric S. Raymond
<esr@thyrsus.com>
Wed, 20 Sep 2006 20:50:53 +0000
(20:50 +0000)
doc/sst.xml
patch
|
blob
|
history
src/sst.c
patch
|
blob
|
history
diff --git
a/doc/sst.xml
b/doc/sst.xml
index a1ab4b667939e348cdc34a35012c4b6484a8c65e..fa2074fc63ad3149f8490c6358f9985a10368aa6 100644
(file)
--- a/
doc/sst.xml
+++ b/
doc/sst.xml
@@
-72,7
+72,7
@@
mode (all features enabled).</para>
</listitem>
</varlistentry>
<varlistentry>
-<term>sst-input.log</term>
+<term>
/usr/tmp/
sst-input.log</term>
<listitem>
<para>Where user input is saved to (send this with your bug reports).</para>
</listitem>
diff --git
a/src/sst.c
b/src/sst.c
index ed1fa124d16c4ca8ab83ebd30bac292ff938a865..ccf7470b64ea04fc4f39152e0fa75ff6e272f5a5 100644
(file)
--- 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);