summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-03-04 16:41:07 +0000
committereadler <eadler@FreeBSD.org>2012-03-04 16:41:07 +0000
commita105f4dd528e59eda892905a443ee66b7c4ed384 (patch)
tree72e057d0c2a6b4dd4aa267a0413066ae68671a0f /lib/libc/stdio
parent47d5c92c94b33a3eb80d6efa5f6e811af803179c (diff)
downloadFreeBSD-src-a105f4dd528e59eda892905a443ee66b7c4ed384.zip
FreeBSD-src-a105f4dd528e59eda892905a443ee66b7c4ed384.tar.gz
Remove reference to gcc's non-standard -fwritable-strings, which
doesn't exist in recent releases (and is bad advice anyway) PR: docs/163119 Submitted by: Yuri Pankov <yuri.pankov@gmail.com> Approved by: cperciva MFC after: 1 week
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/mktemp.38
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libc/stdio/mktemp.3 b/lib/libc/stdio/mktemp.3
index 3e02d94..9af0c98 100644
--- a/lib/libc/stdio/mktemp.3
+++ b/lib/libc/stdio/mktemp.3
@@ -28,7 +28,7 @@
.\" @(#)mktemp.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd February 11, 1998
+.Dd March 4, 2012
.Dt MKTEMP 3
.Os
.Sh NAME
@@ -180,12 +180,6 @@ with an argument of
will result in a core dump due to
.Fn mkstemp
attempting to modify the string constant that was given.
-If the program in question makes heavy use of that type
-of function call, you do have the option of compiling the program
-so that it will store string constants in a writable segment of memory.
-See
-.Xr gcc 1
-for more information.
.Sh SEE ALSO
.Xr chmod 2 ,
.Xr getpid 2 ,
OpenPOWER on IntegriCloud