https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96832

Nils Goroll <slink at schokola dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slink at schokola dot de

--- Comment #4 from Nils Goroll <slink at schokola dot de> ---
FYI, getcwd(0,0) is not portable to Solaris-descendents (SmartOS, Illumos etc).
>From the man page:

       If buf is a null pointer, getcwd() obtains size bytes of space using
       malloc(3C). The pointer returned by getcwd() can be used as the
       argument in a subsequent call to free().

Ref https://github.com/vtest/VTest/pull/22#issuecomment-709059771

Reply via email to