1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-02-02 20:18:30 +00:00

changed some heap vars to stacks vars. gentoo bug# 113219

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@429 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Philip Kovacs 2005-11-25 04:17:54 +00:00
parent c19d039e69
commit 44e5c1b6a4
2 changed files with 3 additions and 14 deletions

View File

@ -34,11 +34,6 @@
#define MAIL_FILE "$MAIL"
#define MAX_IF_BLOCK_DEPTH 5
/* defining SIGNAL_BLOCKING will cause conky to block asynchronous signal handlin,
* in favor of inspecting for pending signals synchronously. this is experimental
* code designed to avoid signal events in slow/blocking system calls like select().
* use #undef SIGNAL_BLOCKING for the tradiational, asynchronous signal handling. */
/* #define SIGNAL_BLOCKING */
#undef SIGNAL_BLOCKING
@ -5089,11 +5084,6 @@ int main(int argc, char **argv)
init_X11();
#endif /* X11 */
tmpstring1 = (char *)
malloc(TEXT_BUFFER_SIZE);
tmpstring2 = (char *)
malloc(TEXT_BUFFER_SIZE);
/* load current_config or CONFIG_FILE */
#ifdef CONFIG_FILE
@ -5287,8 +5277,7 @@ int main(int argc, char **argv)
}
main_loop();
free(tmpstring1);
free(tmpstring2);
return 0;
}

View File

@ -209,8 +209,8 @@ int top_mem;
int use_spacer;
char *tmpstring1;
char *tmpstring2;
char tmpstring1[TEXT_BUFFER_SIZE];
char tmpstring2[TEXT_BUFFER_SIZE];
#ifdef X11
/* in x11.c */