From 6c615833a557fdda19e2ffdc46dfdbb0486a3901 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 15 Dec 2011 14:00:42 +0000 Subject: testing/dev86: new aport A real mode 80x86 assembler and linker http://www.debath.co.uk/dev86/ --- testing/dev86/dev86-overflow.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 testing/dev86/dev86-overflow.patch (limited to 'testing/dev86/dev86-overflow.patch') diff --git a/testing/dev86/dev86-overflow.patch b/testing/dev86/dev86-overflow.patch new file mode 100644 index 000000000..7b2e5666f --- /dev/null +++ b/testing/dev86/dev86-overflow.patch @@ -0,0 +1,24 @@ +diff -up dev86-0.16.17/bcc/bcc.c.overflow dev86-0.16.17/bcc/bcc.c +--- dev86-0.16.17/bcc/bcc.c.overflow 2005-01-03 23:41:55.000000000 +0100 ++++ dev86-0.16.17/bcc/bcc.c 2009-02-19 10:49:32.000000000 +0100 +@@ -16,6 +16,7 @@ + * -M0 A framework for the -B option. + */ + #include ++#include + #ifdef __STDC__ + #include + #ifndef MSDOS +@@ -1308,11 +1309,7 @@ void reset_prefix_path() + + for(d=s=ptr; d && *s; s=d) + { +-#ifdef MAXPATHLEN +- char buf[MAXPATHLEN]; +-#else +- char buf[1024]; +-#endif ++ char buf[PATH_MAX]; + + free(temp); + d=strchr(s, ':'); -- cgit v1.2.3