VirtualBox

Changeset 2596 in kBuild for vendor/gnumake/current/signame.c


Ignore:
Timestamp:
Jun 19, 2012 10:44:52 PM (13 years ago)
Author:
bird
Message:

gnumake/current -> 3.82-cvs.

Location:
vendor/gnumake/current
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vendor/gnumake/current

    • Property svn:ignore deleted
  • vendor/gnumake/current/signame.c

    r1989 r2596  
    11/* Convert between signal names and numbers.
    22Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    3 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
     32000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     4Foundation, Inc.
    45This file is part of GNU Make.
    56
     
    229230
    230231char *
    231 strsignal (int signal)
     232strsignal (int sig)
    232233{
    233234  static char buf[] = "Signal 12345678901234567890";
     
    246247#endif
    247248
    248   if (signal > 0 || signal < NSIG)
    249     return (char *) sys_siglist[signal];
    250 
    251   sprintf (buf, "Signal %d", signal);
     249  if (sig > 0 || sig < NSIG)
     250    return (char *) sys_siglist[sig];
     251
     252  sprintf (buf, "Signal %d", sig);
    252253  return buf;
    253254}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette