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

Bug#201214: debconfclient.h macros waste space in binary



Package: cdebconf
Version: unavailable; reported 2003-07-14
Severity: normal

#define debconf_input(_client, _priority, _question) \
    _client->commandf(_client, "INPUT %s %s", _priority, _question)

This kind of thing is a waste of space. Compare with:

    _client->command(_client, "INPUT", _priority, _question)

The former litters binaries with mutiple occurances of strings starting with
"INPUT". The latter is both simpler, and lets gcc put only one "INPUT"
in the whole binary.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux dragon 2.4.21 #1 Fri Jun 13 21:33:56 EDT 2003 i686
Locale: LANG=C, LC_CTYPE=C

-- 
see shy jo

Attachment: pgp69i9ZW_Xzw.pgp
Description: PGP signature


Reply to: