Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
4735:80d74fed5399 | 4736:d261888e5069 |
---|---|
2927 Ibyte *errmess; | 2927 Ibyte *errmess; |
2928 GET_STRERROR (errmess, errno); | 2928 GET_STRERROR (errmess, errno); |
2929 stderr_out ("`getcwd' failed: %s: changing default directory to %s\n", | 2929 stderr_out ("`getcwd' failed: %s: changing default directory to %s\n", |
2930 errmess, DEFAULT_DIRECTORY_FALLBACK); | 2930 errmess, DEFAULT_DIRECTORY_FALLBACK); |
2931 | 2931 |
2932 if (qxe_chdir (DEFAULT_DIRECTORY_FALLBACK) < 0) | 2932 if (qxe_chdir ((Ibyte *)DEFAULT_DIRECTORY_FALLBACK) < 0) |
2933 { | 2933 { |
2934 GET_STRERROR (errmess, errno); | 2934 GET_STRERROR (errmess, errno); |
2935 | 2935 |
2936 fatal ("could not `chdir' to `%s': %s\n", | 2936 fatal ("could not `chdir' to `%s': %s\n", |
2937 DEFAULT_DIRECTORY_FALLBACK, errmess); | 2937 DEFAULT_DIRECTORY_FALLBACK, errmess); |