# libxml bit field

- Thread: https://externals.io/message/65802
- Original archive: https://news-web.php.net/php.internals/65802
- Started by Ard Biesheuvel on 2013-02-13T17:51:06+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #65802 — Ard Biesheuvel — 2013-02-13T17:51:06+00:00

URL: https://externals.io/message/65802#65802

Hey all,

In commit http://git.php.net/?p=php-src.git;a=commitdiff;h=afe98b78
I just noticed two instances of the following:

ctxt->options -= XML_PARSE_DTDLOAD;

Shouldn't that be

ctxt->options &= ~XML_PARSE_DTDLOAD;

or am I missing something?

-- 
Ard.

---

## #65803 — Dmitry Stogov — 2013-02-13T17:57:16+00:00

URL: https://externals.io/message/65802#65803 · In reply to: #65802

Yeah. Bit reset is better. I'll update it.

Thanks. Dmitry.

On Wed, Feb 13, 2013 at 9:51 PM, Ard Biesheuvel
<ard.biesheuvel@linaro.org>wrote:

> Hey all,
>
> In commit http://git.php.net/?p=php-src.git;a=commitdiff;h=afe98b78
> I just noticed two instances of the following:
>
> ctxt->options -= XML_PARSE_DTDLOAD;
>
> Shouldn't that be
>
> ctxt->options &= ~XML_PARSE_DTDLOAD;
>
> or am I missing something?
>
> --
> Ard.
