Added support for NetWare (libc) built using OpenWatcom.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@377 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
@@ -723,7 +723,6 @@ FSTATIC FLMBOOL f_fileMeetsFindCriteria(
|
||||
Desc: Search for file names matching FindTemplate (UNIX)
|
||||
****************************************************************************/
|
||||
#if defined( FLM_UNIX) || defined( FLM_NLM)
|
||||
|
||||
FSTATIC int Find1(
|
||||
char * FindTemplate,
|
||||
F_IO_FIND_DATA * DirInfo)
|
||||
@@ -739,7 +738,7 @@ FSTATIC int Find1(
|
||||
|
||||
// If supplied template is illegal, return immediately
|
||||
|
||||
if( (FindTemplate == (char*)NULL) || !( uiFindLen = f_strlen( FindTemplate)))
|
||||
if( (FindTemplate == NULL) || (uiFindLen = f_strlen( FindTemplate)) == 0)
|
||||
{
|
||||
return( EINVAL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user