[BusyBox] insmod.c
Vladimir N. Oleynik
dzo at simtreas.ru
Sat Mar 17 16:09:10 UTC 2001
Idea: move data segment to BSS for quick start program and without other
effects.
Patch in attach.
--w
vodz
-------------- next part --------------
--- insmod.c~ Tue Mar 13 02:08:34 2001
+++ insmod.c Sat Mar 17 19:03:30 2001
@@ -714,8 +714,9 @@
#else
_syscall2(unsigned long, create_module, const char *, name, size_t, size)
#endif
-static char m_filename[BUFSIZ + 1] = "\0";
-static char m_fullName[BUFSIZ + 1] = "\0";
+
+static char m_filename[BUFSIZ + 1];
+static char m_fullName[BUFSIZ + 1];
/*======================================================================*/
More information about the busybox
mailing list