bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] stdbuf work in progress


From: Jim Meyering
Subject: Re: [PATCH] stdbuf work in progress
Date: Tue, 09 Jun 2009 13:11:51 +0200

Pádraig Brady wrote:
> Latest iteration of stdbuf command.
>
> Notes:
>  * It installs an unversioned shared lib to PKGLIBDIR
>    (/usr/local/lib/coreutils by default). This is searched
>    for by stdbuf itself rather than relying on the system,
>    which allows us to select the uninstalled lib alongside
>    the stdbuf binary when running tests for example.
>  * Controlling fully buffered mode doesn't work with glibc-2.7:
>    http://sources.redhat.com/bugzilla/show_bug.cgi?id=10108
>  * It only installs to ELF systems with GCC currently
>    (I'm not using libtool at present).
>
...
Thanks for all the work.
Preliminary, superficial, feedback:

  - adjust spacing before parens, e.g.,

      > +  free(libstdbuf);
      > +
      > +  ret = putenv(LD_PRELOAD);

    easiest for new files like this is just to filter though "indent --no-tabs"

  - don't use // comment introducer.  Here's one; there are others:

      > +#define LIB_NAME "libstdbuf.so" //FIXME: don't hardcode

  - Ewww.  use ASCII apostrophe, not multi-byte in texi source:

      > +don\342\200\231t use streams for I/O, and are thus unaffected.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]