summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafcol.lafayette.edu>1994-04-04 00:00:00 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1994-04-04 00:00:00 +0000
commit2304df62caa7d9be70e8b8bcdb454e139c9c103d (patch)
tree98a456ef0fbe59b1a02bfe68afa4a3d9afb4f21c /dump.c
parent8990e3071044a96302560bbdb5706f3e74cf1bef (diff)
downloadperl-2304df62caa7d9be70e8b8bcdb454e139c9c103d.tar.gz
perl 5.0 alpha 8
[the last one taken from the September '94 InfoMagic CD; a similar style of cleanup as the previous commits was performed]
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/dump.c b/dump.c
index 5d80a700d7..19633dc50e 100644
--- a/dump.c
+++ b/dump.c
@@ -24,14 +24,23 @@
#include "EXTERN.h"
#include "perl.h"
-#ifdef DEBUGGING
+#ifndef DEBUGGING
+void
+dump_all()
+{
+}
+#else /* Rest of file is for DEBUGGING */
static void dump();
void
dump_all()
{
+#ifdef HAS_SETLINEBUF
setlinebuf(stderr);
+#else
+ setvbuf(stderr, Nullch, _IOLBF, 0);
+#endif
if (main_root)
dump_op(main_root);
dump_packsubs(defstash);