Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/intl/bindtextdom.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* Implementation of the bindtextdomain(3) function
    2    Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
     2   Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
    33
    44   This program is free software; you can redistribute it and/or modify
     
    6262#ifdef _LIBC
    6363# define BINDTEXTDOMAIN __bindtextdomain
    64 # define strdup(str) __strdup (str)
     64# ifndef strdup
     65#  define strdup(str) __strdup (str)
     66# endif
    6567#else
    6668# define BINDTEXTDOMAIN bindtextdomain__
     
    134136    {
    135137      /* We have to create a new binding.  */
     138#if !defined _LIBC && !defined HAVE_STRDUP
    136139      size_t len;
     140#endif
    137141      struct binding *new_binding =
    138142        (struct binding *) malloc (sizeof (*new_binding));
Note: See TracChangeset for help on using the changeset viewer.