File: 0001-fclose.3.patch

package info (click to toggle)
manpages 4.10-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 16,464 kB
  • ctags: 5
  • sloc: sh: 435; python: 166; makefile: 75; lisp: 22
file content (29 lines) | stat: -rw-r--r-- 788 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: "Dr. Tobias Quathamer" <toddy@debian.org>
Date: Sat, 6 Feb 2016 01:19:16 +0100
Subject: fclose.3

---
 man3/fclose.3 | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/man3/fclose.3 b/man3/fclose.3
index 6e1f953..f5b6faa 100644
--- a/man3/fclose.3
+++ b/man3/fclose.3
@@ -56,6 +56,16 @@ function flushes the stream pointed to by
 (writing any buffered output data using
 .BR fflush (3))
 and closes the underlying file descriptor.
+.\" Reviewed by upstream and rejected, May 2012, Debian#67239
+.PP
+The behaviour of
+.BR fclose ()
+is undefined if the
+.I stream
+parameter is an illegal pointer, or is a descriptor already passed
+to a previous invocation of
+.BR fclose ().
+.\" End of patch
 .SH RETURN VALUE
 Upon successful completion, 0 is returned.
 Otherwise,