comparison src/realpath.c @ 205:92f8ad5d0d3f r20-4b1

Import from CVS: tag r20-4b1
author cvs
date Mon, 13 Aug 2007 10:02:46 +0200
parents 850242ba4a81
children 558f606b08ae
comparison
equal deleted inserted replaced
204:a15e4b3d59c6 205:92f8ad5d0d3f
57 #endif 57 #endif
58 58
59 #define MAX_READLINKS 32 59 #define MAX_READLINKS 32
60 60
61 #ifdef __STDC__ 61 #ifdef __STDC__
62 char *realpath(CONST char *path, char resolved_path []) 62 char *realpath(const char *path, char resolved_path [])
63 #else 63 #else
64 char *realpath(path, resolved_path) 64 char *realpath(path, resolved_path)
65 CONST char *path; 65 const char *path;
66 char resolved_path []; 66 char resolved_path [];
67 #endif 67 #endif
68 { 68 {
69 char copy_path[PATH_MAX]; 69 char copy_path[PATH_MAX];
70 char link_path[PATH_MAX]; 70 char link_path[PATH_MAX];