Signed-off-by: Pierre Habouzit <madcoder@debian.org>
TARGET_LINK_LIBRARIES(madmutt ui mx lua imap mime sys lib)
SET_TARGET_PROPERTIES(madmutt PROPERTIES
LINK_FLAGS "${MUTTLIBS}"
- # LINKER_LANGUAGE D
+ LINKER_LANGUAGE D
)
# generate_files hack {{{
fputc('\n', stderr);
}
+extern void gc_init(void);
+
int main (int argc, char **argv)
{
char folder[_POSIX_PATH_MAX] = "";
int i;
int explicit_folder = 0;
+ gc_init();
+
/* initialize random number for tmp file creation */
srand48((unsigned int) time (NULL));
-
+
/* sanity check against stupid administrators */
-
if (getegid () != getgid ()) {
fprintf (stderr, "%s: I don't want to run with privileges!\n", argv[0]);
exit (1);