summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorPaul Fox2007-11-08 20:00:36 +0000
committerPaul Fox2007-11-08 20:00:36 +0000
commit599bbfbd9be0073c262319a120174fad5a60113e (patch)
treed1145b8f98fd138241c72ac4601389d748b5d580 /include/libbb.h
parentabbd363261cf3a9b18e611c524f8103fb68f539b (diff)
downloadbusybox-599bbfbd9be0073c262319a120174fad5a60113e.zip
busybox-599bbfbd9be0073c262319a120174fad5a60113e.tar.gz
xmalloc_follow_symlinks() -- fix ELOOP issue with absolute paths,
return full path in cases where path doesn't resolve to a link. change name to better differentiate from xmalloc_readlink().
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 0170085..1adac84 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -260,10 +260,10 @@ DIR *warn_opendir(const char *path);
/* UNUSED: char *xmalloc_realpath(const char *path); */
char *xmalloc_readlink(const char *path);
-char *xmalloc_readlink_follow(const char *path);
char *xmalloc_readlink_or_warn(const char *path);
char *xrealloc_getcwd_or_warn(char *cwd);
+char *xmalloc_follow_symlinks(const char *path);
//TODO: signal(sid, f) is the same? then why?
extern void sig_catch(int,void (*)(int));