svn commit: r196473 - in stable/8/usr.sbin/wpa: . wpa_cli
Sam Leffler
sam at FreeBSD.org
Sun Aug 23 16:21:50 UTC 2009
Author: sam
Date: Sun Aug 23 16:21:49 2009
New Revision: 196473
URL: http://svn.freebsd.org/changeset/base/196473
Log:
MFC r196472:
Enable _DIRENT_HAVE_D_TYPE so wpa_cli scans directories properly
for it's unix domain socket. Before this change wpa_cli would take
the first file in the directory that was not "." or "..".
Approved by: re (rwatson)
Modified:
stable/8/usr.sbin/wpa/ (props changed)
stable/8/usr.sbin/wpa/wpa_cli/Makefile
Modified: stable/8/usr.sbin/wpa/wpa_cli/Makefile
==============================================================================
--- stable/8/usr.sbin/wpa/wpa_cli/Makefile Sun Aug 23 16:04:10 2009 (r196472)
+++ stable/8/usr.sbin/wpa/wpa_cli/Makefile Sun Aug 23 16:21:49 2009 (r196473)
@@ -11,6 +11,8 @@ MAN= wpa_cli.8
CFLAGS+= -DCONFIG_CTRL_IFACE
CFLAGS+= -DCONFIG_CTRL_IFACE_UNIX
+# enable use of d_type to identify unix domain sockets
+CFLAGS+= -D_DIRENT_HAVE_D_TYPE
#CFLAGS+= -DCONFIG_READLINE
#LDADD+= -ledit -ltermcap
More information about the svn-src-stable-8
mailing list