[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41965] __makeinfo__ assumes unsigned char for
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #41965] __makeinfo__ assumes unsigned char for input text when it should be signed char |
Date: |
Thu, 03 Apr 2014 18:39:45 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130917 Firefox/17.0 Iceweasel/17.0.9 |
Follow-up Comment #4, bug #41965 (project octave):
Sorry to come to this discussion late.
Instead of fprintf (fid, "%s", str), I'd probably use fputs (fid, str) when
there is no other data type conversion required.on.
Either way, fputs or fprintf are not exactly the same as fwrite becuase fwrite
will pass ASCII 0, but fputs and fprintf won't. I don't think that matters in
this instance, but I'm not sure.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41965>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41965] __makeinfo__ assumes unsigned char for input text when it should be signed char,
John W. Eaton <=