Mercurial > octave-nkf
diff src/zfstream.cc @ 6275:6e5835ef21f8
[project @ 2007-02-07 07:29:46 by jwe]
author | jwe |
---|---|
date | Wed, 07 Feb 2007 07:29:47 +0000 |
parents | 4c8a2e4e0717 |
children | 4775fc1aa728 |
line wrap: on
line diff
--- a/src/zfstream.cc Wed Feb 07 07:22:03 2007 +0000 +++ b/src/zfstream.cc Wed Feb 07 07:29:47 2007 +0000 @@ -187,8 +187,9 @@ // Mode string should be empty for invalid combination of flags if (strlen(c_mode) == 0) return false; - if (testb) - strcat(c_mode, "b"); + + strcat(c_mode, "b"); + return true; }