>From 32130143e9b3e5e64c5df35266dd38a4e252eabc Mon Sep 17 00:00:00 2001 From: Peter O'Gorman Date: Mon, 6 Sep 2010 17:19:03 -0500 Subject: [PATCH 2/3] Fix c99 decl after statement. * src/makepath.c (make_path): Move slash declaration. --- src/makepath.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/makepath.c b/src/makepath.c index 7631772..83f9c25 100644 --- a/src/makepath.c +++ b/src/makepath.c @@ -65,10 +65,10 @@ make_path (char *argpath, if (stat (dirpath, &stats)) { + char *slash = dirpath; tmpmode = MODE_RWX & ~ newdir_umask; invert_permissions = we_are_root ? 0 : MODE_WXUSR & ~ tmpmode; - char *slash = dirpath; while (*slash == '/') slash++; while ((slash = strchr (slash, '/'))) -- 1.7.0.1