summaryrefslogtreecommitdiff
path: root/src/libstddjb/sarealpath.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-07-21 11:16:11 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-07-21 11:16:11 +0000
commite8fe8ed8117bb1a58cd588b295352875d3c08c1a (patch)
treeaa2aac4a2d2d356f8f3bb2daaa0ad19b5a616a55 /src/libstddjb/sarealpath.c
parent0a181fc1b38a62e583f13ccc1550f7ffc8f5896b (diff)
downloadskalibs-e8fe8ed8117bb1a58cd588b295352875d3c08c1a.tar.xz
Remove mininetstring, absolutepath, absolutepath_tmp
Diffstat (limited to 'src/libstddjb/sarealpath.c')
-rw-r--r--src/libstddjb/sarealpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/sarealpath.c b/src/libstddjb/sarealpath.c
index 0cf1825..28631c6 100644
--- a/src/libstddjb/sarealpath.c
+++ b/src/libstddjb/sarealpath.c
@@ -18,7 +18,7 @@ int sarealpath (stralloc *sa, char const *path)
{
char *p = realpath(path, 0) ;
if (!p) return -1 ;
- sa->s = p ;
+ sa->s = p ; /* XXX: incompatible with alloc() interposition */
sa->len = strlen(p) ;
sa->a = sa->len + 1 ;
}