Overview
Comment: | Patched libconfig |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
22b94f5de61e027917e8cce0785b622b |
User & Date: | rkeene on 2006-09-27 11:23:32 |
Other Links: | manifest | tags |
Context
2006-12-12
| ||
15:31 | Added script to build web-based man pages check-in: 6cc2f2abd9 user: rkeene tags: trunk | |
2006-09-27
| ||
11:23 | Patched libconfig check-in: 22b94f5de6 user: rkeene tags: trunk | |
2005-10-18
| ||
16:03 | Fixed compile error caused by Subversion update confusion. libconfig 0.1.21 check-in: 45472c6a14 user: rkeene tags: trunk, 0.1.21 | |
Changes
Modified conf_apache.c from [4518570c6e] to [e2ab7d44f3].
62
63
64
65
66
67
68
69
70
71
72
73
74
75
...
345
346
347
348
349
350
351
352
353
354
355
356
357
358
|
if (dinfo->d_name[0] == '.') continue;
snprintf(includepath, sizeof(includepath) - 1, "%s/%s", pathname, dinfo->d_name);
lcpcafret = lc_process_conf_apache_include(includepath, pathprefix);
if (lcpcafret < 0) {
retval = -1;
/* XXX: should we break here (abort further including of files from a directory if one fails ?) */
}
}
closedir(dh);
} else {
lcpcafret = lc_process_conf_apache_file(pathname, pathprefix);
if (lcpcafret < 0) {
................................................................................
#ifdef DEBUG
fprintf(stderr, "Error processing command (command was valid, but an error occured, errno was set)\n");
#endif
}
lc_errfile = local_lc_errfile;
lc_errline = local_lc_errline;
retval = -1;
} else {
lc_errno = save_lc_errno;
}
/* Remove the "cmd" part of the buffer. */
tmp_ptr = strrchr(qualifbuf, '.');
if (tmp_ptr == NULL) {
|
>
>
|
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
...
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
|
if (dinfo->d_name[0] == '.') continue; snprintf(includepath, sizeof(includepath) - 1, "%s/%s", pathname, dinfo->d_name); lcpcafret = lc_process_conf_apache_include(includepath, pathprefix); if (lcpcafret < 0) { retval = -1; /* XXX: should we break here (abort further including of files from a directory if one fails ?) */ break; } } closedir(dh); } else { lcpcafret = lc_process_conf_apache_file(pathname, pathprefix); if (lcpcafret < 0) { ................................................................................ #ifdef DEBUG fprintf(stderr, "Error processing command (command was valid, but an error occured, errno was set)\n"); #endif } lc_errfile = local_lc_errfile; lc_errline = local_lc_errline; retval = -1; break; } else { lc_errno = save_lc_errno; } /* Remove the "cmd" part of the buffer. */ tmp_ptr = strrchr(qualifbuf, '.'); if (tmp_ptr == NULL) { |