SHA256
1
0
forked from pool/uucp
uucp/uucp-1.07-cu.patch
Dr. Werner Fink def3280df7 Accepting request 402727 from home:scarabeus_iv
- Switch from uucp xinetd to systemd activated service
- Switch from suucp stunnel service to systemd service properly
  initing the stunnel

- Split out from sendmail package
- Cleanup to use proper deps and only depend on what's needed in which
  scriptlet
- Use %configure macro and friends
- Use just make_install and describe what is going in the install phase

OBS-URL: https://build.opensuse.org/request/show/402727
OBS-URL: https://build.opensuse.org/package/show/server:mail/uucp?expand=0&rev=4
2016-07-07 08:19:15 +00:00

15 lines
451 B
Diff

--- cu.c
+++ cu.c Thu Jun 26 18:39:05 2003
@@ -565,6 +565,11 @@
sinfo.zline = zline;
if (zport != NULL || zline != NULL || ibaud != 0L)
{
+ /* Make sure _everything_ is initialized to zero.
+ * Otherwise some fields (such as uuconf_fcarrier)
+ * will be random. */
+ memset(&sport, 0, sizeof(sport));
+
iuuconf = uuconf_find_port (puuconf, zport, ibaud, 0L,
icuport_lock, (pointer) &sinfo,
&sport);