summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-08-14 13:08:41 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-14 13:08:41 +0000
commitc5dd3cdd2117325610c635c754de6f181137c565 (patch)
tree9fdf9419dbef03c7bf2054dc68d7579c75f5e9d3 /doio.c
parent94e4c24434948b232e1a08fce7b0c2f871b1262e (diff)
downloadperl-c5dd3cdd2117325610c635c754de6f181137c565.tar.gz
Augment filesize limit note.
p4raw-id: //depot/cfgperl@3991
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/doio.c b/doio.c
index d3d4d97abe..8610a149d8 100644
--- a/doio.c
+++ b/doio.c
@@ -1026,7 +1026,8 @@ Perl_do_print(pTHX_ register SV *sv, PerlIO *fp)
* filesize limit we would need getrlimit(). We could then
* also transparently raise the limit with setrlimit() --
* but only until the system hard limit/the filesystem limit,
- * at which we would get EPERM. --jhi */
+ * at which we would get EPERM. Note that when using buffered
+ * io the write failure can be delayed until the flush/close. --jhi */
if (len && (PerlIO_write(fp,tmps,len) == 0 || PerlIO_error(fp)))
return FALSE;
return !PerlIO_error(fp);