Compilation on Cygwin 2.4.1 resulted in an 'install' that behaved
differently depending on compile-time flags; I traced it to this
warning, where the difference was based on what was left in the
return register:
lib/set-permissions.c: In function 'set_acls_from_mode':
lib/set-permissions.c:273:1: warning: control reaches end of non-void
function [-Wreturn-type]
* lib/set-permissions.c (set_acls) [HAVE_FACL && GETACL]: Don't
fall off end of function. Fixes http://bugs.gnu.org/22949
Signed-off-by: Eric Blake <eblake@redhat.com>
+2016-03-08 Eric Blake <eblake@redhat.com>
+
+ acl: fix missing return on Cygwin
+ * lib/set-permissions.c (set_acls) [HAVE_FACL && GETACL]: Don't
+ fall off end of function. Fixes http://bugs.gnu.org/22949
+
2016-03-05 Bruno Haible <bruno@clisp.org>
extern-inline: port to PGI CC
}
return -1;
}
+ return 0;
}
}