summaryrefslogtreecommitdiffstats
path: root/.gdbinit
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2012-07-10 22:19:03 +0200
committerStefan Fritsch <sf@apache.org>2012-07-10 22:19:03 +0200
commit0d77ab651bb66085fcda2a111f38ad8a008f5149 (patch)
treea8c8bcb07610df0b6aa21341a9b1f60aa8a19ed3 /.gdbinit
parentstyle in the neighborhood of a bug (diff)
downloadapache2-0d77ab651bb66085fcda2a111f38ad8a008f5149.tar.xz
apache2-0d77ab651bb66085fcda2a111f38ad8a008f5149.zip
make varbuf functions treat AP_VARBUF_UNKNOWN consistently, improve docs
ap_varbuf_pdup(): copying the whole buffer in case strlen == AP_VARBUF_UNKNOWN does not make sense as the caller can not set the exact buffer size, only a minimum. No API change as previously the behavior with AP_VARBUF_UNKNOWN was undocumented. regsub_core(): Checking for vb->buf is useless, it cannot be NULL unless ap_varbuf_init has not been called. ap_varbuf_cfg_getline(): Initially, allocate enough memory to hold an empty line. If strlen == AP_VARBUF_UNKNOWN, use strlen(buf) instead of undefined behavior. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1359884 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '.gdbinit')
0 files changed, 0 insertions, 0 deletions