Sophie

Sophie

distrib > PLD > ra > i386 > media > dist-src > by-pkgid > 30fa57e9e7af5051613c1309f436924c > files > 9

uucp-1.06.2-6.src.rpm

--- uucp-1.06.1/unix/pipe.c.orig	Mon Oct 18 21:31:14 1999
+++ uucp-1.06.1/unix/pipe.c	Mon Oct 18 21:46:07 1999
@@ -199,6 +199,7 @@
   struct ssysdep_conn *q;
   int aidescs[3];
   const char **pzprog;
+  char **p;
 
   q = (struct ssysdep_conn *) qconn->psysdep;
 
@@ -211,6 +212,11 @@
       ulog (LOG_ERROR, "No command for pipe connection");
       return FALSE;
     }
+  
+  /* Look for a string \H and replaced it by the address given for this system */
+  for (p=pzprog; *p; p++)
+    if (!strcmp(*p, "\\H"))
+      *p = zphone;
 
   aidescs[0] = SPAWN_WRITE_PIPE;
   aidescs[1] = SPAWN_READ_PIPE;