diff --git a/ChangeLog b/ChangeLog index c8a0bdb5..f971bb15 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ CVS code - - General: - Miscellaneous comment fixes. (DLR) - files.c: + get_full_path() + - Remove unneeded assert. (DLR) do_writeout() - For consistency, when saving a file with no name, don't allow overwriting an existing file when in restricted diff --git a/src/files.c b/src/files.c index 6878ace7..2ae9d7d1 100644 --- a/src/files.c +++ b/src/files.c @@ -954,8 +954,6 @@ char *get_full_path(const char *origpath) d_there = real_dir_from_tilde(origpath); - assert(d_there != NULL); - /* If stat()ing d_there fails, assume that d_there refers to a new * file that hasn't been saved to disk yet. Set path_only to TRUE * if d_there refers to a directory, and FALSE otherwise. */