diff options
| author | Mikhael-Danilov <mikhaeldanilov@gmail.com> | 2013-02-20 22:19:05 +0400 |
|---|---|---|
| committer | Mikhael-Danilov <mikhaeldanilov@gmail.com> | 2013-02-20 22:19:05 +0400 |
| commit | b21e375840c3f4afcba8d4d56e4586849928c2aa (patch) | |
| tree | 0e6366c1907a903845781c4bf08d036724124746 /src | |
| parent | 9c2679f9d78f773471f2a9e58d02d8d6b29a2aa1 (diff) | |
| download | luafilesystem-b21e375840c3f4afcba8d4d56e4586849928c2aa.tar.gz luafilesystem-b21e375840c3f4afcba8d4d56e4586849928c2aa.tar.bz2 luafilesystem-b21e375840c3f4afcba8d4d56e4586849928c2aa.zip | |
Update src/lfs.c
Fix Windows build: make_link now returns int as it should
Diffstat (limited to 'src')
| -rw-r--r-- | src/lfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -408,7 +408,7 @@ static int make_link(lua_State *L) | |||
| 408 | return pushresult(L, | 408 | return pushresult(L, |
| 409 | (lua_toboolean(L,3) ? symlink : link)(oldpath, newpath), NULL); | 409 | (lua_toboolean(L,3) ? symlink : link)(oldpath, newpath), NULL); |
| 410 | #else | 410 | #else |
| 411 | pusherror(L, "make_link is not supported on Windows"); | 411 | return pusherror(L, "make_link is not supported on Windows"); |
| 412 | #endif | 412 | #endif |
| 413 | } | 413 | } |
| 414 | 414 | ||
