]> granicus.if.org Git - cronie/commit
I have noticed that with cronie-1.2, my binaries have seen their \
authorWilly Tarreua <wtarreau AT exosec DOT fr>
Wed, 15 Apr 2009 08:32:57 +0000 (10:32 +0200)
committerMarcela Mašláňová <mmaslano@redhat.com>
Wed, 15 Apr 2009 08:32:57 +0000 (10:32 +0200)
commit0df9e6802ce0ba42e5cb0043a01288df1315d4aa
tree33493e0157c5021919e75cb363aa10f57cb770cf
parent8652811e2edf8db31f7561666b44b957da77976a
I have noticed that with cronie-1.2, my binaries have seen their \
size grow by 10x (from 28kB to 290kB). After searching a bit, I found that the responsible was the INIT() macro in globals.h \
which initializes huge strings MailCmd and cron_default_mail_charset both of which are 128 kB. Due to this initialization, the memory \
areas are stored for real in the binary, resulting in larger sizes

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
src/cron.c
src/crontab.c
src/globals.h