Solaris getcwd() implementation vs BASH

2007-01-19 Thread Petr Sumbera
Hi All, Solaris doesn't implement getcwd() with support for dynamic allocation of memory. This BASH consider as broken so that configure defines GETCWD_BROKEN. Later in bash-3.2/config-bot.h it disables HAVE_GETCWD completely: /* If we have a getcwd(3), but it calls popen(), #undef HAVE_GETC

Solaris getcwd() implementation vs BASH

2007-01-18 Thread Petr Sumbera
Hi All, Solaris doesn't implement getcwd() with support for dynamic allocation of memory. This BASH consider as broken so that configure defines GETCWD_BROKEN. Later in bash-3.2/config-bot.h it disables HAVE_GETCWD completely: /* If we have a getcwd(3), but it calls popen(), #undef HAVE_GETCWD