bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GETCWD_BROKEN and intl/dcXXX.c


From: Chet Ramey
Subject: Re: GETCWD_BROKEN and intl/dcXXX.c
Date: Sat, 29 Jan 2005 21:52:07 -0500
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

Kevin Turner wrote:
Machine: mipsel
OS: linux-gnu
Compiler: gcc

Bash Version: 3.0

Description:

lib/intl/dcigettext.c makes an assumption about HAVE_GETCWD.

Yeah, it's a bad one.  Something like the following will work.

*** /usr/src/local/bash/bash-3.0-patched/lib/intl/dcigettext.c Tue Dec 9 12:39:11 2003
--- dcigettext.c        Tue Nov 16 17:20:42 2004
***************
*** 135,138 ****
--- 135,142 ----
  /* @@ end of prolog @@ */

+ #if defined (SHELL) && !defined (HAVE_GETCWD)
+ #  define HAVE_GETCWD
+ #endif
+
  #ifdef _LIBC
  /* Rename the non ANSI C functions.  This is required by the standard

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]