[Top][All Lists]
[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.
- Re: [PATCH] stdbuf work in progress, Pádraig Brady, 2009/06/09
- Re: [PATCH] stdbuf work in progress,
Jim Meyering <=
- Re: [PATCH] stdbuf work in progress, Pádraig Brady, 2009/06/09
- Re: [PATCH] stdbuf work in progress, Jim Meyering, 2009/06/09
- Re: [PATCH] stdbuf work in progress, Pádraig Brady, 2009/06/09
- Re: [PATCH] stdbuf work in progress, Pádraig Brady, 2009/06/10
- Re: [PATCH] stdbuf work in progress, Eric Blake, 2009/06/10
- Re: [PATCH] stdbuf work in progress, Jim Meyering, 2009/06/11
- Re: [PATCH] stdbuf work in progress, Pádraig Brady, 2009/06/11
- Re: [PATCH] stdbuf work in progress, Pádraig Brady, 2009/06/12
- Re: [PATCH] stdbuf work in progress, Jim Meyering, 2009/06/13
- Re: [PATCH] stdbuf work in progress, Pádraig Brady, 2009/06/15