- Timestamp:
- 07/09/08 00:48:39 (5 months ago)
- Location:
- trunk/thune
- Files:
-
- 4 modified
-
context.c (modified) (2 diffs)
-
print.c (modified) (1 diff)
-
scripts/c_string.t (modified) (1 diff)
-
tokenize.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/context.c
r458 r541 147 147 AtomRec* end = table + ut->env->atoms.used; 148 148 149 while( it != end ) 150 { 151 dprint( "%4ld %08x %5d %5d %s\n", it - table, it->hash, 149 #if __WORDSIZE == 64 150 #define OFFINT "%4ld" 151 #else 152 #define OFFINT "%4d" 153 #endif 154 155 while( it != end ) 156 { 157 dprint( OFFINT " %08x %5d %5d %s\n", it - table, it->hash, 152 158 it->head, it->chain, 153 159 names + it->nameIndex ); … … 158 164 while( it != end ) 159 165 { 160 dprint( "%4ld%08x %5d %5d none\n", it - table, it->hash,166 dprint( OFFINT " %08x %5d %5d none\n", it - table, it->hash, 161 167 it->head, it->chain ); 162 168 ++it; -
trunk/thune/print.c
r540 r541 403 403 #if defined(_WIN32) 404 404 #if _MSC_VER >= 1400 405 _localtime_s( &st, &tt );405 localtime_s( &st, &tt ); 406 406 #else 407 407 st = *localtime( &tt ); -
trunk/thune/scripts/c_string.t
r500 r541 18 18 next dup tail prev remove drop ; Remove first & last bracket 19 19 trim.in 20 dup eol push 20 21 ;dup first eol eq? ift next 21 22 [some[ -
trunk/thune/tokenize.c
r540 r541 313 313 *pos = it; 314 314 #ifdef _WIN32 315 #if _MSC_VER >= 1400 316 return sec + (double) (utc ? _mkgmtime( &tmp ) : mktime( &tmp )); 317 #else 315 318 return sec + (double) mktime( &tmp ); // TODO: Handle utc. 319 #endif 316 320 #else 317 321 return sec + (double) (utc ? timegm( &tmp ) : mktime( &tmp ));
