CVS update: samba/source/libsmb
tridge at samba.org
tridge at samba.org
Thu Jun 21 19:10:41 EST 2001
Date: Thu Jun 21 02:10:40 2001
Author: tridge
Update of /home/cvs/samba/source/libsmb
In directory va:/tmp/cvs-serv25579/libsmb
Modified Files:
clireadwrite.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:
clireadwrite.c 1.3 => 1.4
http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/clireadwrite.c?r1=1.3&r2=1.4
More information about the samba-cvs
mailing list