[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] automatic prototypes
From: |
Karl Berry |
Subject: |
Re: [bug-gnulib] automatic prototypes |
Date: |
Thu, 16 Dec 2004 09:56:31 -0500 |
> +#if defined HAVE_DECL_STRDUP && !HAVE_DECL_STRDUP
> +/* Duplicate S, returning an identical malloc'd string. */
> +extern char *strdup (const char *s);
> +#endif
Maybe it's not relevant, but don't far more programs use xstrdup than
strdup? I know that libraries may use strdup to avoid fatal errors, but
except for Simon's case, are there (m)any others?
I had the impression that this sort of stuff went into a per-project
"system.h" which included config.h, did declarations like the above,
etc. Isn't that safer than putting it directly in config.h?
- [bug-gnulib] automatic prototypes, Simon Josefsson, 2004/12/15
- Re: [bug-gnulib] automatic prototypes, Paul Eggert, 2004/12/16
- Re: [bug-gnulib] automatic prototypes,
Karl Berry <=
- [bug-gnulib] Re: automatic prototypes, Simon Josefsson, 2004/12/17
- Re: [bug-gnulib] Re: automatic prototypes, Paul Eggert, 2004/12/17
- [bug-gnulib] Re: automatic prototypes, Simon Josefsson, 2004/12/17
- Re: [bug-gnulib] Re: automatic prototypes, Paul Eggert, 2004/12/18
- [bug-gnulib] Re: automatic prototypes, Simon Josefsson, 2004/12/18
- Re: [bug-gnulib] Re: automatic prototypes, Paul Eggert, 2004/12/19
Re: [bug-gnulib] automatic prototypes, Bruno Haible, 2004/12/18