From 1b2123bba3786043415fb06a09fc5aaddf002d77 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 10 Apr 2003 15:57:45 +0000 Subject: [PATCH] (canonicalize_file_name): Remove stray semicolon that caused `readlink --canonical RELATIVE_NAME' to fail on e.g., Solaris systems. --- lib/canonicalize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/canonicalize.c b/lib/canonicalize.c index f540c2216e..66622817be 100644 --- a/lib/canonicalize.c +++ b/lib/canonicalize.c @@ -130,7 +130,7 @@ canonicalize_file_name (const char *name) { char *wd; - if (!(wd = xgetcwd ())); + if (!(wd = xgetcwd ())) return NULL; extra_buf = path_concat (wd, name, NULL); -- 2.47.3