Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2012 01:33:24 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r233151 - stable/7/lib/libc/stdio
Message-ID:  <201203190133.q2J1XOrQ044880@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Mon Mar 19 01:33:24 2012
New Revision: 233151
URL: http://svn.freebsd.org/changeset/base/233151

Log:
  MFC r232504:
  	Remove reference to gcc's non-standard -fwritable-strings, which
  	doesn't exist in recent releases (and is bad advice anyway)
  
  PR:		docs/163119
  Approved by:	cperciva

Modified:
  stable/7/lib/libc/stdio/mktemp.3
Directory Properties:
  stable/7/lib/libc/   (props changed)

Modified: stable/7/lib/libc/stdio/mktemp.3
==============================================================================
--- stable/7/lib/libc/stdio/mktemp.3	Mon Mar 19 01:32:53 2012	(r233150)
+++ stable/7/lib/libc/stdio/mktemp.3	Mon Mar 19 01:33:24 2012	(r233151)
@@ -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 ,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203190133.q2J1XOrQ044880>