From: John Hodge Date: Tue, 17 Aug 2010 01:38:13 +0000 (+0800) Subject: Added strncmp X-Git-Tag: rel0.06~57 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=8be652c8915e16cd64b0b34c84ca43d9f892ded9;p=tpg%2Facess2.git Added strncmp --- diff --git a/Kernel/lib.c b/Kernel/lib.c index 88ab3677..b512022d 100644 --- a/Kernel/lib.c +++ b/Kernel/lib.c @@ -665,7 +665,7 @@ Sint64 timestamp(int sec, int mins, int hrs, int day, int month, int year) ) && month > 1) // Leap year and after feb stamp += 3600*24; - stamp += ((365*4+1) * ((year-2000)&~3)) * 3600*24; // Foour Year Segments + stamp += ((365*4+1) * ((year-2000)&~3)) * 3600*24; // Four Year Segments stamp += ((year-2000)&3) * 365*3600*24; // Inside four year segment stamp += UNIX_TO_2K;