summaryrefslogtreecommitdiff
path: root/bsd-realpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-realpath.c')
-rw-r--r--bsd-realpath.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/bsd-realpath.c b/bsd-realpath.c
index 103dcc256..baf17f1a4 100644
--- a/bsd-realpath.c
+++ b/bsd-realpath.c
@@ -52,6 +52,13 @@ static char *rcsid = "$OpenBSD: realpath..c,v 1.4 1998/05/18 09:55:19 deraadt Ex
52#endif 52#endif
53 53
54/* 54/*
55 * MAXSYMLINKS
56 */
57#ifndef MAXSYMLINKS
58#define MAXSYMLINKS 5
59#endif
60
61/*
55 * char *realpath(const char *path, char resolved_path[MAXPATHLEN]); 62 * char *realpath(const char *path, char resolved_path[MAXPATHLEN]);
56 * 63 *
57 * Find the real name of path, by removing all ".", ".." and symlink 64 * Find the real name of path, by removing all ".", ".." and symlink