[pcre-dev] [Bug 1823] Improve get_error_message

Inizio della pagina
Delete this message
Autore: admin
Data:  
To: pcre-dev
Oggetto: [pcre-dev] [Bug 1823] Improve get_error_message
https://bugs.exim.org/show_bug.cgi?id=1823

--- Comment #4 from Gernot Gebhard <gebhard@???> ---
(In reply to Christian Persch (GNOME) from comment #3)
> No, see the "DSO howto" [http://people.redhat.com/drepper/dsohowto.pdf]
> where sect. 2.4.3 is exactly about this.


Ah, I understand.

But wouldn't it be nicer to simply return a pointer into "*compile_error_texts"
or "match_error_texts" respectively instead of copying the string?

Where I want to query the error string I don't want to think about how large a
string buffer should be in order to capture the whole error string.

What do you think?

--
You are receiving this mail because:
You are on the CC list for the bug.