error code is correct. I have some theories as to why this is different,
I'll add some code to the torture tester to confirm.
Jeremy.
}
/*
- * If there are no matching entries we must return ERRDOS/ERRnofiles -
+ * If there are no matching entries we must return ERRDOS/ERRbadfile -
* from observation of NT.
*/
if(numentries == 0) {
dptr_close(&dptr_num);
- return ERROR_DOS(ERRDOS,ERRnofiles);
+ return ERROR_DOS(ERRDOS,ERRbadfile);
}
/* At this point pdata points to numentries directory entries. */