[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: date parser

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2004-01-08 08:14:37 CET

On Wed, 7 Jan 2004, Greg Hudson wrote:

> The current date code is not thread-safe. That's a bug. Nobody cares right
> now because nobody is using the client code in a threaded program, but
> people will care eventually. If we continue to use getdate.y in svn 1.0, we
> will be put in the unpleasant situation of having to (practically) sacrifice
> compatibility in order to get thread-safety.

Making getdate.y thread-safe is not very hard. We already have a thread-safe
version of getdate.y in the curl project:

        http://cvs.php.net/cvs.php/curl/lib/getdate.y

I'm not taking a position in this discussion, I'm only bringing this info for
others to use or ignore.

-- 
         -=- Daniel Stenberg -=- http://daniel.haxx.se -=-
  ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 8 08:15:13 2004

This is an archived mail posted to the Subversion Dev mailing list.