From 34293e072a6de7ba69cc277931d079f53e071675 Mon Sep 17 00:00:00 2001 From: Tamas TEVESZ Date: Mon, 27 Sep 2010 16:30:59 +0200 Subject: [PATCH] Preparing to do exactly as FIXME says However, knowing about those functions is quite a prerequisite. Signed-off-by: Tamas TEVESZ --- WINGs/findfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WINGs/findfile.c b/WINGs/findfile.c index fa770bc8..b5b4348d 100644 --- a/WINGs/findfile.c +++ b/WINGs/findfile.c @@ -176,8 +176,8 @@ char *wexpandpath(char *path) error: errno = ENAMETOOLONG; werror(_("could not expand %s"), origpath); - /* FIXME: too many functions handle a return value of NULL incorrectly */ - exit(1); + + return NULL; } /* return address of next char != tok or end of string whichever comes first */