Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 151153
Collapse All | Expand All

(-)src/ccze-compat.h.old (+5 lines)
Lines 29-34 Link Here
29
#include <stddef.h>
29
#include <stddef.h>
30
#include <stdio.h>
30
#include <stdio.h>
31
31
32
# ifndef __error_t_defined
33
typedef int error_t;
34
#  define __error_t_defined     1
35
# endif
36
32
#ifndef HAVE_STRNDUP
37
#ifndef HAVE_STRNDUP
33
char *strndup (const char *s, size_t size);
38
char *strndup (const char *s, size_t size);
34
#endif
39
#endif
(-)src/ccze-compat.c.old (-1 / +1 lines)
Lines 275-281 Link Here
275
		char **valuep)
275
		char **valuep)
276
{
276
{
277
  int i = getsubopt (optionp, tokens, valuep);
277
  int i = getsubopt (optionp, tokens, valuep);
278
#if HAVE_SUBOPTARg
278
#if HAVE_SUBOPTARG
279
  if (!*valuep && suboptarg)
279
  if (!*valuep && suboptarg)
280
    *valuep = strdup (suboptarg);
280
    *valuep = strdup (suboptarg);
281
#endif
281
#endif

Return to bug 151153