You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bn...@apache.org on 2001/07/25 17:08:04 UTC

cvs commit: apache-1.3/src/support htpasswd.c htdigest.c

bnicholes    01/07/25 08:08:04

  Modified:    src/support htpasswd.c htdigest.c
  Log:
  Added calls to the name space functions to enable long file names for NetWare.
  
  Revision  Changes    Path
  1.43      +5 -0      apache-1.3/src/support/htpasswd.c
  
  Index: htpasswd.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/support/htpasswd.c,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- htpasswd.c	2000/06/01 23:42:33	1.42
  +++ htpasswd.c	2001/07/25 15:08:04	1.43
  @@ -437,6 +437,11 @@
       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;
  
  
  
  1.34      +5 -0      apache-1.3/src/support/htdigest.c
  
  Index: htdigest.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/support/htdigest.c,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- htdigest.c	2001/01/15 17:06:37	1.33
  +++ htdigest.c	2001/07/25 15:08:04	1.34
  @@ -222,6 +222,11 @@
       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]);