From bug-octave-request at bevo dot che dot wisc dot edu Fri Dec 15 16:00:39 2000 Subject: Unidentified subject! From: "John W. Eaton" To: Steve Sullivan Cc: bug-octave at bevo dot che dot wisc dot edu Date: Fri, 15 Dec 2000 16:00:19 -0600 On 15-Dec-2000, Steve Sullivan wrote: | To: bug-octave at bevo dot che dot wisc dot edu | Cc: sullivan | Subject: binary ctl- at embedded before the numeric output | | Bug report for Octave 2.1.32 configured for %OCTAVE_CANONICAL_HOST_TYPE% | | Description: | ----------- | | | First, many thanks for an excellent tool: I use Octave daily! | | I'm testing 2.1.32, and notice that sometimes the output has | a binary ctl- at embedded before the numeric output. | While many viewing programs like "less" don't show the ctl- at , | when I process the Octave output by other programs | they choke. I think this is a bug in the C++ or C library, not Octave. Here is a simple C++ program that demonstrates the bug: #include #include int main (void) { cout << setw (11) << setprecision (4); cout.flags (ios::scientific); cout << 1.23456789 << endl; return 0; } It seems that when there is extra room for the sign, it is set to '\0' instead of ' '. I've been meaning to report this problem, but I keep forgetting. Can someone please submit a bug report for it to the GNU libc maintainers? Thanks, jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------