From: Joe Orton Date: Mon, 9 Jan 2023 10:09:46 +0000 (+0000) Subject: * .gdbinit (dump_bucket_ex): Use a string comparison with the bucket X-Git-Tag: 2.5.0-alpha2-ci-test-only~164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e492d9758d0f2345f623cd5a5d9a3a48c131c40;p=thirdparty%2Fapache%2Fhttpd.git * .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 --- diff --git a/.gdbinit b/.gdbinit index 1988dea29e9..f748b05e2f8 100644 --- a/.gdbinit +++ b/.gdbinit @@ -142,7 +142,7 @@ define dump_bucket_ex print_bkt_datacol "rc" "n/%c" 'a' $sh 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 print_bkt_datacol "contents" "%c" ' ' $sh