]> git.saurik.com Git - apple/libc.git/blobdiff - stdio/FreeBSD/fgetln.3.patch
Libc-763.11.tar.gz
[apple/libc.git] / stdio / FreeBSD / fgetln.3.patch
diff --git a/stdio/FreeBSD/fgetln.3.patch b/stdio/FreeBSD/fgetln.3.patch
new file mode 100644 (file)
index 0000000..d134522
--- /dev/null
@@ -0,0 +1,12 @@
+--- fgetln.3.orig      2010-07-09 13:54:22.000000000 -0700
++++ fgetln.3   2010-07-10 12:40:15.000000000 -0700
+@@ -97,6 +97,9 @@
+ The argument
+ .Fa stream
+ is not a stream open for reading.
++.It Bq Er ENOMEM
++The internal line buffer could not be expanded due to lack of available memory,
++or because it would need to expand beyond INT_MAX in size.
+ .El
+ .Pp
+ The