[xml] Minor improvement possible



The constant array xmlUnicodeBlocks is not marked as 'const' so it ends up in the read/write data segment instead of the read-only data segment, which can lead to it becoming per-process private data instead of image-backed shared data.

A patch file (made in the context of Chrome, but it should be applicable to libxml2) is attached.

--
Bruce Dawson

Attachment: patch.txt
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]