X-Spam-Check-By: sourceware.org Date: Fri, 27 Apr 2007 07:42:44 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Patch for syslog-ng 1.6.12 Message-ID: <20070427054244.GB4978@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20070426112817 DOT 301360 AT gmx DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070426112817.301360@gmx.net> User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Apr 26 13:28, S. Schulz wrote: > I found a bug in syslog-ng-1.6.12. > If i use the MSGONLY macro the first char of the message is missing. > > Here is the patch: > -snip-------------------------------- > 426,427c426,428 > < colon++; > < ofs = (colon - (char *) msg->msg->data); > --- > > ofs = (colon - (char *) msg->msg->data) + 2; > > if (ofs > msg->msg->length) > > ofs = msg->msg->length; > -snap-------------------------------- Thanks, but this isn't Cygwin specific. You should better send the patch upstream. See http://www.balabit.com/products/syslog_ng/ Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/