:: Re: [DNG] "Common knowledge?"-quest…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: KatolaZ
Date:  
À: Dr. Nikolaus Klepp
CC: dng
Sujet: Re: [DNG] "Common knowledge?"-question
On Mon, Jan 25, 2016 at 12:18:09PM +0100, Dr. Nikolaus Klepp wrote:

[cut]

>
> What about making the source smaller and not the executable?
>
> static void print_start(char const *name, char const *what) {
>      if (name[0]) fprintf("%c%s",name[0]&~0x20, name+1);
>      fprintf(stderr, " %s: ",what);
> }

>
> I know this is not slim, but as maintenance time rises with pow(lines-of-code,something>1.0), it pays quite soon :-)


+1

HND

KatolaZ

--
[ Enzo Nicosia aka KatolaZ --- GLUG Catania -- Freaknet Medialab ]
[ me [at] katolaz.homeunix.net -- http://katolaz.homeunix.net -- ]
[ GNU/Linux User:#325780/ICQ UIN: #258332181/GPG key ID 0B5F062F ]
[ Fingerprint: 8E59 D6AA 445E FDB4 A153 3D5A 5F20 B3AE 0B5F 062F ]