No, there's an error. tm_mon is given as "months since January" in the range 0 to 11. In order to print them as you are you need to add one to it.

I'll fix it in my branch.

Walt

Murali Vilayannur wrote:
Hi Walt,
It is indeed odd. We issue a call to time() and pass that to localtime().
Unless the time on your system is wrong, localtime() should print the
correct month etc..
Can you check if the time/date on the machine is right? sorry out of
clues on this one.
thanks,
Murali

On 11/9/06, Walter B. Ligon III <[EMAIL PROTECTED]> wrote:

Hey, the client core prints a date at the point in the log file where it
starts.  On my system the month is off by one.  Is this unusual?

Walt

--
Dr. Walter B. Ligon III
Associate Professor
ECE Department
Clemson University
_______________________________________________
Pvfs2-developers mailing list
Pvfs2-developers@beowulf-underground.org
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers


--
Dr. Walter B. Ligon III
Associate Professor
ECE Department
Clemson University
_______________________________________________
Pvfs2-developers mailing list
Pvfs2-developers@beowulf-underground.org
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to