Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 1999 21:30:28 +0200
From:      "Andreas Zymny" <andreas.zymny@ob.kamp.net>
To:        <freebsd-bugs@FreeBSD.ORG>
Cc:        "Andreas Zymny" <anzy@du.gtn.com>
Subject:   Bug in "Wraphelp.c"
Message-ID:  <000001be91ad$925709e0$ce783ec3@anzy.kamp.net>

Next in thread | Raw E-Mail | Index | Archive | Help
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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?000001be91ad$925709e0$ce783ec3>