From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Date: Mon, 19 Jan 2004 20:44:15 +0000 Subject: Re: [ANNOUNCE] udev 013 release Message-Id: <20040119204415.GB31967@suse.de> List-Id: References: <20040113235213.GA7659@kroah.com> In-Reply-To: <20040113235213.GA7659@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Mon, Jan 19, Greg KH wrote: > On Mon, Jan 19, 2004 at 09:29:00PM +0100, Olaf Hering wrote: > > On Thu, Jan 15, Kay Sievers wrote: > >=20 > > > +++ b/logging.h Thu Jan 15 15:22:25 2004 > >=20 > > > +#ifdef LOG > > > +#include > >=20 > > > +#ifdef DEBUG > > > +#define dbg(format, arg...) \ > > > + do { \ > > > + log_message (LOG_DEBUG , "%s: " format , __FUNCTION__ , ## arg); \ > >=20 > > This breaks with: > >=20 > > make udevdir=3D/dev USE_LOG=FAlse USE_KLIBC=3Dtrue DEBUG=3Dtrue STRIP= =3D/bin/true -j > >=20 > > syslog.h does not depend on -DLOG >=20 > Ick. This patch should fix this problem. >=20 > If you make USE_LOG=FAlse, no debug messages will be sent out. Is this correct? LOG_DEBUG is defined in syslog.h, this patch is probably better. --- udev.bk/logging.h~ 2004-01-15 22:00:58.000000000 +0000 +++ udev.bk/logging.h 2004-01-19 20:31:46.000000000 +0000 @@ -24,8 +24,9 @@ #ifndef LOGGING_H #define LOGGING_H =20 -#ifdef LOG #include + +#ifdef LOG #define info(format, arg...) = \ do { = \ log_message (LOG_INFO , format , ## arg); \ --=20 USB is for mice, FireWire is for men! sUse lINUX ag, n=C3=9CRNBERG ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel