CVS update: samba/source/auth

Jeremy Allison jra at samba.org
Thu Jul 3 23:21:10 GMT 2003


On Fri, Jul 04, 2003 at 09:16:06AM +1000, Andrew Bartlett wrote:
> On Fri, 2003-07-04 at 05:11, jra at samba.org wrote:
> > Date:	Thu Jul  3 19:11:27 2003
> > Author:	jra
> > 
> > Update of /data/cvs/samba/source/auth
> > In directory dp.samba.org:/tmp/cvs-serv12062/auth
> > 
> > Modified Files:
> >       Tag: SAMBA_3_0
> > 	auth_builtin.c auth_server.c pass_check.c 
> > Log Message:
> > Removed strupper/strlower macros that automatically map to strupper_m/strlower_m.
> > I really want people to think about when they're using multibyte strings.
> > Jeremy.
> 
> Isn't this just going to lead to people using strupper() and not knowing
> to use a multibyte macro?

Nope - there is no strupper.... ("there is no spoon..." :-) :-).

strupper/strlower were *only* macros that were #defined to strupper_m/strlower_m,
I just made it explicit. Now you have to think - I'm upper/lower casing a
string, oh - I have to use a multibyte function - what effect will that
have on legth etc. ?

Jeremy.



More information about the samba-technical mailing list