Skip to Content.
Sympa Menu

freetds - Re: [freetds] [PATCH] Don't disable system's readpassphrase.h.

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] [PATCH] Don't disable system's readpassphrase.h.
  • Date: Sat, 29 Aug 2015 13:24:40 +0100

Il 29/Ago/2015 02:42, "Craig A. Berry" <craigberry AT mac.com> ha scritto:
>
> We were defining _READPASSPHRASE_H_ in our replacement version,
> and then, when HAVE_READPASSPHRASE was defined, including the
> system version of readpassphrase.h. At least on BSD-like systems,
> the contents of that file are skipped when _READPASSPHRASE_H_ is
> already defined. So use our own macro to guard our own header
> rather stealing the guard macro that is also used by the system.
> ---
> include/replacements/readpassphrase.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/replacements/readpassphrase.h
b/include/replacements/readpassphrase.h
> index db6312f..bba3190 100644
> --- a/include/replacements/readpassphrase.h
> +++ b/include/replacements/readpassphrase.h
> @@ -29,8 +29,8 @@
> * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> */
>
> -#ifndef _READPASSPHRASE_H_
> -#define _READPASSPHRASE_H_
> +#ifndef _FREETDS_READPASSPHRASE_H_
> +#define _FREETDS_READPASSPHRASE_H_
>
> #ifdef HAVE_READPASSPHRASE
>
>
> 2.2.1

Looks like this patch is very similar to mine

Frediano




Archive powered by MHonArc 2.6.24.

Top of Page