netpanzer-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netPanzer-CVS] netpanzer/src/Lib FindFirst.cpp SplitPath.cpp


From: Matthias Braun
Subject: [netPanzer-CVS] netpanzer/src/Lib FindFirst.cpp SplitPath.cpp
Date: Sat, 06 Sep 2003 16:53:24 -0400

CVSROOT:        /cvsroot/netpanzer
Module name:    netpanzer
Branch:         
Changes by:     Matthias Braun <address@hidden> 03/09/06 16:53:24

Modified files:
        src/Lib        : FindFirst.cpp SplitPath.cpp 

Log message:
        removed some debug printfs

Patches:
Index: netpanzer/src/Lib/FindFirst.cpp
diff -u netpanzer/src/Lib/FindFirst.cpp:1.3 netpanzer/src/Lib/FindFirst.cpp:1.4
--- netpanzer/src/Lib/FindFirst.cpp:1.3 Sat Sep  6 13:15:34 2003
+++ netpanzer/src/Lib/FindFirst.cpp     Sat Sep  6 16:53:24 2003
@@ -16,17 +16,12 @@
        findhandle_t* handle = new findhandle_t;
        memset(handle, 0, sizeof(findhandle_t));
 
-       printf ("Start globbing for: %s\n", dir);
-               
        if(glob(dir, 0, 0, &handle->globbuf) != 0)
                return (int*) -1;
 
-       printf ("Number: %d\n", handle->globbuf.gl_pathc);
-
        if (_findnext((int*) handle, fileinfo) < 0)
                return (int*) -1;
 
-       printf ("ok so far.\n");
        return (int*) handle;
 }
 
@@ -45,13 +40,11 @@
        fileinfo->name = lastslash;
        handle->pos++;
 
-       printf ("matched: %s.\n", fileinfo->name);
        return 0;
 }
 
 void _findclose(int* ihandle)
 {
        findhandle_t* handle = (findhandle_t*) ihandle;
-       printf ("closed glob");
        globfree(&handle->globbuf);
 } 
Index: netpanzer/src/Lib/SplitPath.cpp
diff -u netpanzer/src/Lib/SplitPath.cpp:1.1 netpanzer/src/Lib/SplitPath.cpp:1.2
--- netpanzer/src/Lib/SplitPath.cpp:1.1 Sat Sep  6 16:49:45 2003
+++ netpanzer/src/Lib/SplitPath.cpp     Sat Sep  6 16:53:24 2003
@@ -58,6 +58,6 @@
                        strcpy(ext, lastdot);
        }
 
-       printf ("Splitted Path : %s => %s - %s - %s - %s.\n", path,
-                       drive, dir, fname, ext);
+       //printf ("Splitted Path : %s => %s - %s - %s - %s.\n", path,
+       //              drive, dir, fname, ext);
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]