freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] [PATCH] Drop prefixes from replacements in VMS config.h.
- From: Frediano Ziglio <freddy77 AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] [PATCH] Drop prefixes from replacements in VMS config.h.
- Date: Sat, 29 Aug 2015 20:27:45 +0100
2015-08-28 14:12 GMT+01:00 Craig A. Berry <craigberry AT mac.com>:
> [Inline and attached]
>
> These conflict with the inline prefixes now in use. We keep
> our own prefixes for routines defined in vms/ rather than in
> src/replacements.
> ---
> vms/config_h.vms | 26 +++++---------------------
> 1 file changed, 5 insertions(+), 21 deletions(-)
>
> diff --git a/vms/config_h.vms b/vms/config_h.vms
> index 1f731d2..8da6c11 100644
> --- a/vms/config_h.vms
> +++ b/vms/config_h.vms
> @@ -337,27 +337,6 @@
> #pragma extern_prefix "freetds_" (getpass)
> char *getpass( const char* prompt );
>
> -#if !HAVE_ASPRINTF
> -#pragma extern_prefix "freetds_" (asprintf)
> -#endif /* !HAVE_ASPRINTF */
> -
> -#if !HAVE_VASPRINTF
> -#pragma extern_prefix "freetds_" (vasprintf)
> -#endif /* !HAVE_VASPRINTF */
> -
> -#if !HAVE_SNPRINTF
> -#pragma extern_prefix "portable_" (snprintf)
> -extern int snprintf(char *, size_t, const char *, /*args*/ ...);
> -#endif /* !HAVE_SNPRINTF */
> -
> -#if !HAVE_STRTOK_R
> -#pragma extern_prefix "freetds_" (strtok_r)
> -#endif /* !HAVE_STRTOK_R */
> -
> -#pragma extern_prefix restore
> -
> -#define tds_sysdep_intptr_type int /* 32-bit int */
> -
> #pragma extern_prefix "freetds_" (readpassphrase)
> char * readpassphrase(const char *, char *, size_t, int);
> #ifdef HAVE_READPASSPHRASE
> @@ -365,6 +344,11 @@ char * readpassphrase(const char *, char *, size_t,
> int);
> # undef HAVE_READPASSPHRASE
> #endif
>
> +#pragma extern_prefix restore
> +
> +#define tds_sysdep_intptr_type int /* 32-bit int */
> +
> +
> #include "replacements.h"
>
> /* If the CRTL ever complies with UNIX98 and defines socklen_t in
> —
> 2.2.1
>
Pushed!
Not that I have way to verify anyway... and all your patches was good!
Frediano
-
[freetds] [PATCH] Drop prefixes from replacements in VMS config.h.,
Craig A. Berry, 08/28/2015
- Re: [freetds] [PATCH] Drop prefixes from replacements in VMS config.h., Frediano Ziglio, 08/29/2015
Archive powered by MHonArc 2.6.24.