summaryrefslogtreecommitdiff
path: root/vmsfunctions.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-11-22 06:15:35 +0000
committerPaul Smith <psmith@gnu.org>1999-11-22 06:15:35 +0000
commit2d198c4919790bc2f8c4e15e538d74bd2e313f1b (patch)
tree129b499338c05e6d58bd69e4bf31f42ef2ac9c4d /vmsfunctions.c
parenta237d5f89d4d69cb13fee264d904065a9a0b9ac9 (diff)
downloadmake-2d198c4919790bc2f8c4e15e538d74bd2e313f1b.tar.gz
* Add new debugging output level selection feature.
Diffstat (limited to 'vmsfunctions.c')
-rw-r--r--vmsfunctions.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/vmsfunctions.c b/vmsfunctions.c
index 8356165c..4e0cb34c 100644
--- a/vmsfunctions.c
+++ b/vmsfunctions.c
@@ -2,9 +2,9 @@
#define KDEBUG 0
-#include <stdio.h>
-#include <ctype.h>
#include "make.h"
+#include "debug.h"
+
#ifdef __DECC
#include <starlet.h>
#endif
@@ -99,13 +99,11 @@ readdir (dfd)
dfd->fab$l_nam->nam$l_rsa = resultspec;
dfd->fab$l_nam->nam$b_rss = MAXNAMLEN;
- if (debug_flag)
- printf (".");
+ DB (DB_EXTRA, ("."));
if (!((i = sys$search (dfd)) & 1))
{
- if (debug_flag)
- printf ("sys$search failed with %d\n", i);
+ DB (DB_EXTRA, ("sys$search failed with %d\n", i));
free (dentry);
return (NULL);
}