CVS update: samba/source/lib

tridge at samba.org tridge at samba.org
Thu Jun 21 19:10:40 EST 2001


Date:	Thu Jun 21 02:10:40 2001
Author:	tridge

Update of /home/cvs/samba/source/lib
In directory va:/tmp/cvs-serv25579/lib

Modified Files:
	cmd_interp.c util.c util_str.c util_unistr.c 
Log Message:
next_token() was supposed to be a reentrant replacement for strtok(),
but the code suffered from bitrot and is not now reentrant. That means
we can get bizarre behaviour 
i've fixed this by making next_token() reentrant and creating a 
next_token_nr() that is a small non-reentrant wrapper for those lumps
of code (mostly smbclient) that have come to rely on the non-reentrant
behaviour



Revisions:
cmd_interp.c		1.20 => 1.21
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/cmd_interp.c?r1=1.20&r2=1.21
util.c		1.302 => 1.303
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util.c?r1=1.302&r2=1.303
util_str.c		1.26 => 1.27
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_str.c?r1=1.26&r2=1.27
util_unistr.c		1.59 => 1.60
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_unistr.c?r1=1.59&r2=1.60




More information about the samba-cvs mailing list