diff -u libftp/FtpLibrary.h libftp.mikal/FtpLibrary.h --- libftp/FtpLibrary.h Sat Feb 16 21:09:22 2002 +++ libftp.mikal/FtpLibrary.h Sun Feb 17 08:32:33 2002 @@ -30,9 +30,9 @@ #include #include #include +#include - -extern char *sys_errlist[]; + //extern char *sys_errlist[]; extern int errno; diff -u libftp/FtpMessage.c libftp.mikal/FtpMessage.c --- libftp/FtpMessage.c Sat Feb 16 21:09:22 2002 +++ libftp.mikal/FtpMessage.c Sun Feb 17 08:35:03 2002 @@ -88,14 +88,15 @@ char *FtpMessage(int number) { - extern int sys_nerr,errno; - extern char *sys_errlist[]; + // extern int sys_nerr,errno; + // extern char *sys_errlist[]; FtpInitMessageList(); - if ( number == 0 ) - return sys_errlist[errno]; - return (FtpMessageList[abs(number)]==NULL)? - "":FtpMessageList[abs(number)]; + // if ( number == 0 ) + // return sys_errlist[errno]; + // return (FtpMessageList[abs(number)]==NULL)? + // "":FtpMessageList[abs(number)]; + return strerror(number); } Common subdirectories: libftp/doc and libftp.mikal/doc Only in libftp.mikal: linux-patch Common subdirectories: libftp/utils and libftp.mikal/utils