summaryrefslogtreecommitdiff
path: root/src/libstddjb/sarealpath.c
diff options
context:
space:
mode:
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 ;
}