OSSP CVS Repository

ossp - Difference in ossp-pkg/path/path_test.c versions 1.3 and 1.4
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/path/path_test.c 1.3 -> 1.4

--- path_test.c  2002/08/23 15:33:18     1.3
+++ path_test.c  2002/08/27 19:04:33     1.4
@@ -95,6 +95,12 @@
         else
             printf("ERROR\n");
     }
+    else if (argc == 3 && strcmp(argv[1], "canon") == 0) {
+        if (path_canon(res, sizeof(res), argv[2], 0) == PATH_OK)
+            printf("%s\n", res);
+        else
+            printf("ERROR\n");
+    }
     else if (argc == 3 && strcmp(argv[1], "dirname") == 0) {
         rv = path_dirname(res, sizeof(res), argv[2]);
         if (rv != NULL)

CVSTrac 2.0.1