From owner-cvs-lib Thu Oct 2 16:32:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA01378 for cvs-lib-outgoing; Thu, 2 Oct 1997 16:32:46 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA01310; Thu, 2 Oct 1997 16:31:58 -0700 (PDT) From: Bill Fenner Received: (from fenner@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id QAA11082; Thu, 2 Oct 1997 16:26:09 -0700 (PDT) Date: Thu, 2 Oct 1997 16:26:09 -0700 (PDT) Message-Id: <199710022326.QAA11082@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libftpio ftpio.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fenner 1997/10/02 16:26:09 PDT Modified files: lib/libftpio ftpio.c Log: Teach ftpErrString to format UNIX errnos, since at least ftpLogin() can return UNIX errnos. When UNIX errnos catch up with FTP status codes (e.g. at 100) a new way will have to be found to tell which is which. This allows fetch to print errors like fetch: ftp.fu-berlin.de: No route to host instead of fetch: ftp.fu-berlin.de: Unknown error Revision Changes Path 1.28 +4 -1 src/lib/libftpio/ftpio.c