projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1998-11-23 15:44:21 by sof]
[ghc-hetmet.git]
/
ghc
/
lib
/
std
/
cbits
/
writeFile.lc
diff --git
a/ghc/lib/std/cbits/writeFile.lc
b/ghc/lib/std/cbits/writeFile.lc
index
ca7bac6
..
1cd336e
100644
(file)
--- a/
ghc/lib/std/cbits/writeFile.lc
+++ b/
ghc/lib/std/cbits/writeFile.lc
@@
-76,6
+76,7
@@
StgInt len;
if (len == 0 )
return 0;
+
/* First of all, check if we do need to flush the buffer .. */
/* Note - in the case of line buffering, we do not currently check
whether we need to flush buffer due to line terminators in the