Added
Link Here
|
1 |
|
2 |
$FreeBSD$ |
3 |
|
4 |
--- os_freebsd.cpp.orig |
5 |
+++ os_freebsd.cpp |
6 |
@@ -1008,7 +1008,7 @@ |
7 |
// to first list. Turn on NOCHECK for second call. This results in no |
8 |
// error if no more matches found, however it does append the actual |
9 |
// pattern to the list of paths.... |
10 |
- if ((retglob=glob(pattern1, GLOB_ERR, NULL, &globbuf)) || |
11 |
+ if ((retglob=glob(pattern1, GLOB_ERR|GLOB_NOCHECK, NULL, &globbuf)) || |
12 |
(retglob=glob(pattern2, GLOB_ERR|GLOB_APPEND|GLOB_NOCHECK,NULL,&globbuf))) { |
13 |
int retval = -1; |
14 |
// glob failed |