[pisa-src] r1050 - trunk/libpisa

  • From: Thomas Jansen <mithi@xxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 08 Oct 2009 12:43:49 +0200

Author: tjansen
Date: Thu Oct  8 12:43:48 2009
New Revision: 1050

Log:
Remove a misleading debug message in pisa_check_and_create_dir.

We now have a better way to inform the users which config file is used,
don't bother them with cryptic debug messages containing lowlevel debug
information like the desired file mode. The debug message also did not make
clear whether the directory will actually be created.

Modified:
   trunk/libpisa/util.c

Modified: trunk/libpisa/util.c
==============================================================================
--- trunk/libpisa/util.c        Thu Oct  8 12:32:24 2009        (r1049)
+++ trunk/libpisa/util.c        Thu Oct  8 12:43:48 2009        (r1050)
@@ -487,7 +487,6 @@
        int err = 0;
        struct stat dir_stat;
 
-       PISA_INFO("dirname=%s mode=%o\n", dirname, mode);
        err = stat(dirname, &dir_stat);
        if (err && errno == ENOENT) { /* no such file or directory */
                err = mkdir(dirname, mode);

Other related posts:

  • » [pisa-src] r1050 - trunk/libpisa - Thomas Jansen