lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev lynx 2.8.3dev.7 crypt_util changes


From: Webmaster Jim
Subject: lynx-dev lynx 2.8.3dev.7 crypt_util changes
Date: Thu, 26 Aug 1999 22:33:28 -0400

I only had changed 4 lines in crypt_util for Borland, but the dev7 copy
I tried to build tonight had more changes than that.

Here's the gist of what I sent in:

-    for(i = 0; i < n; i++) {
+    for(i = 0; i < (ufc_long) n; i++) {

-      outbuf[i + 2] = bin_to_ascii((v1 >> shf) & 0x3f);
+      outbuf[i + 2] = (char) bin_to_ascii((v1 >> shf) & 0x3f);

-      outbuf[i + 2] = bin_to_ascii((v2 >> shf) & 0x3f);
+      outbuf[i + 2] = (char) bin_to_ascii((v2 >> shf) & 0x3f);

-    outbuf[12] = bin_to_ascii(s);
+    outbuf[12] = (char) bin_to_ascii(s);

-       c = c << 1 | *key++;
+       c = (c << 1) | *key++;


Borland dies on these:

Error E2141 WWW/Library/Implementation/crypt_util.c 298: Declaration syntax er
Error E2040 WWW/Library/Implementation/crypt_util.c 321: Declaration terminate
Error E2451 WWW/Library/Implementation/crypt_util.c 515: Undefined symbol 'ini
Error E2451 WWW/Library/Implementation/crypt_util.c 563: Undefined symbol 'ini

At line 298, this:
static set_bits ARGS(
        ufc_long,       v,
        ufc_long *,     b)
{

formerly had this:

static set_bits(v, b)
  ufc_long v;
  ufc_long *b;
  { ufc_long i;

Perhaps some missing included macro define?

------
<http://www.cs.indiana.edu/picons/db/users/us/md/lib/bcpl/jspath/face.xbm>
<http://www.altavista.com/cgi-bin/query?q=%22web+home+for+jim+spath%22>
Marvin the Paranoid Android says:
That's it, I've had enough.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]