[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GETCWD_BROKEN and intl/dcXXX.c
From: |
Kevin Turner |
Subject: |
GETCWD_BROKEN and intl/dcXXX.c |
Date: |
Fri, 28 Jan 2005 16:21:11 -0800 |
Machine: mipsel
OS: linux-gnu
Compiler: gcc
Bash Version: 3.0
Description:
lib/intl/dcigettext.c makes an assumption about HAVE_GETCWD.
It thinks if HAVE_GETCWD is not defined, then getwd() must be available.
However, if configure set BROKEN_GETCWD, HAVE_GETCWD becomes undefined
and dcigettext.c declares and uses getwd(). This doesn't work with
uclibc. The error does not show up until link time.
(No, uclibc's getcwd is not broken, but configure *assumes* it is on
cross-compile.)
--
The moon is waning gibbous, 90.7% illuminated, 17.7 days old.
- GETCWD_BROKEN and intl/dcXXX.c,
Kevin Turner <=