[augeas-devel] [Augeas] #321: tests/cutest.c is lacking sys/wait.h include

Augeas trac at fedorahosted.org
Sat Dec 29 13:33:45 UTC 2012


#321: tests/cutest.c is lacking sys/wait.h include
----------------------+---------------------
 Reporter:  jasperla  |       Owner:  lutter
     Type:  defect    |      Status:  new
 Priority:  major     |   Milestone:  next
Component:  Augeas    |     Version:  1.0.0
 Keywords:            |  Blocked By:
 Blocking:            |
----------------------+---------------------
 tests/cutest.c is using WIFEXITED and WEXITSTATUS which are defined in
 sys/wait.h as per POSIX
 (http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/wait.h.html)
 but currently the build fails (at least on OpenBSD and FreeBSD) as
 cutest.c doesn't include sys/wait.h.

 The attached patch fixes this.

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/321>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list