Subject: realpath question

From: Omar Keblawi <[email-masked]>
Date: Thu, 31 Dec 1998 10:00:50 -0800

Hey,

I think I solved the "realpath"  declaration problem.
Could somebody tell me if this was the *right* thing to do?
Are there any bad consequences to doing it this way?

Thanks,
Omar 

Here's what I did.

I modified ftpd.c and realpath.c to include the "const".

ftpsrvr# diff ftpd-orig.c ftpd.c
143c143
<  *realpath(char *pathname, char *result);
---
>  *realpath(const char *pathname, char *result);

ftpsrvr# diff realpath-orig.c realpath.c
45c45
< realpath(char *pathname, char *result)
---
> realpath(const char *pathname, char *result)