~ubuntu-branches/ubuntu/utopic/patch/utopic-security

« back to all changes in this revision

Viewing changes to lib/xalloc-die.c

  • Committer: Package Import Robot
  • Author(s): Christoph Berg
  • Date: 2013-01-03 17:34:45 UTC
  • mfrom: (1.2.3)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: package-import@ubuntu.com-20130103173445-i46hggipf8rfteiz
Tags: 2.7.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Report a memory allocation failure and exit.
2
2
 
3
 
   Copyright (C) 1997-2000, 2002-2004, 2006, 2009-2011 Free Software
 
3
   Copyright (C) 1997-2000, 2002-2004, 2006, 2009-2012 Free Software
4
4
   Foundation, Inc.
5
5
 
6
6
   This program is free software: you can redistribute it and/or modify
33
33
{
34
34
  error (exit_failure, 0, "%s", _("memory exhausted"));
35
35
 
36
 
  /* The `noreturn' cannot be given to error, since it may return if
 
36
  /* _Noreturn cannot be given to error, since it may return if
37
37
     its first argument is 0.  To help compilers understand the
38
38
     xalloc_die does not return, call abort.  Also, the abort is a
39
39
     safety feature if exit_failure is 0 (which shouldn't happen).  */