replace pdksh’s get_phys_path() and do_phys_path() with my new

do_realpath() function – looking fine, review welcome though
This commit is contained in:
tg
2009-08-30 13:30:08 +00:00
parent 31e02e59f7
commit e622d80394
3 changed files with 10 additions and 82 deletions

3
sh.h
View File

@@ -134,7 +134,7 @@
#endif
#ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.335 2009/08/30 13:22:39 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.336 2009/08/30 13:30:08 tg Exp $");
#endif
#define MKSH_VERSION "R39 2009/08/28"
@@ -1578,7 +1578,6 @@ int reset_nonblock(int);
char *ksh_get_wd(size_t *);
int make_path(const char *, const char *, char **, XString *, int *);
void simplify_path(char *);
char *get_phys_path(const char *);
void set_current_wd(char *);
#ifdef MKSH_SMALL
char *strdup_(const char *, Area *);