Changeset 2596 in kBuild for vendor/gnumake/current/signame.c
- Timestamp:
- Jun 19, 2012 10:44:52 PM (13 years ago)
- 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 1 1 /* Convert between signal names and numbers. 2 2 Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. 3 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 4 Foundation, Inc. 4 5 This file is part of GNU Make. 5 6 … … 229 230 230 231 char * 231 strsignal (int sig nal)232 strsignal (int sig) 232 233 { 233 234 static char buf[] = "Signal 12345678901234567890"; … … 246 247 #endif 247 248 248 if (sig nal > 0 || signal< NSIG)249 return (char *) sys_siglist[sig nal];250 251 sprintf (buf, "Signal %d", sig nal);249 if (sig > 0 || sig < NSIG) 250 return (char *) sys_siglist[sig]; 251 252 sprintf (buf, "Signal %d", sig); 252 253 return buf; 253 254 }
Note:
See TracChangeset
for help on using the changeset viewer.