~vcs-imports/grub/grub2-bzr

« back to all changes in this revision

Viewing changes to grub-core/gnulib/strndup.c

  • Committer: Vladimir 'phcoder' Serbinenko
  • Date: 2013-04-11 19:12:46 UTC
  • Revision ID: phcoder@gmail.com-20130411191246-fz1xdy47z3vv2kt8
        Import new gnulib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* A replacement function, for systems that lack strndup.
2
2
 
3
 
   Copyright (C) 1996, 1997, 1998, 2001, 2002, 2003, 2005, 2006, 2007, 2009,
4
 
   2010 Free Software Foundation, Inc.
 
3
   Copyright (C) 1996-1998, 2001-2003, 2005-2007, 2009-2013 Free Software
 
4
   Foundation, Inc.
5
5
 
6
6
   This program is free software; you can redistribute it and/or modify it
7
7
   under the terms of the GNU General Public License as published by the
14
14
   GNU General Public License for more details.
15
15
 
16
16
   You should have received a copy of the GNU General Public License
17
 
   along with this program; if not, write to the Free Software Foundation,
18
 
   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
17
   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
19
18
 
20
19
#include <config.h>
21
20