[vlc-devel] [vlc-commits] commit: Implement tsearch functions for systems that does not know about it . (Rémi Duraffort )

Rémi Denis-Courmont remi at remlab.net
Mon Dec 6 19:06:40 CET 2010


On Mon,  6 Dec 2010 17:47:47 +0100 (CET), git at videolan.org wrote:
> vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Dec  6
> 15:43:13 2010 +0100| [c489a903fa6b54f2c5e512709390a47df162a2e3] |
> committer: Rémi Duraffort 
> 
> Implement tsearch functions for systems that does not know about it.

We have already discussed this and this does NOT WORK. You can provide
replacement for _all_ of the five functions. But you cannot provide
individual replacement for each function, one by one. Otherwise you have no
warranty that the present-and-not-replaced functions use the same data
structure as the replaced functions.

Down the line, this commit will trigger weird crashes on some systems,
notably *BSD.

-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list