On Stas Sergeev's suggestion, change where the logfile is written.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 20 Sep 2006 20:50:53 +0000 (20:50 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 20 Sep 2006 20:50:53 +0000 (20:50 +0000)
doc/sst.xml
src/sst.c

index a1ab4b667939e348cdc34a35012c4b6484a8c65e..fa2074fc63ad3149f8490c6358f9985a10368aa6 100644 (file)
@@ -72,7 +72,7 @@ mode (all features enabled).</para>
 </listitem>
 </varlistentry>
 <varlistentry>
 </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>
 <listitem>
 <para>Where user input is saved to (send this with your bug reports).</para>
 </listitem>
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 */
        }
     }
     /* 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);
     setlinebuf(logfp);
     fprintf(logfp, "seed %d\n", seed);
     srand(seed);