mirror of
https://github.com/apache/httpd.git
synced 2025-07-25 17:01:22 +00:00
* .gdbinit (dump_bucket_ex): Use a string comparison with the bucket
type name rather than a type pointer comparison, so this .gdbinit is usable outside httpd. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1906481 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
2
.gdbinit
2
.gdbinit
@ -142,7 +142,7 @@ define dump_bucket_ex
|
|||||||
print_bkt_datacol "rc" "n/%c" 'a' $sh
|
print_bkt_datacol "rc" "n/%c" 'a' $sh
|
||||||
|
|
||||||
else
|
else
|
||||||
if ($bucket->type == &ap_bucket_type_error)
|
if ($_streq($bucket->type->name, "ERROR"))
|
||||||
|
|
||||||
# metadata bucket, no content but it does have an error code in it
|
# metadata bucket, no content but it does have an error code in it
|
||||||
print_bkt_datacol "contents" "%c" ' ' $sh
|
print_bkt_datacol "contents" "%c" ' ' $sh
|
||||||
|
Reference in New Issue
Block a user