Posting this now for the record, although I'm trying to figure out what
the correct patch should be:

When compiling coreutils 8.25 for cygwin-2.4.1, I got a working
'install' using CFLAGS=-g, but one that refused to install files when
using CFLAGS=-O2.  I finally traced it to:

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]

and based on the choice of CFLAGS, it changed whether I was left with 0
or 1 as a return value from qset_acl().

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to