[Mapserver-dev] Maplexer.l/strptime

Ned Harding nharding at extendthereach.com
Tue Feb 3 14:38:09 EST 2004


Damn, sorry.  I got the behavior backwards...  I'm embarrassed now.  The
function didn't show up in the VC7.1 docs, so I guessed its behavior.

Anyway, I put the old version back in CVS.  Sorry about that; good catch
Daniel.

Ned.


-----Original Message-----
From: Daniel Morissette [mailto:dmorissette at dmsolutions.ca] 
Sent: Tuesday, February 03, 2004 12:23 PM
To: Ned Harding
Cc: mapserver-dev at lists.gis.umn.edu
Subject: Re: [Mapserver-dev] Maplexer.l/strptime


Ned Harding wrote:
> VC7.1 doesn't have a strptime function, so I changed it to a sprintf 
> in the maplexer.l so that I could compile the latest from CVS.
> 
> I'm not set up to test the time related stuff, so I apologize if I 
> broke anything, but it should work fine.  If anyone has an issue, let 
> me know.
> 

strptime() converts a string to a time struct, so it is unlikely that 
you can emulate that with sprintf().  I know that Assefa was going to 
work on this, perhaps he can give us an update?

I have created bug 556 to track this:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=556

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the mapserver-dev mailing list