[AD] exists under Unix

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


--- Begin Message ---
Shawn: I tried sending this to shawn@xxxxxxxxxx, but it failed
again.  I think it's a problem on my side though, so could someone who
uses an ISP please send me their sendmail.mc, or sendmail.cf?
The original message continues:

Under Unix I think `exists' should use the FA_HIDDEN flag, so that
files such as ~/.allegrorc can be found.  Something like:

/* exists:
 *  Shortcut version of file_exists().
 */
int exists(char *filename)
{
#ifdef ALLEGRO_UNIX
   return file_exists(filename, FA_ARCH | FA_RDONLY | FA_HIDDEN, NULL);
#else   
   return file_exists(filename, FA_ARCH | FA_RDONLY, NULL);
#endif
}

Peter


--- End Message ---


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/