mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 19:50:31 -04:00
ad10) - Recognize some new Western Digital Caviar SE drives PR: ports/110806 Submitted by: marck
14 lines
523 B
C++
14 lines
523 B
C++
|
|
$FreeBSD$
|
|
|
|
--- os_freebsd.cpp.orig
|
|
+++ os_freebsd.cpp
|
|
@@ -1008,7 +1008,7 @@
|
|
// to first list. Turn on NOCHECK for second call. This results in no
|
|
// error if no more matches found, however it does append the actual
|
|
// pattern to the list of paths....
|
|
- if ((retglob=glob(pattern1, GLOB_ERR, NULL, &globbuf)) ||
|
|
+ if ((retglob=glob(pattern1, GLOB_ERR|GLOB_NOCHECK, NULL, &globbuf)) ||
|
|
(retglob=glob(pattern2, GLOB_ERR|GLOB_APPEND|GLOB_NOCHECK,NULL,&globbuf))) {
|
|
int retval = -1;
|
|
// glob failed
|