1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

2 Commits

Author SHA1 Message Date
Tim Potter
219ad7da07 r6175: Fix crash bug and compiler warnings in strchr_m() test. Bugzilla #2565.
(This used to be commit 17d13b57136d1f58c450d4587476304482bbd12a)
2007-10-10 10:56:28 -05:00
Andrew Bartlett
32665c36c8 Given how core this code is, I figure it should have it's own testsuite.
Big thanks to tpot and mbp for showing how easy it can be to write a simple
unit test, and for providing the STF.

This also changes the strstr_m() code to use strstr_w() (avoiding
duplication) and fixes it so that it passes the STF.

(We now always restart before doing the unicode run, until sombody can
show me why the testsuite is wrong).

Andrew Bartlett
(This used to be commit a893a324f37e6a171719db8ffffe66df31c2dbaa)
2004-03-09 11:15:44 +00:00