diff options
author | joerg <joerg@pkgsrc.org> | 2007-02-20 17:29:36 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-02-20 17:29:36 +0000 |
commit | b4e504867e07dfe2b7a82758f7ad91aa52797b33 (patch) | |
tree | a55744aecfd6ed95e7512ff44b5cecfe50640d6a /net/snort/patches | |
parent | 1f92332f9b579a8230166d929262e8579777d3ab (diff) | |
download | pkgsrc-b4e504867e07dfe2b7a82758f7ad91aa52797b33.tar.gz |
Kill an useless, unportable check.
Diffstat (limited to 'net/snort/patches')
-rw-r--r-- | net/snort/patches/patch-af | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/snort/patches/patch-af b/net/snort/patches/patch-af new file mode 100644 index 00000000000..6baea442782 --- /dev/null +++ b/net/snort/patches/patch-af @@ -0,0 +1,14 @@ +$NetBSD: patch-af,v 1.3 2007/02/20 17:29:36 joerg Exp $ + +--- src/dynamic-plugins/sf_dynamic_plugins.c.orig 2007-02-20 16:54:06.000000000 +0000 ++++ src/dynamic-plugins/sf_dynamic_plugins.c +@@ -210,8 +210,7 @@ void LoadAllLibs(char *path, LoadLibrary + dirEntry = readdir(directory); + while (dirEntry) + { +- if (dirEntry->d_reclen && +- !fnmatch(EXT, dirEntry->d_name, FNM_PATHNAME | FNM_PERIOD)) ++ if (!fnmatch(EXT, dirEntry->d_name, FNM_PATHNAME | FNM_PERIOD)) + { + snprintf(path_buf, PATH_MAX, "%s%s%s", path, "/", dirEntry->d_name); + loadFunc(path_buf, 1); |