Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.
-Erik
diff --git a/cp_mv.c b/cp_mv.c
index 5548350..9bcac02 100644
--- a/cp_mv.c
+++ b/cp_mv.c
@@ -175,8 +175,8 @@
{
volatile int i;
int c;
- char baseDestName[BUFSIZ + 1]; /* not declared globally == less bss used */
- pBaseDestName = baseDestName; /* but available globally */
+ RESERVE_BB_BUFFER(baseDestName,BUFSIZ + 1);
+ pBaseDestName = baseDestName; /* available globally */
if (*applet_name == 'c' && *(applet_name + 1) == 'p')
dz_i = is_cp;