Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ftpd Enable GLOB_BRACE for ftpd.conf(5)'s `notify' d...
details: https://anonhg.NetBSD.org/src/rev/bdcfa300b9f6
branches: trunk
changeset: 537602:bdcfa300b9f6
user: lukem <lukem%NetBSD.org@localhost>
date: Thu Oct 03 02:56:47 2002 +0000
description:
Enable GLOB_BRACE for ftpd.conf(5)'s `notify' directive.
Now it's much easier to list multiple files...
diffstat:
libexec/ftpd/conf.c | 6 +++---
libexec/ftpd/version.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (43 lines):
diff -r 4a9bd79a9090 -r bdcfa300b9f6 libexec/ftpd/conf.c
--- a/libexec/ftpd/conf.c Thu Oct 03 01:57:24 2002 +0000
+++ b/libexec/ftpd/conf.c Thu Oct 03 02:56:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: conf.c,v 1.48 2002/06/18 09:59:47 aidan Exp $ */
+/* $NetBSD: conf.c,v 1.49 2002/10/03 02:56:47 lukem Exp $ */
/*-
* Copyright (c) 1997-2001 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: conf.c,v 1.48 2002/06/18 09:59:47 aidan Exp $");
+__RCSID("$NetBSD: conf.c,v 1.49 2002/10/03 02:56:47 lukem Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -634,7 +634,7 @@
return;
memset(&gl, 0, sizeof(gl));
- if (glob(curclass.notify, GLOB_LIMIT, NULL, &gl) != 0
+ if (glob(curclass.notify, GLOB_BRACE|GLOB_LIMIT, NULL, &gl) != 0
|| gl.gl_matchc == 0) {
globfree(&gl);
return;
diff -r 4a9bd79a9090 -r bdcfa300b9f6 libexec/ftpd/version.h
--- a/libexec/ftpd/version.h Thu Oct 03 01:57:24 2002 +0000
+++ b/libexec/ftpd/version.h Thu Oct 03 02:56:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: version.h,v 1.45 2002/07/02 02:18:02 lukem Exp $ */
+/* $NetBSD: version.h,v 1.46 2002/10/03 02:56:47 lukem Exp $ */
/*-
* Copyright (c) 1999-2002 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -36,5 +36,5 @@
*/
#ifndef FTPD_VERSION
-#define FTPD_VERSION "NetBSD-ftpd 20020702"
+#define FTPD_VERSION "NetBSD-ftpd 20021003"
#endif
Home |
Main Index |
Thread Index |
Old Index