pkgsrc/net/uucp/patches/patch-ak
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

16 lines
446 B
Text

$NetBSD: patch-ak,v 1.1 2006/10/30 03:33:59 jlam Exp $
--- unix/mkdirs.c.orig 2003-05-29 02:08:49.000000000 -0400
+++ unix/mkdirs.c
@@ -53,6 +53,11 @@ fsysdep_make_dirs (zfile, fpublic)
}
}
*z = '/';
+ /* Some versions of uuto will send a double slash. Some
+ systems will fail to create a directory ending in a
+ slash. From NetBSD PR bin/2970 by D'Arcy J.M. Cain. */
+ while (z[1] == '/')
+ z++;
}
}