Re: [Gimp-developer] Selecting new constants for '(file-type file)'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2004-07-22 at 17:17, Markus Triska wrote:
> Maybe I have not given this enough thought, but I would opt for 
> FILE_TYPE_NONEXISTANT (although this can hardly be called a "file" type) so 
> there is some well-defined behaviour if the path to check points nowhere. 

I have decided to use FILE_TYPE_UNKNOWN as the default value if the
other checks fail. This handles situations where the file might be (for
example) a node, or the user doesn't have the permissions necessary to
access the file. I just have to double check I have documented this in
the function list for tsx.

-- 
Cheers!
 
Kevin.  (http://www.interlog.com/~kcozens/)
 
Owner of Elecraft K2 #2172        |"What are we going to do today, Borg?"
E-mail:kcozens at interlog dot com|"Same thing we always do, Pinkutus:
Packet:ve3syb@ve3yra.#con.on.ca.na|  Try to assimilate the world!"
#include <disclaimer/favourite>   |              -Pinkutus & the Borg


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux