aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorGravatar "Vladimir N. Oleynik" <dzo@simtreas.ru>2005-10-15 10:23:55 +0000
committerGravatar "Vladimir N. Oleynik" <dzo@simtreas.ru>2005-10-15 10:23:55 +0000
commit6f347ef9dc540aaea025c0575e586817cd85cc8e (patch)
tree5fc98f67e92bb2eca75d33940a4f8698bb216f3a /editors
parent84e7511607600c2c7b9e7c4087897d44cc4668c4 (diff)
downloadbusybox-6f347ef9dc540aaea025c0575e586817cd85cc8e.tar.gz
busybox-6f347ef9dc540aaea025c0575e586817cd85cc8e.tar.bz2
common BUFSIZ BSS buffer, small reduce code, data and bss
Diffstat (limited to 'editors')
-rw-r--r--editors/vi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 1cc127036..e6c87560d 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -2226,7 +2226,8 @@ static int mysleep(int hund) // sleep for 'h' 1/100 seconds
return (FD_ISSET(0, &rfds));
}
-static Byte readbuffer[BUFSIZ];
+#define readbuffer bb_common_bufsiz1
+
static int readed_for_parse;
//----- IO Routines --------------------------------------------