Mercurial > emacs
changeset 65422:c832bf03b2b2
(init_buffer): Fix error message for failed call to get_current_dir_name.
(get_current_dir_name): Remove prototype.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 10 Sep 2005 14:04:18 +0000 |
parents | 8763a59d5982 |
children | f91d0bcb636f |
files | src/buffer.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buffer.c Sat Sep 10 14:03:36 2005 +0000 +++ b/src/buffer.c Sat Sep 10 14:04:18 2005 +0000 @@ -50,8 +50,6 @@ #include "keymap.h" #include "frame.h" -extern char * get_current_dir_name (); - struct buffer *current_buffer; /* the current buffer */ /* First buffer in chain of all buffers (in reverse order of creation). @@ -5136,9 +5134,9 @@ Fset_buffer_multibyte (Qnil); pwd = get_current_dir_name (); - + if(!pwd) - fatal ("`get_cwd' failed: %s\n", strerror (errno)); + fatal ("`get_current_dir_name' failed: %s\n", strerror (errno)); #ifndef VMS /* Maybe this should really use some standard subroutine