nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 6c3a3998176780da11a9b1b1d1850e3f102fa841
parent 137694d15bcd56607a440b9a79201dc519459fb4
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Tue,  7 Nov 2006 21:41:05 +0000

in get_full_path(), remove unneeded assert


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3939 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 2++
Msrc/files.c | 2--
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 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 @@ -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. */