Submitted by:Guenter Knauf <eflash gmx.net>
Reviewed by: bnicholes, trawick, jjclar
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@103205
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.50
+ *) Fix the comment delimiter in htdbm so that it correctly parses the
+ username comment. Also add a terminate function to allow NetWare
+ to pause the output before the screen is destroyed.
+ [Guenter Knauf <eflash gmx.net>, Brad Nicholes]
+
*) Fix crash when Apache was started with no Listen directives.
[Michael Corcoran <mcorcoran warpsolutions.com>]
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2004/03/29 21:41:13 $]
+Last modified at [$Date: 2004/03/29 23:07:46 $]
Release:
modules/dav/fs/lock.c: r1.31
+1: trawick
- *) Fix the comment delimiter so that it correctly parses the username
- comment. Also add a terminate function to allow NetWare to pause
- the output before the screen is destroyed.
- support/htdbm.c: r1.15
- +1: bnicholes, trawick, jjclar
-
*) Use apr_temp_dir_get for htdigest and remove the dependancy on
the external cp/copy command. Remove the OMIT_DELONCLOSE #ifdef
because removing the temp file happens automatically through
#define HTDBM_NOFILE 4
#define HTDBM_STDIN 5
+static void terminate(void)
+{
+ apr_terminate();
+#ifdef NETWARE
+ pressanykey();
+#endif
+}
+
static void htdbm_terminate(htdbm_t *htdbm)
{
-
if (htdbm->dbm)
apr_dbm_close(htdbm->dbm);
htdbm->dbm = NULL;
fprintf(stderr, " %-32s", kb);
strncpy(rec, val.dptr, val.dsize);
rec[val.dsize] = '\0';
- cmnt = strchr(rec, ';');
+ cmnt = strchr(rec, ':');
if (cmnt)
fprintf(stderr, cmnt + 1);
fprintf(stderr, "\n");
int args_left = 2;
apr_app_initialize(&argc, &argv, NULL);
- atexit(apr_terminate);
+ atexit(terminate);
if ((rv = htdbm_init(&pool, &h)) != APR_SUCCESS) {
fprintf(stderr, "Unable to initialize htdbm terminating!\n");
}
}
htdbm_terminate(h);
- apr_terminate();
return 0; /* Suppress compiler warning. */
}