Re: any routines for manipulating file/path names?

[email protected]
Newsgroups gmane.comp.mozilla.devel.nspr
Organization http://groups.google.com
Message-ID <[email protected]>
On Jul 5, 7:29 pm, Wan-Teh Chang <[email protected]> wrote:
> > - are there routines in the NSPR to do this and I'm just not seeing them?
> > - if not, is there a platform-portable way to get the "current directory"?
>
> In practice, you can call the Unix function getcwd():http://opengroup.org/onlinepubs/007908799/xsh/getcwd.html
>
>    #include <unistd.h>
>
>    char *getcwd(char *buf, size_t size);
>
> getcwd() is also available on Windows, except that you need to include
> <direct.h> instead and you may need to call this function as _getcwd,
> with an underscore in its name:http://msdn2.microsoft.com/en-us/library/sf98bd4y(VS.80).aspx
>
> This reminds me that there is a feature request to add the NSPR
> replacement for getcwd:https://bugzilla.mozilla.org/show_bug.cgi?id=280953
>
> Wan-Teh

Is there any reason why this has not been worked on? It seems like a
very easy (and useful) addition that works on both *nix and Windows.
Or has no-one stepped up to the plate and just do it?
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.