ufairiya / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

Current Directory Meaning on WIN32 #99

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Hi,

Under Linux, the webserver uses the current working directory as the
default starting point. (e.g. pwd).

Under WIN32, the mg_getcwd() implementation parses the full name of
the executable (e.g. GetModuleFileNameW) to get the default starting 
directory rather than using the current working directory
(e.g. _getcwd or GetCurrentDirectory)

Is there some particular reason for the inconsistent behavior between
WIN32 and POSIXy systems?

Thanks.

Original issue reported on code.google.com by joel.she...@gmail.com on 13 Nov 2009 at 5:09

GoogleCodeExporter commented 9 years ago
This inconsistency has been already eliminated, you can refer to the head 
version at 
http://mongoose.googlecode.com/svn/trunk/mongoose.c .
I would not recommend using the head version in anything rather than test 
environment, because it is fairly unstable.
I cannot say when the next release will be out. I haven't been working on 
Mongoose 
actively last couple of months, and probably will not have time in the near 
future either.

Original comment by valenok on 15 Nov 2009 at 8:31

GoogleCodeExporter commented 9 years ago

Original comment by valenok on 7 Sep 2010 at 8:51