diff options
Diffstat (limited to 'deskutils/plan/files/patch-ag')
-rw-r--r-- | deskutils/plan/files/patch-ag | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/deskutils/plan/files/patch-ag b/deskutils/plan/files/patch-ag index 11f6f42b7712..159180dc2c77 100644 --- a/deskutils/plan/files/patch-ag +++ b/deskutils/plan/files/patch-ag @@ -1,19 +1,19 @@ -*** src/network.c.orig Sun Apr 14 21:17:43 1996 ---- src/network.c Sun Apr 14 21:18:18 1996 +*** src/sublist.c.orig Sun Apr 14 16:38:13 1996 +--- src/sublist.c Sun Apr 14 16:38:34 1996 *************** -*** 165,171 **** - addr.sin_family = AF_INET; - addr.sin_port = config.net_port; - memcpy(&addr.sin_addr, hent->h_addr, sizeof(hent->h_length)); -! if (connect(fd, &addr, sizeof(addr)) < 0) { - sprintf(msg+strlen(msg), - "User file %s on host %s: cannot connect\n", - user[u].name, uhost); ---- 165,171 ---- - addr.sin_family = AF_INET; - addr.sin_port = config.net_port; - memcpy(&addr.sin_addr, hent->h_addr, sizeof(hent->h_length)); -! if (connect(fd, (struct sockaddr *)&addr, sizeof(addr)) < 0) { - sprintf(msg+strlen(msg), - "User file %s on host %s: cannot connect\n", - user[u].name, uhost); +*** 23,29 **** + #define regcmp re_comp + #define regex re_exec + #endif +! #ifdef linux + #define regcmp regcomp + #define regex regexec + #endif +--- 23,29 ---- + #define regcmp re_comp + #define regex re_exec + #endif +! #if defined(linux) || defined(freebsd) + #define regcmp regcomp + #define regex regexec + #endif |