[pcre-dev] [Bug 1134] pcre_fullinfo gives incorrect info for…

Pàgina inicial
Delete this message
Autor: Philip Hazel
Data:  
A: pcre-dev
Assumpte: [pcre-dev] [Bug 1134] pcre_fullinfo gives incorrect info for PCRE_INFO_STUDYSIZE
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1134

Philip Hazel <ph10@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





--- Comment #2 from Philip Hazel <ph10@???> 2011-08-13 13:32:11 ---
You are quite right. The documentation is wrong and confusing. The code is the
way it is for historical reasons - saving/restoring was not in the original
design. The fact that pcre_study() currently gets two blocks with one malloc()
should not be relevant to the caller ... it is possible that it could change in
future.

There is a Release Candidate for 8.13 out for testing at the moment. So far
I've received no adverse comments, so I expect to put out the proper release
next week. However, as this is just a documentation change that does not affect
the code, I have updated the pcreapi man page and committed the patch, so it
will be in the next release.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email