Mercurial > hg > xemacs-beta
diff src/buffer.c @ 4736:d261888e5069
Fix Win32 native build after my DEFAULT_DIRECTORY_FALLBACK change, thanks Vin!
src/ChangeLog addition:
2009-11-09 Aidan Kehoe <kehoea@parhasard.net>
* sysfile.h (DEFAULT_DIRECTORY_FALLBACK):
Move the WIN32_NATIVE definition inside the #ifdef emacs
conditional, clear up the comment after #else; thanks for the
build failure report, Vin!
Cast DEFAULT_DIRECTORY_FALLBACK to (const CIbyte *) by default,
which better reflects its contents.
* editfns.c (get_home_directory):
* buffer.c (init_initial_directory):
Cast DEFAULT_DIRECTORY_FALLBACK to (Ibyte *) with functions that
take that type, now that is necessary.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Mon, 09 Nov 2009 18:00:10 +0000 |
parents | a5210e70ffbe |
children | b604d235f028 |
line wrap: on
line diff
--- a/src/buffer.c Mon Nov 09 09:21:59 2009 -0700 +++ b/src/buffer.c Mon Nov 09 18:00:10 2009 +0000 @@ -2929,7 +2929,7 @@ stderr_out ("`getcwd' failed: %s: changing default directory to %s\n", errmess, DEFAULT_DIRECTORY_FALLBACK); - if (qxe_chdir (DEFAULT_DIRECTORY_FALLBACK) < 0) + if (qxe_chdir ((Ibyte *)DEFAULT_DIRECTORY_FALLBACK) < 0) { GET_STRERROR (errmess, errno);