Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146817231
D20002.1781200193.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D20002.1781200193.diff
View Options
Index: head/devel/lutok/Makefile
===================================================================
--- head/devel/lutok/Makefile
+++ head/devel/lutok/Makefile
@@ -3,7 +3,7 @@
PORTNAME= lutok
PORTVERSION= 0.4
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= devel
MASTER_SITES= https://github.com/jmmv/lutok/releases/download/${PORTNAME}-${PORTVERSION}/ \
LOCAL/jmmv
Index: head/devel/lutok/files/patch-state.cpp
===================================================================
--- head/devel/lutok/files/patch-state.cpp
+++ head/devel/lutok/files/patch-state.cpp
@@ -0,0 +1,11 @@
+--- state.cpp.orig 2019-04-22 05:13:10 UTC
++++ state.cpp
+@@ -492,7 +492,7 @@ lutok::state::is_userdata(const int inde
+ void
+ lutok::state::load_file(const std::string& file)
+ {
+- if (!::access(file.c_str(), R_OK) == 0)
++ if (::access(file.c_str(), R_OK) == -1)
+ throw lutok::file_not_found_error(file);
+ if (luaL_loadfile(_pimpl->lua_state, file.c_str()) != 0)
+ throw lutok::api_error::from_stack(*this, "luaL_loadfile");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jun 11, 5:49 PM (6 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28882175
Default Alt Text
D20002.1781200193.diff (1 KB)
Attached To
Mode
D20002: Backport patch to fix error check with access(3) failures
Attached
Detach File
Event Timeline
Log In to Comment