From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5435 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Vasseur Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] implement the LOG_PERROR option in syslog Date: Sat, 12 Jul 2014 01:08:01 +0000 (UTC) Message-ID: References: <1404909732-83885-1-git-send-email-clement.vasseur@gmail.com> <20140711044950.GY179@brightrain.aerifal.cx> <20140712005525.GB179@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1405127315 23502 80.91.229.3 (12 Jul 2014 01:08:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Jul 2014 01:08:35 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5440-gllmg-musl=m.gmane.org@lists.openwall.com Sat Jul 12 03:08:28 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1X5lng-0006QX-A7 for gllmg-musl@plane.gmane.org; Sat, 12 Jul 2014 03:08:28 +0200 Original-Received: (qmail 30200 invoked by uid 550); 12 Jul 2014 01:08:27 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 30192 invoked from network); 12 Jul 2014 01:08:27 -0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 195-154-127-44.rev.poneytelecom.eu User-Agent: slrn/1.0.1 (Linux) Xref: news.gmane.org gmane.linux.lib.musl.general:5435 Archived-At: On 2014-07-12, Rich Felker wrote: > > [-- Type: text/plain, Encoding: --] > > On Fri, Jul 11, 2014 at 12:49:50AM -0400, Rich Felker wrote: >> Anyway, for adding the feature you want, where you just want to know >> the number of initial bytes to skip writing to stderr, I would just >> use %n to get the offset. > > Attached is a patch to do this. I'll commit it soon if nobody notices > any problems right away. Looks good to me. Thanks!