Strftime: negative years

2011-06-15 Thread Steven Abner
Hi, First sorry to bother, second thank you for providing source code worthy of a good shake down, third, arghhh, using negative years I found the return value to be off. Using "%V/%u/%010G", which was the flag and field we matched, and creating a struct of Jan 1 dates, the return value differ

strftime() possible security/crash risk

2011-06-12 Thread Steven Abner
Hi, me again. Still testing against your code, currently flag and bounds testing, and came across a possible risk?. Here's how to duplicate: char buf2[64]; //use your struct and localtime to generate valid ltm ret = strftime(buf2, 64, "%21V%21w%21G+",

porting code

2011-06-09 Thread Steven Abner
Hi I was just turned on to your library from another developer group in reference to testing. It was great! Normally I spend hours, sometimes giving up, on trying to get glibc code. Took me about 10 mins to start using your code! Well, as said I use for testing. I wish to know how to link in t