$NetBSD: patch-al,v 1.1 2006/10/30 03:33:59 jlam Exp $ --- unix/pipe.c.orig 2003-05-29 02:08:49.000000000 -0400 +++ unix/pipe.c @@ -199,6 +199,7 @@ fspipe_dial (qconn, puuconf, qsys, zphon struct ssysdep_conn *q; int aidescs[3]; const char **pzprog; + const char **p; q = (struct ssysdep_conn *) qconn->psysdep; @@ -212,6 +213,13 @@ fspipe_dial (qconn, puuconf, qsys, zphon return FALSE; } + /* Look for a string \H and substitute the address given for this + system. This is useful, e.g. for generic UUCP over SSH or SSL. + Idea and part of the patch by Joerg Durchain. */ + for (p=pzprog; *p; p++) + if (!strcmp(*p, "\\H")) + *p = zphone; + aidescs[0] = SPAWN_WRITE_PIPE; aidescs[1] = SPAWN_READ_PIPE; aidescs[2] = SPAWN_NULL;