summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--openbsd-compat/glob.c5
2 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fa103a087..54051b3dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
120110922
2 - OpenBSD CVS Sync
3 - pyr@cvs.openbsd.org 2011/05/12 07:15:10
4 [openbsd-compat/glob.c]
5 When the max number of items for a directory has reached GLOB_LIMIT_READDIR
6 an error is returned but closedir() is not called.
7 spotted and fix provided by Frank Denis obsd-tech@pureftpd.org
8 ok otto@, millert@
9
120110909 1020110909
2 - (dtucker) [entropy.h] Bug #1932: remove old definition of init_rng. From 11 - (dtucker) [entropy.h] Bug #1932: remove old definition of init_rng. From
3 Colin Watson. 12 Colin Watson.
diff --git a/openbsd-compat/glob.c b/openbsd-compat/glob.c
index 0341225cd..ebb7aa805 100644
--- a/openbsd-compat/glob.c
+++ b/openbsd-compat/glob.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: glob.c,v 1.35 2011/01/12 01:53:14 djm Exp $ */ 1/* $OpenBSD: glob.c,v 1.36 2011/05/12 07:15:10 pyr Exp $ */
2/* 2/*
3 * Copyright (c) 1989, 1993 3 * Copyright (c) 1989, 1993
4 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -697,7 +697,8 @@ glob3(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last,
697 errno = 0; 697 errno = 0;
698 *pathend++ = SEP; 698 *pathend++ = SEP;
699 *pathend = EOS; 699 *pathend = EOS;
700 return(GLOB_NOSPACE); 700 err = GLOB_NOSPACE;
701 break;
701 } 702 }
702 703
703 /* Initial DOT must be matched literally. */ 704 /* Initial DOT must be matched literally. */