Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
Stupid bugs in set.c:
gnuplot> set output " outfile"
gnuplot> set output " die"
Segmentation fault (core dumped)
and similarly for 'set print'.
The code was very sloppy; it allocated a string to hold the filename,
and then advanced the string pointer over the initial whitespace.
When the string is freed, boom!
I have removed this "feature" from the two places that used it.
Is it important enough to remove whitespace that we should have a
separate, more correct, routine that does so and share it for all
places that a filename is read in?