017-remove-alloca.patch 843 B

12345678910111213141516171819202122
  1. diff -Nur busybox-1.21.1.orig/scripts/basic/docproc.c busybox-1.21.1/scripts/basic/docproc.c
  2. --- busybox-1.21.1.orig/scripts/basic/docproc.c Sat May 11 17:30:44 2013
  3. +++ busybox-1.21.1/scripts/basic/docproc.c Thu Jan 16 03:00:39 2014
  4. @@ -39,7 +39,6 @@
  5. #include <limits.h>
  6. #include <sys/types.h>
  7. #include <sys/wait.h>
  8. -#include <alloca.h>
  9. /* exitstatus is used to keep track of any failing calls to kernel-doc,
  10. * but execution continues. */
  11. diff -Nur busybox-1.21.1.orig/scripts/basic/fixdep.c busybox-1.21.1/scripts/basic/fixdep.c
  12. --- busybox-1.21.1.orig/scripts/basic/fixdep.c Sat May 11 17:30:44 2013
  13. +++ busybox-1.21.1/scripts/basic/fixdep.c Thu Jan 16 03:00:33 2014
  14. @@ -113,7 +113,6 @@
  15. #include <limits.h>
  16. #include <ctype.h>
  17. #include <arpa/inet.h>
  18. -#include <alloca.h>
  19. /* bbox: not needed
  20. #define INT_CONF ntohl(0x434f4e46)