Commit a17b5ed1 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(init_buffer): Fix error message for failed call to get_current_dir_name.

(get_current_dir_name): Remove prototype.
parent 738055e0
2005-09-10 Eli Zaretskii <eliz@gnu.org>
 
* buffer.c (init_buffer): Fix error message for failed call to
get_current_dir_name.
(get_current_dir_name): Remove prototype.
* xsmfns.c: (get_current_dir_name): Remove prototype.
* lisp.h: (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: Add
prototype.
* sysdep.c [WINDOWSNT]: Add prototype for getwd.
 
* config.in: Regenerated.
......
......@@ -50,8 +50,6 @@ extern int errno;
#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 @@ init_buffer ()
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment