pkgsrc/net/uucp/patches/patch-ap
jlam c1009ac844 Merge improvements from the version of Taylor UUCP 1.06.1 that exists
in NetBSD's src/gnu/libexec/uucp directory.  Changes include:

   * Teaching cu(1) about hardware flow control.
   * Make cu(1) honor "echocheck" and "binary mode" with respect to
     inspecting the data stream for newlines.
   * Make some proper integer casts so as not to break on LP64 platforms.
   * Teach uucp to substitute for \H with the IP address of the system.
   * Avoid potential divide-by-zero errors when computing times using
     serial rates.
   * Properly initialize some variables.

The main difference between this version and the one in NetBSD is the
location of uucico, uuconv, and uuxqt -- the vanilla UUCP location is
${PREFIX}/sbin while the NetBSD location is /usr/libexec/uucp.

Bump PKGREVISION to 1.
2006-10-30 03:33:59 +00:00

22 lines
585 B
Text

$NetBSD: patch-ap,v 1.1 2006/10/30 03:33:59 jlam Exp $
--- uucico.c.orig 2003-05-29 02:08:46.000000000 -0400
+++ uucico.c
@@ -1478,7 +1478,7 @@ fdo_call (qdaemon, qstat, qdialer, pfcal
char *zend;
b = *zopt++;
- if (isspace (b) || b != '-')
+ if (isspace (BUCHAR (b)) || b != '-')
continue;
switch (*zopt)
{
@@ -1494,7 +1494,7 @@ fdo_call (qdaemon, qstat, qdialer, pfcal
zopt = zend;
break;
}
- while (*zopt != '\0' && ! isspace (*zopt))
+ while (*zopt != '\0' && ! isspace (BUCHAR (*zopt)))
++zopt;
}
}