Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2 Fix getcwd() non-portability

closed
nobody
None
5
2007-02-06
2003-06-13
Anonymous
No

getcwd(NULL, 0) isn't portable, and resulted in some strange -C bugs on Solaris.
This switches it over to a fixed buffer of size MAXPATHLEN.

It also does some error checking.

This patch is also, hopefully, going into GCC's version of fastjar.

Discussion

  • Patch for getcwd() portability

     
    Attachments
  • Bryan Burns
    Bryan Burns
    2007-02-06

    • status: open --> closed