I hate ".dup"

Qian Xu quian.xu at stud.tu-ilmenau.de
Tue Mar 24 09:26:29 PDT 2009


Steven Schveighoffer wrote:
> 
> Coincidentally, someone else discovered a buffer-overrun bug in
> tango.text.convert.TimeStamp, see
> http://www.dsource.org/projects/tango/forums/topic/704
> 
> Please try downloading the latest trunk code and see if your code still
> fails.
> 
> You should not have to .dup the string, if you do, that is a bug.
> 
> -Steve

TimeStamp.iso8601(..) does not call the parse() function. 




More information about the Digitalmars-d-learn mailing list