bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] qacl: new module, broken out from the acl module


From: Daiki Ueno
Subject: Re: [PATCH] qacl: new module, broken out from the acl module
Date: Tue, 30 Apr 2013 19:26:08 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi,

After the change, 'acl' module fails to build:

  $ gnulib-tool --create-testdir --dir=test-acl acl
  $ cd test-acl
  $ ./configure && make
  ...
  copy-acl.c: In function 'copy_acl':
  copy-acl.c:47:17: error: 'errno' undeclared (first use in this function)
  copy-acl.c:47:17: note: each undeclared identifier is reported only once for 
each function it appears in

Paul Eggert <address@hidden> writes:

> * lib/copy-acl.c, lib/set-acl.c: Include errno,h, not acl-internal.h.
[...]
> diff --git a/lib/copy-acl.c b/lib/copy-acl.c
> index 58ff54a..bcc86b6 100644
> --- a/lib/copy-acl.c
> +++ b/lib/copy-acl.c
> @@ -21,8 +21,7 @@
>  
>  #include "acl.h"
>  
> -#include "acl-internal.h"
> -
> +#include "error.h"

Seems #include <errno.h> is also needed (same for set-acl.c).

Regards,
-- 
Daiki Ueno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]