Fri Jul 23 12:21:25 2004 Michael Jennings (mej)

Kirby Kuehl <vacuum@technotronic.com> pointed out some portability
issues.  These should now be fixed.
----------------------------------------------------------------------


SVN revision: 10983
This commit is contained in:
Michael Jennings 2004-07-23 16:23:06 +00:00
parent 7ae8f07814
commit 8f9eba2e6d
3 changed files with 7 additions and 2 deletions

View File

@ -5241,3 +5241,8 @@ Fri Jul 16 17:59:48 2004 Michael Jennings (mej)
If $LANG refers to a UTF-8 or similar locale, remove that part. In
other words, en_US.utf8 becomes en_US instead.
----------------------------------------------------------------------
Fri Jul 23 12:21:25 2004 Michael Jennings (mej)
Kirby Kuehl <vacuum@technotronic.com> pointed out some portability
issues. These should now be fixed.
----------------------------------------------------------------------

View File

@ -188,7 +188,7 @@ eterm_default_font_locale(char ***fonts, char ***mfonts, char **mencoding, int *
* The current encoding is available via nl_langinfo().
* Otherwise, it comes from locale name.
*/
#ifdef HAVE_NL_LANGINFO
#if defined(HAVE_NL_LANGINFO) && defined(CODESET)
encoding_str = nl_langinfo(CODESET);
#else
encoding_str = NULL;

View File

@ -304,7 +304,7 @@ inline void *memmove(void *, const void *, size_t);
# define PATH_ENV "ETERMPATH"
#endif
#if defined(_POSIX_VERSION) && defined(_POSIX_SAVED_IDS) && (_POSIX_SAVED_IDS == 1)
#if defined(_POSIX_VERSION) && defined(_POSIX_SAVED_IDS)
# ifdef HAVE_SAVED_UIDS
# undef HAVE_SAVED_UIDS
# endif