From 0dd6c8c8442d4ff588f6dac2efab24d3409b0dec Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 10 Aug 2009 19:03:36 +0200 Subject: update all uses of ABS_PATH run this command: git grep -l -w ABS_PATH|xargs perl -pi -e \ 's/(?:ABS_PATH)( \(.*?,) (.*?)\)/ABS_PATH$1 return $2)/' --- daemon/grep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon/grep.c') diff --git a/daemon/grep.c b/daemon/grep.c index c51dc0b8..19e4683d 100644 --- a/daemon/grep.c +++ b/daemon/grep.c @@ -36,7 +36,7 @@ grep (const char *prog, const char *flag, char *regex, char *path) char **lines; NEED_ROOT (NULL); - ABS_PATH (path, NULL); + ABS_PATH (path, return NULL); /* Make the path relative to /sysroot. */ buf = sysroot_path (path); -- cgit