Re: [dwm] dzen2

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Fri, 2 Mar 2007 21:21:04 +0100

On Fri, Mar 02, 2007 at 07:45:11PM +0100, pancake wrote:
> BUG LIST and wishlist:
>
> * PLEASE. Use getopt() instead of the for+strcmp loop.

God, no! Just read the getopt() implementation and you will
notice why!

> * i've found read some lines that should be changed because they'r senseless:
>
> fputs("dzen-"VERSION", (C)opyright 2007 Robert Manea\n", stdout);
>
> why not just:
>
> puts("dzen-"VERSION", (C)opyright 2007 Robert Manea");
>
> \n is done by puts() and stdout is default for printing such

Use eprint() here, it will do also the exiting.

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Fri Mar 02 2007 - 21:21:04 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:38:26 UTC