Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:erlang
erlang-erlang_js
erlang_js-1.3.0-fix-newer-builds.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlang_js-1.3.0-fix-newer-builds.patch of Package erlang-erlang_js
diff -U 3 -H -d -r -N -x .git -x .svn -- erlang_js-1.3.0/src/js_benchmark.erl erlang_js-1.3.0.fix-newer-builds/src/js_benchmark.erl --- erlang_js-1.3.0/src/js_benchmark.erl 2014-04-11 22:39:20.000000000 +0200 +++ erlang_js-1.3.0.fix-newer-builds/src/js_benchmark.erl 2016-02-26 11:59:10.641309005 +0100 @@ -38,9 +38,9 @@ %% @private time_calls(Ctx, Count) -> io:format("Starting: ~p~n", [Count]), - Start = erlang:now(), + Start = os:timestamp(), do_calls(Ctx, Count), - timer:now_diff(erlang:now(), Start) / Count. + timer:now_diff(os:timestamp(), Start) / Count. %% @private do_calls(_Ctx, 0) -> diff -U 3 -H -d -r -N -x .git -x .svn -- erlang_js-1.3.0/src/js_mochijson2.erl erlang_js-1.3.0.fix-newer-builds/src/js_mochijson2.erl --- erlang_js-1.3.0/src/js_mochijson2.erl 2014-04-11 22:39:20.000000000 +0200 +++ erlang_js-1.3.0.fix-newer-builds/src/js_mochijson2.erl 2016-02-26 11:55:45.178093494 +0100 @@ -32,8 +32,6 @@ -define(IS_WHITESPACE(C), (C =:= $\s orelse C =:= $\t orelse C =:= $\r orelse C =:= $\n)). -%% @type iolist() = [char() | binary() | iolist()] -%% @type iodata() = iolist() | binary() %% @type json_string() = atom | binary() %% @type json_number() = integer() | float() %% @type json_array() = [json_term()]
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor