Bug 36050

Summary: [PATCH] wrong command in malloc(3)
Product: Documentation Reporter: yonatan <yonatan>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description yonatan 2002-03-18 15:50:01 UTC
from malloc(3):
---
To set a systemwide reduction of cache size, and to dump core whenever a
     problem occurs:

	   ln -s 'A<' /etc/malloc.conf
---

How-To-Repeat: read malloc(3)
Comment 1 Peter Pentchev freebsd_committer freebsd_triage 2002-03-18 16:25:14 UTC
State Changed
From-To: open->closed

The documentation is quite correct: /etc/malloc.conf is not supposed 
to be a file, merely a symbolic link.  It is read using readlink(2) 
once, at the first call to malloc(3) or calloc(3) or a similar 
function; no file is opened, only the link contents are read. 
Thus, ln -s is correct.