Re: [dev] sbase TODO patch

From: Džen <yvldwt_AT_gmail.com>
Date: Fri, 10 Feb 2012 09:38:10 +0100

http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yes/yes.c?rev=1.8

-- 
Džen
On 09/02/12 11:55pm, Lukas Fleischer wrote:
> On Thu, Feb 09, 2012 at 10:52:57PM +0000, Connor Lane Smith wrote:
> > On 9 February 2012 22:44, Lukas Fleischer <suckless_AT_cryptocrack.de> wrote:
> > > Yeah. 'if (!argv[1]) argv[1] = "y";' and this gets a +1 from me :)
> > 
> > It'd probably be more like,
> > 
> > > const char *s = (argc < 2) ? "y" : argv[1];
> > > while(puts(s) != EOF);
> 
> Agreed :)
> 
> > 
> > cls
> 
Received on Fri Feb 10 2012 - 09:38:10 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 10 2012 - 09:48:04 CET