The Samba-Bugzilla – Attachment 4599 Details for
Bug 4960
Fails to compile on QNX
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Do not redefine strupr
0001-Do-not-redefine-strupr.patch (text/plain), 1.30 KB, created by
Matt Kraai (mail address dead)
on 2009-08-26 16:55:19 UTC
(
hide
)
Description:
Do not redefine strupr
Filename:
MIME Type:
Creator:
Matt Kraai (mail address dead)
Created:
2009-08-26 16:55:19 UTC
Size:
1.30 KB
patch
obsolete
>From 3847e2fa7147954ac061136c6f7459cc32599069 Mon Sep 17 00:00:00 2001 >From: Matt Kraai <mkraai@beckman.com> >Date: Wed, 26 Aug 2009 14:50:28 -0700 >Subject: [PATCH] Do not redefine strupr > >--- > source3/configure.in | 1 + > source3/libaddns/dnsgss.c | 2 ++ > 2 files changed, 3 insertions(+), 0 deletions(-) > >diff --git a/source3/configure.in b/source3/configure.in >index 0e7594e..8eb6382 100644 >--- a/source3/configure.in >+++ b/source3/configure.in >@@ -1016,6 +1016,7 @@ AC_CHECK_HEADERS(sys/mman.h) > AC_CHECK_FUNCS(shmget shm_open) > AC_CHECK_FUNCS(gettext dgettext) > AC_CHECK_FUNCS(bindtextdomain textdomain) >+AC_CHECK_FUNCS(strupr) > > # Find a method of generating a stack trace > AC_CHECK_HEADERS(execinfo.h libexc.h libunwind.h) >diff --git a/source3/libaddns/dnsgss.c b/source3/libaddns/dnsgss.c >index e7ea041..1e3d464 100644 >--- a/source3/libaddns/dnsgss.c >+++ b/source3/libaddns/dnsgss.c >@@ -31,6 +31,7 @@ > /********************************************************************* > *********************************************************************/ > >+#ifndef HAVE_STRUPR > static int strupr( char *szDomainName ) > { > if ( !szDomainName ) { >@@ -42,6 +43,7 @@ static int strupr( char *szDomainName ) > } > return ( 0 ); > } >+#endif > > #if 0 > /********************************************************************* >-- >1.6.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 4960
:
2920
|
4366
|
4385
|
4386
|
4387
|
4596
|
4599
|
4662