]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Added calls to the name space functions to enable long file names for NetWare.
authorBradley Nicholes <bnicholes@apache.org>
Wed, 25 Jul 2001 15:08:04 +0000 (15:08 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Wed, 25 Jul 2001 15:08:04 +0000 (15:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@89707 13f79535-47bb-0310-9956-ffa450edef68

src/support/htdigest.c
src/support/htpasswd.c

index 10feec95ec8baa961a40b44d990cb58a77dd5dcb..a1a0c8f14fc7e02fc38ab69dfe364f1c498c7d8a 100644 (file)
@@ -222,6 +222,11 @@ int main(int argc, char *argv[])
     if (argc == 5) {
        if (strcmp(argv[1], "-c"))
            usage();
+#ifdef NETWARE
+    UnAugmentAsterisk(TRUE);
+    SetCurrentNameSpace(NW_NS_LONG);
+    SetTargetNameSpace(NW_NS_LONG);
+#endif
        if (!(tfp = fopen(argv[2], "w"))) {
            fprintf(stderr, "Could not open passwd file %s for writing.\n",
                    argv[2]);
index 1b24d02252871dd82713d4662703d889b2db960c..7e262cef8e4badb1259d961d75b3b01bf1e2d320 100644 (file)
@@ -437,6 +437,11 @@ int main(int argc, char *argv[])
     if ((argc - i) != args_left) {
        return usage();
     }
+#ifdef NETWARE
+    UnAugmentAsterisk(TRUE);
+    SetCurrentNameSpace(NW_NS_LONG);
+    SetTargetNameSpace(NW_NS_LONG);
+#endif
     if (newfile && nofile) {
        fprintf(stderr, "%s: -c and -n options conflict\n", argv[0]);
        return ERR_SYNTAX;