From owner-svn-src-user@FreeBSD.ORG Fri Oct 17 11:57:37 2008 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00AD91065691; Fri, 17 Oct 2008 11:57:37 +0000 (UTC) (envelope-from netchild@freebsd.org) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 9FF298FC12; Fri, 17 Oct 2008 11:57:36 +0000 (UTC) (envelope-from netchild@freebsd.org) Received: from outgoing.leidinger.net (pD9E2F457.dip.t-dialin.net [217.226.244.87]) by redbull.bpaserver.net (Postfix) with ESMTP id C5EC1316D8; Fri, 17 Oct 2008 13:57:29 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 732CD359B4; Fri, 17 Oct 2008 13:57:02 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m9HBuxZe026065; Fri, 17 Oct 2008 13:56:59 +0200 (CEST) (envelope-from netchild@FreeBSD.org) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Fri, 17 Oct 2008 13:56:59 +0200 Message-ID: <20081017135659.41525zeb0tv4avgo@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 17 Oct 2008 13:56:59 +0200 From: Alexander Leidinger To: Rink Springer References: <200810161058.m9GAw0ua059956@svn.freebsd.org> <20081017070044.GC71466@mavetju.org> <20081017112433.24936er2myfi9pwc@webmail.leidinger.net> <20081017105138.GR71453@mavetju.org> <20081017111451.GA67097@rink.nu> In-Reply-To: <20081017111451.GA67097@rink.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: C5EC1316D8.D7158 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.723, required 6, BAYES_00 -15.00, RDNS_DYNAMIC 0.10, SARE_FROM_SPAM_WORD3 0.10, TW_SV 0.08) X-BPAnet-MailScanner-From: netchild@freebsd.org X-Spam-Status: No X-Mailman-Approved-At: Fri, 17 Oct 2008 12:25:09 +0000 Cc: Edwin Groothuis , src-committers@FreeBSD.org, svn-src-user@FreeBSD.org Subject: Re: svn commit: r183951 - user/netchild/obsolete/src/libexec/tftpd X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 11:57:37 -0000 Quoting Rink Springer (from Fri, 17 Oct 2008 =20 13:14:51 +0200): > On Fri, Oct 17, 2008 at 09:51:38PM +1100, Edwin Groothuis wrote: >> On Fri, Oct 17, 2008 at 11:24:33AM +0200, Alexander Leidinger wrote: >> > Quoting Edwin Groothuis (from Fri, 17 Oct 2008 >> > 18:00:44 +1100): >> > >> > >On Thu, Oct 16, 2008 at 10:58:00AM +0000, Alexander Leidinger wrote: >> > >> The correct spelling is EACCES, not EACCESS. >> > >[...] >> > >>-=09{ EACCESS,=09"Access violation" }, >> > >>+=09{ EACCES,=09"Access violation" }, >> > > >> > >I am not sure what you mean with this... What is exactly wrong with >> > >the last S in EACCESS ? >> > >> > "man errno" does not list EACCESS, it only lists EACCES. >> >> True, but this is a TFTP error, not a system call return value. >> See also the Appendix "Error Codes" of RFC1350. > > Wouldn't using definitions like 'TFTP_Exxx' make more sense, to prevent > possible confusion as these are TFTP-specific error values? Boy, this is not only confusing, it's also dangerous. There's more =20 than only the EACCESS very near to named errno values. I fully agree =20 with Rink, specially as the RFC only specifies error values, not =20 symbolic names. Bye, Alexander. --=20 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 Create problems for which only you have the answer.