int i, j;
char* ptr;
- j = STRLEN("/odbc.ini") + 1;
+ j = STRLEN("/iodbc.ini") + 1;
if( size < j )
{
}
#ifdef FIX_INI_FILE
- sprintf( buf, "%s/odbc.ini", DIR_INI_FILE );
+ sprintf( buf, "%s/iodbc.ini", DIR_INI_FILE );
#else
# ifdef OS2
*buf = '\0';
- if( NULL != getenv("ODBC_INI") )
+ if( NULL != getenv("IODBC_INI") )
{
- strcpy( buf, getenv("ODBC_INI") );
+ strcpy( buf, getenv("IODBC_INI") );
}
else
{
}
else
{
- strcpy( buf, "odbc.ini" );
+ strcpy( buf, "iodbc.ini" );
}
}
return NULL;
}
- sprintf( buf + i, "/odbc.ini");
+ sprintf( buf + i, "/iodbc.ini");
return buf;
# else
return NULL;
}
- sprintf( buf, "%s%s", ptr, "/.odbc.ini");
- /* i.e. searching ~/.odbc.ini */
+ sprintf( buf, "%s%s", ptr, "/.iodbc.ini");
+ /* i.e. searching ~/.iodbc.ini */
# endif
# endif
#endif