clean up strequal()?

Jelmer Vernooij jelmer at nl.linux.org
Thu Apr 10 09:10:30 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 10 April 2003 11:01, Andrew Bartlett wrote:
> On Thu, 2003-04-10 at 12:46, Gerald (Jerry) Carter wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On 10 Apr 2003, Andrew Bartlett wrote:
> > > My only problem comes from the fact that some things are paths, and are
> > > therefore case sensitive, while others are not - but I'm not fussed
> > > about this.
> >
> > I thought the proposal was about making parameter case insensitive.
> > Not values.  Did I misunderstand?
>
> OK - back to what I actually meant:
>
> Some parts of the new modules system use 'strequal' in their internal
> loops, matching module names in smb.conf with builtin modules and others
> brought in from .so files.
They use strequal because I thought that strequal(a,b) was actually the same 
as (!strcmp(a,b)) ... 

Jelmer

- -- 
Jelmer Vernooij <jelmer at nl.linux.org> - http://nl.linux.org/~jelmer/
 11:09:34 up 14:44,  2 users,  load average: 0.12, 0.25, 0.50
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+lTUGPa9Uoh7vUnYRAm8NAJ9KrXIKm+ENI9vHrJ2T++seKbJi9ACglu34
DLTX7LnHTxYe52KscBTmxOk=
=z0/B
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list