Subject: Re: syslog_r (Re: CVS commit: src/lib/libc)
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-userlevel
Date: 10/25/2006 21:30:51
On Oct 25, 2006, at 8:13 PM, YAMAMOTO Takashi wrote:

>> Module Name:	src
>> Committed By:	christos
>> Date:		Wed Oct 25 23:49:31 UTC 2006
>>
>> Modified Files:
>> 	src/lib/libc: shlib_version
>> 	src/lib/libc/gen: Makefile.inc syslog.3 syslog.c
>> 	src/lib/libc/include: namespace.h
>>
>> Log Message:
>> add _r functions for syslog from OpenBSD
>
> - are you sure if it's signal-safe?
>   it seems to involve stdio and even locale stuffs...
>
> - even if its current implementation is signal-safe,
>   i don't think it's a good idea to document syslog_r as signal-safe.

I don't think it's a good idea to have it, period.  It buys absolutely  
nothing.

-- thorpej