summaryrefslogtreecommitdiff
path: root/lib/commonio.c
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2022-08-20 18:17:29 +0200
committerBalint Reczey <balint@balintreczey.hu>2022-08-20 18:17:29 +0200
commit69ca70f20204c63dca3ae4f85dd9a37188dcfc0b (patch)
treefd3a6ed4ed4551b63d0f9ed74690c8fbcaf2f7df /lib/commonio.c
parent8d8547f65fc0474fa335d04201ee9c2ccb9aa773 (diff)
parent675b462b64b213647d0f5c56b1e8440be5890c8a (diff)
downloadshadow-69ca70f20204c63dca3ae4f85dd9a37188dcfc0b.tar.gz
Update upstream source from tag 'upstream/4.12.2+dfsg1'
Update to upstream version '4.12.2+dfsg1' with Debian dir 52044f35b7f4073e1929e253a646847ef319cac4
Diffstat (limited to 'lib/commonio.c')
-rw-r--r--lib/commonio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/commonio.c b/lib/commonio.c
index 9e0fde60..80288d64 100644
--- a/lib/commonio.c
+++ b/lib/commonio.c
@@ -65,7 +65,6 @@ int lrename (const char *old, const char *new)
int res;
char *r = NULL;
-#if defined(S_ISLNK)
#ifndef __GLIBC__
char resolved_path[PATH_MAX];
#endif /* !__GLIBC__ */
@@ -82,7 +81,6 @@ int lrename (const char *old, const char *new)
new = r;
}
}
-#endif /* S_ISLNK */
res = rename (old, new);