Mercurial > urweb
comparison src/c/urweb.c @ 1359:e525ad571e15
Recursive record unification errors, for more detail
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 23 Dec 2010 11:23:31 -0500 |
parents | 32c8a3509369 |
children | 02fc16faecf3 |
comparison
equal
deleted
inserted
replaced
1358:32c8a3509369 | 1359:e525ad571e15 |
---|---|
2580 return r; | 2580 return r; |
2581 } else | 2581 } else |
2582 return "<Invalid time>"; | 2582 return "<Invalid time>"; |
2583 } | 2583 } |
2584 | 2584 |
2585 uw_Basis_string uw_Basis_timeToStringf(uw_context ctx, const char *fmt, uw_Basis_time t) { | 2585 uw_Basis_string uw_Basis_timef(uw_context ctx, const char *fmt, uw_Basis_time t) { |
2586 size_t len; | 2586 size_t len; |
2587 char *r; | 2587 char *r; |
2588 struct tm stm; | 2588 struct tm stm; |
2589 | 2589 |
2590 if (localtime_r(&t, &stm)) { | 2590 if (localtime_r(&t, &stm)) { |