Date: Sat, 23 Jun 2001 22:12:08 +0400 (MSD) From: avn@any.ru To: FreeBSD-gnats-submit@freebsd.org Subject: docs/28371: malloc(2) man page correction Message-ID: <200106231812.f5NIC8967319@srv2.any>
next in thread | raw e-mail | index | archive | help
>Number: 28371 >Category: docs >Synopsis: malloc(2) man page correction >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 23 11:20:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Alexey V. Neyman >Release: FreeBSD 4.3-STABLE i386 >Organization: http://www.any.ru/ >Environment: System: FreeBSD srv2.any 4.3-STABLE FreeBSD 4.3-STABLE #4: Thu Jun 14 12:25:16 MSD 2001 toor@srv2.any:/usr2/obj/usr2/src/sys/SRV2 i386 >Description: From malloc(2): including the following in the source code: extern char *malloc_options; malloc_options = "X"; But this piece of code will produce a warning with -Wwrite-string, better way is 'extern const char *malloc_options;'. >How-To-Repeat: >Fix: correct the manpage :) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106231812.f5NIC8967319>