summaryrefslogtreecommitdiffstats
path: root/src/query/main.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:30:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:30:08 +0000
commit44cf9c6d2d274eac37502e835155f7e985f1b8e6 (patch)
tree9576ba968924c5b9a55ba9e14f4f26184c62c7d4 /src/query/main.c
parentAdding upstream version 1.22.6. (diff)
downloaddpkg-44cf9c6d2d274eac37502e835155f7e985f1b8e6.tar.xz
dpkg-44cf9c6d2d274eac37502e835155f7e985f1b8e6.zip
Adding upstream version 1.22.7.upstream/1.22.7
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/query/main.c')
-rw-r--r--src/query/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/query/main.c b/src/query/main.c
index 6674896..c625957 100644
--- a/src/query/main.c
+++ b/src/query/main.c
@@ -28,7 +28,7 @@
#include <sys/types.h>
#include <sys/stat.h>
-#if HAVE_LOCALE_H
+#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif
#include <errno.h>
@@ -355,7 +355,6 @@ searchfiles(const char *const *argv)
varbuf_add_char(&vb, '*');
varbuf_add_str(&vb, thisarg);
varbuf_add_char(&vb, '*');
- varbuf_end_str(&vb);
thisarg= vb.buf;
}
if (!strpbrk(thisarg, "*[?\\")) {