1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Bartlett
c615ebed6e s3-lib Replace StrCaseCmp() with strcasecmp_m()
strcasecmp_m() never needs to call to talloc, and via next_codepoint()
still has an ASCII fast-path bypassing iconv() calls.

Andrew Bartlett
2011-05-18 16:12:08 +02:00
Derrell Lipman
9c15bd311d r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500
lp_load() could not be called multiple times to modify parameter settings based
 on reading from multiple configuration settings.  Each time, it initialized all
 of the settings back to their defaults before reading the specified
 configuration file.

 This patch adds a parameter to lp_load() specifying whether the settings should
 be initialized.  It does, however, still force the settings to be initialized
 the first time, even if the request was to not initialize them.  (Not doing so
 could wreak havoc due to uninitialized values.)
(This used to be commit f2a24de769)
2007-10-10 11:06:18 -05:00
Martin Pool
5b70d85047 Set character set to default (UTF-8) before running tests.
(This used to be commit b20d8b4970)
2003-04-09 05:31:39 +00:00
Martin Pool
80cd7c552f t_push_ucs2, t_strcmp: Run tests only once by default, rather than
10000 times.  (In theory they should be pure functions....)  You can
specify a parameter to repeat them if you want to e.g. measure
performance.
(This used to be commit 92acecd28c)
2003-04-09 05:22:17 +00:00
Martin Pool
54925dcc60 Run test 10000 times to make measurement easier.
(This used to be commit e051789ac6)
2003-03-19 02:59:18 +00:00
Martin Pool
9a63d8bc2a Update usage message.
(This used to be commit 17f01f6959)
2003-03-12 02:58:45 +00:00
Martin Pool
37e39f5be4 Add simple test harness that exposes StrCaseCmp for testing.
(This used to be commit ab77beca04)
2003-02-28 03:34:18 +00:00