Codebase list uucp / aa90d7c
Import Debian changes 1.07-27 uucp (1.07-27) unstable; urgency=medium * add improved-pipe.patch to be able to replace the placeholder \Z by the system name of the called system thanks to Rafael Diniz for the patch Thorsten Alteholz 4 years ago
3 changed file(s) with 50 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 uucp (1.07-27) unstable; urgency=medium
1
2 * add improved-pipe.patch to be able to replace the placeholder \Z
3 by the system name of the called system
4 thanks to Rafael Diniz for the patch
5
6 -- Thorsten Alteholz <debian@alteholz.de> Sat, 17 Aug 2019 22:00:00 +0200
7
08 uucp (1.07-26) unstable; urgency=medium
19
210 * debian/control: add Salsa VCS URLs
0 Author: Rafael Diniz <rafael@rhizomatica.org>
1 Description:
2 remove ATTRIBUTE_UNUSED of the parameter uucp-org.patch uses
3 add the possibility to send the system name to be called in pipe command
4 (use \Z as place holder for the system name)
5 Index: uucp-1.07/unix/pipe.c
6 ===================================================================
7 --- uucp-1.07.orig/unix/pipe.c 2019-08-17 23:06:47.774519770 +0200
8 +++ uucp-1.07/unix/pipe.c 2019-08-17 23:06:47.742519770 +0200
9 @@ -225,8 +225,8 @@
10 fspipe_dial (qconn, puuconf, qsys, zphone, qdialer, ptdialer)
11 struct sconnection *qconn;
12 pointer puuconf;
13 - const struct uuconf_system *qsys ATTRIBUTE_UNUSED;
14 - const char *zphone ATTRIBUTE_UNUSED;
15 + const struct uuconf_system *qsys;
16 + const char *zphone;
17 struct uuconf_dialer *qdialer;
18 enum tdialerfound *ptdialer;
19 {
20 @@ -246,12 +246,17 @@
21 ulog (LOG_ERROR, "No command for pipe connection");
22 return FALSE;
23 }
24 -
25 - /* Look for a string \H and replaced it by the address given for this system */
26 +
27 + /* Look for a string \H and replace it by the address given for this system */
28 for (p=pzprog; *p; p++)
29 if (!strcmp(*p, "\\H"))
30 *p = zphone;
31
32 + /* Look for a string \Z and replace by the system name to be called */
33 + for (p=pzprog; *p; p++)
34 + if (!strcmp(*p, "\\Z"))
35 + *p = qsys->uuconf_zname;
36 +
37 aidescs[0] = SPAWN_WRITE_PIPE;
38 aidescs[1] = SPAWN_READ_PIPE;
39 aidescs[2] = SPAWN_NULL;
66 no-sleep.patch
77
88 wait-for-correct-parent.patch
9
10 improved-pipe.patch