* [PATCH] nfsidmap: Don't check ENABLE_LDAP twice
@ 2013-05-25 22:02 Aníbal Monsalve Salazar
2013-05-28 18:01 ` Steve Dickson
0 siblings, 1 reply; 2+ messages in thread
From: Aníbal Monsalve Salazar @ 2013-05-25 22:02 UTC (permalink / raw)
To: linux-nfs
To build the Debian libnfsidmap package, I've used the patch in this
mail for more than a year.
Debian-BTS: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661215
Author: Steve Langasek <steve.langasek@ubuntu.com>
Description: Don't check ENABLE_LDAP twice
This source is already being conditionally compiled based on ENABLE_LDAP
being set in the Makefile. All this extra check does is cause umich_ldap.so
to always be compiled as an *EMPTY* object because nothing sets ENABLE_LDAP
before the #ifdef!
Bug-Ubuntu: https://bugs.launchpad.net/bugs/939232
diff -up a/umich_ldap.c b/umich_ldap.c
--- a/umich_ldap.c 2011-12-06 07:28:10.000000000 +1100
+++ b/umich_ldap.c 2012-02-27 13:21:34.000000000 +1100
@@ -32,8 +32,6 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef ENABLE_LDAP
-
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
@@ -1302,4 +1300,3 @@ struct trans_func *libnfsidmap_plugin_in
{
return (&umichldap_trans);
}
-#endif
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] nfsidmap: Don't check ENABLE_LDAP twice
2013-05-25 22:02 [PATCH] nfsidmap: Don't check ENABLE_LDAP twice Aníbal Monsalve Salazar
@ 2013-05-28 18:01 ` Steve Dickson
0 siblings, 0 replies; 2+ messages in thread
From: Steve Dickson @ 2013-05-28 18:01 UTC (permalink / raw)
To: linux-nfs
On 25/05/13 18:02, Aníbal Monsalve Salazar wrote:
> To build the Debian libnfsidmap package, I've used the patch in this
> mail for more than a year.
>
> Debian-BTS: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661215
> Author: Steve Langasek <steve.langasek@ubuntu.com>
> Description: Don't check ENABLE_LDAP twice
> This source is already being conditionally compiled based on ENABLE_LDAP
> being set in the Makefile. All this extra check does is cause umich_ldap.so
> to always be compiled as an *EMPTY* object because nothing sets ENABLE_LDAP
> before the #ifdef!
> Bug-Ubuntu: https://bugs.launchpad.net/bugs/939232
Committed...
steved.
>
> diff -up a/umich_ldap.c b/umich_ldap.c
> --- a/umich_ldap.c 2011-12-06 07:28:10.000000000 +1100
> +++ b/umich_ldap.c 2012-02-27 13:21:34.000000000 +1100
> @@ -32,8 +32,6 @@
> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> */
>
> -#ifdef ENABLE_LDAP
> -
> #include <sys/types.h>
> #include <sys/socket.h>
> #include <netdb.h>
> @@ -1302,4 +1300,3 @@ struct trans_func *libnfsidmap_plugin_in
> {
> return (&umichldap_trans);
> }
> -#endif
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-28 18:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-25 22:02 [PATCH] nfsidmap: Don't check ENABLE_LDAP twice Aníbal Monsalve Salazar
2013-05-28 18:01 ` Steve Dickson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.