From owner-freebsd-bugs Wed Apr 28 12:31:10 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from ns.kamp.net (ns.kamp.net [195.62.97.2]) by hub.freebsd.org (Postfix) with ESMTP id 773E414C45 for ; Wed, 28 Apr 1999 12:31:01 -0700 (PDT) (envelope-from andreas.zymny@ob.kamp.net) Received: from anzy (port-14.d.kamp.de [195.62.120.206]) by ns.kamp.net (8.9.3/8.9.3) with SMTP id VAA05423; Wed, 28 Apr 1999 21:30:58 +0200 (MET DST) From: "Andreas Zymny" To: Cc: "Andreas Zymny" Subject: Bug in "Wraphelp.c" Date: Wed, 28 Apr 1999 21:30:28 +0200 Message-ID: <000001be91ad$925709e0$ce783ec3@anzy.kamp.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I think I had found a bug in the file "Wraphelp.c" on ftp://ftp.internat.freebsd.org/pub/FreeBSD/X11-Crypto/Wraphelp.c... At the end of one the #define-line (for "HPERM_OP") I found an backslash: [...] #define PERM_OP(a,b,t,n,m) ((t)=((((a)>>(n))^(b))&(m)),\ (b)^=(t),\ (a)^=((t)<<(n))) #define HPERM_OP(a,t,n,m) ((t)=((((a)<<(16-(n)))^(a))&(m)),\ (a)=(a)^(t)^(t>>(16-(n))))\ static char shifts2[16]={0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0}; _XdmcpAuthSetup(key,schedule) des_cblock key; des_key_schedule schedule; { register ulong c,d,t,s; [...] While the compiling prozess of the XFree86 package from the FreeBSD 3.1 Ports collection failed by compiling this file, I took a look in the source of this file, and found this backslash. I have only basic knowledge of C programming, and perhaps this is not an bug in the source... Is the source of Wraphelp.c complete, and the backslash is unecessary, or is one of the lines missed? The installation of the XFree86 package is now complete, without any errors... Please send any reply to anzy@du.gtn.com Best regards, Andreas Zymny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message