You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fu...@apache.org on 2013/05/10 05:38:53 UTC
svn commit: r1480871 - /httpd/httpd/trunk/modules/lua/lua_request.c
Author: fuankg
Date: Fri May 10 03:37:06 2013
New Revision: 1480871
URL: http://svn.apache.org/r1480871
Log:
Revert part of r1476482 which disabled fractions of seconds with r.sleep().
Modified:
httpd/httpd/trunk/modules/lua/lua_request.c
Modified: httpd/httpd/trunk/modules/lua/lua_request.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/lua_request.c?rev=1480871&r1=1480870&r2=1480871&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/lua_request.c (original)
+++ httpd/httpd/trunk/modules/lua/lua_request.c Fri May 10 03:37:06 2013
@@ -1574,7 +1574,7 @@ static int lua_ap_sleep(lua_State *L)
apr_interval_time_t msec;
luaL_checktype(L, 1, LUA_TNUMBER);
- msec = (lua_tointeger(L, 1) * 1000000);
+ msec = (lua_tonumber(L, 1) * 1000000);
apr_sleep(msec);
return 0;
}
Re: svn commit: r1480871 - /httpd/httpd/trunk/modules/lua/lua_request.c
Posted by Rainer Jung <ra...@kippdata.de>.
On 10.05.2013 06:03, Guenter Knauf wrote:
> Hi all,
> something went wrong with this commit:
> svn ci modules\lua
> Sending modules\lua\lua_request.c
> Transmitting file data .
> Committed revision 1480871.
>
> Warning: post commit FS processing had error:
> Couldn't open rep-cache database
>
> and then:
> svn up
> svn: A reported revision is higher than the current repository HEAD
> revision. Perhaps the repository is out of date with respect to the
> master repository?
>
> also this revision doesnt show up with viewvc:
> http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/lua_request.c?view=log
>
>
> anyone an idea what went wrong?
Sounds like an svn replication problem. Your commit now does show up in
viewvc for svn.eu and svn.us, so maybe OK now.
Regards,
Rainer
Re: svn commit: r1480871 - /httpd/httpd/trunk/modules/lua/lua_request.c
Posted by Guenter Knauf <fu...@apache.org>.
Hi all,
something went wrong with this commit:
svn ci modules\lua
Sending modules\lua\lua_request.c
Transmitting file data .
Committed revision 1480871.
Warning: post commit FS processing had error:
Couldn't open rep-cache database
and then:
svn up
svn: A reported revision is higher than the current repository HEAD
revision. Perhaps the repository is out of date with respect to the
master repository?
also this revision doesnt show up with viewvc:
http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/lua_request.c?view=log
anyone an idea what went wrong?
Gün.
On 10.05.2013 05:38, fuankg@apache.org wrote:
> Author: fuankg
> Date: Fri May 10 03:37:06 2013
> New Revision: 1480871
>
> URL: http://svn.apache.org/r1480871
> Log:
> Revert part of r1476482 which disabled fractions of seconds with r.sleep().
>
> Modified:
> httpd/httpd/trunk/modules/lua/lua_request.c
>
> Modified: httpd/httpd/trunk/modules/lua/lua_request.c
> URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/lua_request.c?rev=1480871&r1=1480870&r2=1480871&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/modules/lua/lua_request.c (original)
> +++ httpd/httpd/trunk/modules/lua/lua_request.c Fri May 10 03:37:06 2013
> @@ -1574,7 +1574,7 @@ static int lua_ap_sleep(lua_State *L)
>
> apr_interval_time_t msec;
> luaL_checktype(L, 1, LUA_TNUMBER);
> - msec = (lua_tointeger(L, 1) * 1000000);
> + msec = (lua_tonumber(L, 1) * 1000000);
> apr_sleep(msec);
> return 0;
> }
>
>
>