File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44#include " stubs.h"
55#include " dx.h"
66#include " DiabloUI/diabloui.h"
7- #include < glob.h>
87#include < string>
98
109namespace dvl {
@@ -407,29 +406,15 @@ void GetLocalTime(LPSYSTEMTIME lpSystemTime)
407406 UNIMPLEMENTED ();
408407}
409408
410- glob_t globbuf;
411- int _findfirsti;
412- /* *
413- * @return The value is not unique, but the engine only users one at a time
414- */
415409long _findfirst (const char *pattern, struct DVL_finddata_t *finder)
416410{
417- glob (pattern, 0 , NULL , &globbuf);
418- _findfirsti = 0 ;
419- return _findnext (0 , finder);
411+ DUMMY ();
412+ return -1 ;
420413}
421414
422415int _findnext (long , struct DVL_finddata_t *finder)
423416{
424- while (_findfirsti < globbuf.gl_pathc ) {
425- strncpy (finder->name , globbuf.gl_pathv [_findfirsti], DVL_MAX_PATH);
426- _findfirsti++;
427- return 0 ;
428- }
429-
430- if (globbuf.gl_pathc > 0 )
431- globfree (&globbuf);
432-
417+ UNIMPLEMENTED ();
433418 return -1 ;
434419}
435420
You can’t perform that action at this time.
0 commit comments