Date: Sat, 12 Jul 2014 09:33:21 +0100 From: Laurent Bercot <ska-dietlibc@...rnet.org> To: musl@...ts.openwall.com Subject: Re: [PATCH] implement the LOG_PERROR option in syslog On 12/07/2014 02:15, Rich Felker wrote: > I think I'll change this to dprintf. Using a single write like this > without looping on partial writes is not guaranteed to work. dprintf > is overkill, but we pull in the printf framework anyway so it doesn't > hurt to use it. Don't you have a wrapper for write() that loops around partial writes without pulling in printf ? I'd have thought it was needed in more than one place in the libc, stdio being only one of them. -- Laurent
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.