/* ====================================================================
* The Apache Software License, Version 1.1
*
- * Copyright (c) 2000 The Apache Software Foundation. All rights
+ * Copyright (c) 2000-2001 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
*/
static void do_emit_plain(request_rec *r, apr_file_t *f)
{
- char buf[IOBUFSIZE + 1];
+ char buf[AP_IOBUFSIZE + 1];
int i, c, ch;
apr_size_t n;
apr_status_t stat;
ap_rputs("<PRE>\n", r);
while (!apr_file_eof(f)) {
do {
- n = sizeof(char) * IOBUFSIZE;
+ n = sizeof(char) * AP_IOBUFSIZE;
stat = apr_file_read(f, buf, &n);
}
while (stat != APR_SUCCESS && APR_STATUS_IS_EINTR(stat));
char *anchor, *t, *t2;
int nwidth;
- apr_clear_pool(scratch);
+ apr_pool_clear(scratch);
if (is_parent(ar[x]->name)) {
t = ap_make_full_path(scratch, name, "../");