]> git.pld-linux.org Git - packages/uucp.git/commitdiff
- fix to deny to use address in pipe ports (patch from RH).
authorkloczek <kloczek@pld-linux.org>
Fri, 4 Oct 2002 09:02:15 +0000 (09:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    uucp-pipe.patch -> 1.1

uucp-pipe.patch [new file with mode: 0644]

diff --git a/uucp-pipe.patch b/uucp-pipe.patch
new file mode 100644 (file)
index 0000000..872a771
--- /dev/null
@@ -0,0 +1,22 @@
+--- 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;
This page took 0.127863 seconds and 4 git commands to generate.