~ubuntu-branches/ubuntu/hardy/prelude-manager/hardy

« back to all changes in this revision

Viewing changes to libmissing/strdup.c

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2007-03-22 18:09:27 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070322180927-tzvkkuk7yc5m0s9d
Tags: 0.9.7.2-2
* Fix permissions on configuration file (make sure it is not world-readable)
* Update my email address

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 1991, 1996, 1997, 1998, 2002, 2003, 2004, 2006 Free
 
1
/* Copyright (C) 1991, 1996, 1997, 1998, 2002, 2003, 2004, 2006, 2007 Free
2
2
   Software Foundation, Inc.
3
3
 
4
4
   This file is part of the GNU C Library.
19
19
 
20
20
#ifndef _LIBC
21
21
# include <config.h>
 
22
#endif
 
23
 
22
24
/* Get specification.  */
23
 
# include "strdup.h"
24
 
#endif
 
25
#include <string.h>
25
26
 
26
27
#include <stdlib.h>
27
 
#include <string.h>
28
28
 
29
29
#undef __strdup
30
 
#undef strdup
 
30
#ifdef _LIBC
 
31
# undef strdup
 
32
#endif
31
33
 
32
34
#ifndef weak_alias
33
35
# define __strdup strdup