Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-04-16 | Optimize process table access | Rickard Green | |
2011-12-09 | Update copyright years | Björn-Egil Dahlberg | |
2011-12-08 | Merge branch 'egil/file-info-opt-utc/OTP-7687' | Björn-Egil Dahlberg | |
* egil/file-info-opt-utc/OTP-7687: (39 commits) Remove time_t specific test in prim_file_SUITE Update prim_file.beam and prim_zip.beam Add types for posixtime_to_universaltime and the reverse Set BASEYEAR to 1902 Set lower limit of years handled to 1601 Emulate localtime, gmtime and mktime to enable negative time_t Document file:*_file_info/2 Fix compiler warning in unix_efile.c Change name of bif universaltime_to_seconds/1 Change options to prim_file:*_file_info/* Remove dead code Catch errors from prim_file:*_file_info Testcase for utc <-> seconds conversion Fix negative time in seconds_to_universaltime/1 Remove OS taint from datetime conversion Add utc <-> seconds conversions bifs Let prim_file validate ctime in file_info Teach #file_info spec unix epochs for file times Add file_info_opt tests in prim_file_SUITE unix_efile: Zero is a valid number in utime ... Conflicts: erts/emulator/beam/erl_time_sup.c erts/emulator/sys/win32/erl_win_sys.h erts/emulator/sys/win32/sys_time.c | |||
2011-12-08 | Set BASEYEAR to 1902 | Patrik Nyblom | |
2011-12-08 | Set lower limit of years handled to 1601 | Patrik Nyblom | |
2011-12-08 | Emulate localtime, gmtime and mktime to enable negative time_t | Patrik Nyblom | |
2011-12-08 | Fix negative time in seconds_to_universaltime/1 | Björn-Egil Dahlberg | |
2011-12-08 | Remove OS taint from datetime conversion | Björn-Egil Dahlberg | |
2011-12-08 | Add utc <-> seconds conversions bifs | Björn-Egil Dahlberg | |
2011-12-08 | Let univ_to_local reflect HAVE localtime_r | Björn-Egil Dahlberg | |
Handle error cases when localtime or localtime_r returns null. | |||
2011-12-08 | Fix types for gregday in erl_time_sup.c | Björn-Egil Dahlberg | |
2011-12-02 | Fix time types | Rickard Green | |
2011-12-02 | Workaround for the -1 problem of mktime | Björn-Egil Dahlberg | |
2011-12-02 | Teach erlang about the times before 1970 | Björn-Egil Dahlberg | |
2011-12-02 | Get cerl and distribution working in Win64 | Patrik Nyblom | |
Can still not setup -a, but cerl works. | |||
2010-12-20 | Remove timer-thread implementation | Björn-Egil Dahlberg | |
2010-12-20 | Refactor timer interface | Björn-Egil Dahlberg | |
2010-06-23 | Teach erl_time_sup to handle timezones w/o DST on FreeBSD as on other platforms | Patrik Nyblom | |
This change handles erlang:localtime_to_universaltime(...,true) in timezones without DST in a consistent way over platforms. Specifically BSD did return an (accurate) -1 from mktime, which blew things up. Now all platforms regard no DST as a DST with delta zero. Linux, SunOS, MacOS etc already did this, why the behaviour on BSD was updated to the slightly incorrect one instead of breaking backward compatibility on most other platforms. Before this change, erlang:localtime_to_universaltime({{2008, 8, 1}, {0, 0, 0}},true) would return {1969, 12, 31}, {23, 59, 59}} when TZ=UTC on FreeBSD, now it mimics the behaviour of other systems and returns {{2008, 8, 1},{0, 0, 0}}. The problem was originally reported by Paul Guyot on erlang-bugs mailing list: http://www.erlang.org/pipermail/erlang-bugs/2008-November/001077.html This correction replaces earlier BSD specific open source patches for this problem. | |||
2010-01-25 | Merge branch 'ta/os_timestamp_no_mutex' into ccase/r13b04_dev | Erlang/OTP | |
* ta/os_timestamp_no_mutex: Remove mutex lock around sys_gettimeofday() in os:timestamp/0 OTP-8390 An unecessary lock operation in os:timestamp/0 has been eliminated, making it slightly more efficient. (Thanks to Jonas Falkevik and Tuncer Ayaz.) | |||
2010-01-23 | Remove mutex lock around sys_gettimeofday() in os:timestamp/0 | Tuncer Ayaz | |
In the erlang-questions thread "os:timestamp() uses mutex lock" Jonas Falkevik questioned the need for a mutex lock in os:timestamp/0. The mutex lock *is* needed in erlang:now() to guarantee the uniqueness of the returned time, but serves no useful purpose in os:timestamp(). Signed-off-by: Tuncer Ayaz <[email protected]> | |||
2009-11-20 | The R13B03 release.OTP_R13B03 | Erlang/OTP | |