At 10:05 17/10/00 +0200, you wrote:
>   - replaced stricmp (nonstandard) with strcmp

This looks dodgy to me - stricmp is a case insensitive comparison
while strcmp IS case sensitive.
You should probably use strcasecmp for BSD unix and stricmp for windows.
I'm not sure what the System V unix equivalent is offhand.
You could add some suitable #ifdef and #define stuff
so it picks the right one on each platform.
#ifdef _WINDOWS is a fairly standard way of detecting a Windows compiler.
#ifdef unix is common among unix compilers, but I'm not sure how standard
it is.

Cheers

Philip


--------------------------------------------------------------------------------------------------------------------
Philip Rowe
Axiomatic Technology Ltd
e-mail: [EMAIL PROTECTED]
snail mail: Unit W2A, Island Business District,
         City Link, NOTTINGHAM NG2 4LA, UK.
Telephone: +44 (0)115 8484953
fax: +44 (0)115 8484959

To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html

Reply via email to