Mercurial > hg > xemacs-beta
comparison src/realpath.c @ 203:850242ba4a81 r20-3b28
Import from CVS: tag r20-3b28
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:02:21 +0200 |
parents | a2f645c6b9f8 |
children | 92f8ad5d0d3f |
comparison
equal
deleted
inserted
replaced
202:61eefc8fc970 | 203:850242ba4a81 |
---|---|
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]; |