dgaudet 98/01/21 14:05:46
Modified:src CHANGES
src/support htdigest.c htpasswd.c
Log:
Tweaks to use "copy" instead of "cp" under win32 and os2.
PR: 1482
Submitted by: Brian Havard
Revision ChangesPath
1.576 +3 -0 apachen/src/CHANGES
Index: CHANGES
===
RCS file: /export/home/cvs/apachen/src/CHANGES,v
retrieving revision 1.575
retrieving revision 1.576
diff -u -r1.575 -r1.576
--- CHANGES 1998/01/21 21:59:27 1.575
+++ CHANGES 1998/01/21 22:05:43 1.576
@@ -1,5 +1,8 @@
Changes with Apache 1.3b4
+ *) htdigest and htpasswd needed slight tweaks to work on OS/2 and WIN32.
+ [Brian Havard]
+
*) The NeXT cc (which is gcc hacked up) doesn't appear to support some
gcc functionality. Work around it.
[Keith Severson <[EMAIL PROTECTED]>] PR#1613
1.14 +4 -0 apachen/src/support/htdigest.c
Index: htdigest.c
===
RCS file: /export/home/cvs/apachen/src/support/htdigest.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- htdigest.c1998/01/20 01:55:25 1.13
+++ htdigest.c1998/01/21 22:05:45 1.14
@@ -200,7 +200,11 @@
}
fclose(f);
fclose(tfp);
+#if defined(__EMX__) || defined(WIN32)
+sprintf(command, "copy \"%s\" \"%s\"", tn, argv[1]);
+#else
sprintf(command, "cp %s %s", tn, argv[1]);
+#endif
system(command);
unlink(tn);
exit(0);
1.10 +4 -0 apachen/src/support/htpasswd.c
Index: htpasswd.c
===
RCS file: /export/home/cvs/apachen/src/support/htpasswd.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- htpasswd.c1998/01/20 01:55:25 1.9
+++ htpasswd.c1998/01/21 22:05:45 1.10
@@ -215,7 +215,11 @@
}
fclose(f);
fclose(tfp);
+#if defined(__EMX__) || defined(WIN32)
+sprintf(command, "copy \"%s\" \"%s\"", tn, argv[1]);
+#else
sprintf(command, "cp %s %s", tn, argv[1]);
+#endif
system(command);
unlink(tn);
exit(0);