Re: opendir() failes with trailing \

Cameron Gregory <[email protected]>
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
> Still, opendir() works regardless whether there is a trailing slash or
> not for me, on Windows 2000. What OS do you run, Cameron?

yeah, windows 2000 professional. Service Pack 3 (SP3)

> (That is the opendir() in mingw's own small aux library, libmingw32. A
> copy of that is provided for MSVC folks in the dirent.zip on the
> gimpwin website. Until about a year ago GLib used to have its own
> (different) dirent emulation for Win32 (g_win32_opendir etc), but
> surely such an old GLib isn't what you are using Cameron?)
> 

I'm using glib-2.0.4-20020703.zip/glib-dev-2.0.4-20020703.zip

I see from gcc -E a.c, I'm using dirent from mingw.
# 1
"c:/mingw/bin/../lib/gcc-lib/mingw32/2.95.3-5/../../../../include/dirent.h"

does that sound right?

$ which gcc
/cygdrive/c/mingw/bin/gcc
$ gcc --version
2.95.3-5

thanks,

Cameron

> --tml
> 
> 
> To Post a message, send it to:   [email protected]
> To Unsubscribe, send a blank message to: [email protected]
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

-- 
Please include previous messages in reply so I can follow the thread.

---------------------------------------------------------------------
Cameron Gregory
http://www.flamingtext.com/
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.