[git commit master] math.h: fix trivial typo (missing !): !defined __NO_LONG_DOUBLE_MATH

Mike Frysinger vapier at gentoo.org
Sat Sep 5 21:57:31 UTC 2009


On Saturday 05 September 2009 17:58:47 Denys Vlasenko wrote:
> > On Saturday 05 September 2009 15:28:31 Denys Vlasenko wrote:
> > > ---
> > >  include/math.h            |    2 +-
> > >  libc/misc/syslog/syslog.c |    2 +-
> > >  2 files changed, 2 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/include/math.h b/include/math.h
> > > index a7c69b0..ecd0187 100644
> > > --- a/include/math.h
> > > +++ b/include/math.h
> > > @@ -135,7 +135,7 @@ __BEGIN_DECLS
> > >
> > >
> > >  # if (defined __STDC__ || defined __GNUC__) \
> > > -     && (defined __NO_LONG_DOUBLE_MATH || defined __LDBL_COMPAT)
> > > +     && (!defined __NO_LONG_DOUBLE_MATH || defined __LDBL_COMPAT)
> > >  #  ifdef __LDBL_COMPAT
> > >
> > >  #   ifdef __USE_ISOC99
> > > diff --git a/libc/misc/syslog/syslog.c b/libc/misc/syslog/syslog.c
> > > index da60874..dbb1e0d 100644
> > > --- a/libc/misc/syslog/syslog.c
> > > +++ b/libc/misc/syslog/syslog.c
> > > @@ -164,7 +164,7 @@ retry:
> > >  			if ((LogFile = socket(AF_UNIX, logType, 0)) == -1) {
> > >  				goto DONE;
> > >  			}
> > > -			fcntl(LogFile, F_SETFD, 1); /* 1 == FD_CLOEXEC */
> > > +			fcntl(LogFile, F_SETFD, FD_CLOEXEC);
> > >  			/* We don't want to block if e.g. syslogd is SIGSTOPed */
> > >  			fcntl(LogFile, F_SETFL, O_NONBLOCK | fcntl(LogFile, F_GETFL));
> > >  		}
> >
> > please try to avoid committing unrelated things
>
> I know.
> I am too lazy to do four commits for four one-liners :(

this might have been merged with the CLOEXEC patch as a general cloexec 
cleanup, but it certainly should not be stuck in with random other changes 
regardless of the size.  i know it's more effort than was required in the 
past, but the end result makes navigating git history a hell of a lot easier 
(especially when looking for regressions).
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20090905/adc024c9/attachment-0001.pgp>


More information about the uClibc mailing list