summaryrefslogtreecommitdiff
path: root/luaif
diff options
context:
space:
mode:
authorLauri Aarnio <Lauri.Aarnio@iki.fi>2009-02-02 00:26:59 +0200
committerLauri Leukkunen <lle@rahina.org>2009-02-10 08:38:11 +0200
commit832ce8591454d9168aa356d930af00b83b858995 (patch)
treee233dcba3dffb0b93a287a0f442d6b6ab58e1eb7 /luaif
parentd67bc95d5b53e8497ace594dcb1b984c72d6d85e (diff)
Bugfix: Added handling of AT_SYMLINK_NOFOLLOW to fchownat()
Diffstat (limited to 'luaif')
-rw-r--r--luaif/paths.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/luaif/paths.c b/luaif/paths.c
index dfaf5bb..b257977 100644
--- a/luaif/paths.c
+++ b/luaif/paths.c
@@ -738,12 +738,14 @@ static char *sb_path_resolution(
if (work->pe_next) {
rest_of_path = path_entries_to_string(
work->pe_next);
+ SB_LOG(SB_LOGLEVEL_NOISE,
+ "symlink:more: rest='%s'", rest_of_path);
} else {
/* last component of the path was a symlink. */
rest_of_path = strdup("");
+ SB_LOG(SB_LOGLEVEL_NOISE,
+ "symlink:last: rest=''");
}
- SB_LOG(SB_LOGLEVEL_NOISE,
- "is symlink: rest='%s'", rest_of_path);
if (*link_dest == '/') {
/* absolute symlink.