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
commit217ca5d91098c0b6b704fe3d9806378dd5dcc698 (patch)
tree129b499338c05e6d58bd69e4bf31f42ef2ac9c4d /vmsfunctions.c
parentebb733c0f9ab045b6fd6245df2baf2e87463e1bc (diff)
downloadgunmake-217ca5d91098c0b6b704fe3d9806378dd5dcc698.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 8356165..4e0cb34 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);
}