diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-08-17 14:20:09 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-08-17 14:20:09 +0000 |
commit | a26a1682086138fe4d8ce551479081aa3c97313c (patch) | |
tree | 1e958e705adfb5114e090470b3d9c84d1169c83e /sysutils/cfengine2/files/patch-ag | |
parent | Actually pass over maintainership to Marco Molteni <molter@tin.it> (diff) |
This patch fixes the following problems:
* cfengine deadlocking in the resolver due to being linked against libc_r
* cfd issuing 'ioctl: No such network device' whenever it is invoked.
change maintainer email
add more docs
Patches obtained from Michael Kyle <mike@rainc.com>
PR: 29649
Submitted by: MAINTAINER
Notes
Notes:
svn path=/head/; revision=46366
Diffstat (limited to 'sysutils/cfengine2/files/patch-ag')
-rw-r--r-- | sysutils/cfengine2/files/patch-ag | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/cfengine2/files/patch-ag b/sysutils/cfengine2/files/patch-ag new file mode 100644 index 000000000000..1a8101cb3542 --- /dev/null +++ b/sysutils/cfengine2/files/patch-ag @@ -0,0 +1,13 @@ +This fixes the problem with cfd not finding the correct interfaces. + +--- src/misc.c.orig Wed Jan 24 07:28:01 2001 ++++ src/misc.c Fri Aug 10 23:34:45 2001 +@@ -284,7 +284,7 @@ + list.ifc_len = sizeof(ifbuf); + list.ifc_req = ifbuf; + +-if (ioctl(fd, SIOCGIFCONF, &list) == -1 || (list.ifc_len < (sizeof(struct ifreq)))) ++if (ioctl(fd, OSIOCGIFCONF, &list) == -1 || (list.ifc_len < (sizeof(struct ifreq)))) + { + CfLog(cferror,"Couldn't get interfaces","ioctl"); + exit(1); |