bash30-050-signames 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. --- /dev/null 2005-06-20 00:31:57.000000000 -0600
  2. +++ bash-3.0/signames.h 2005-08-02 16:57:21.000000000 -0600
  3. @@ -0,0 +1,205 @@
  4. +/* This file was automatically created by ./mksignames.
  5. + Do not edit. Edit support/mksignames.c instead. */
  6. +
  7. +/* A translation list so we can be polite to our users. */
  8. +char *signal_names[NSIG + 4] = {
  9. + "EXIT",
  10. +#ifdef SIGHUP
  11. + [SIGHUP] "SIGHUP",
  12. +#endif
  13. +#ifdef SIGINT
  14. + [SIGINT] "SIGINT",
  15. +#endif
  16. +#ifdef SIGQUIT
  17. + [SIGQUIT] "SIGQUIT",
  18. +#endif
  19. +#ifdef SIGILL
  20. + [SIGILL] "SIGILL",
  21. +#endif
  22. +#ifdef SIGTRAP
  23. + [SIGTRAP] "SIGTRAP",
  24. +#endif
  25. +#ifdef SIGABRT
  26. + [SIGABRT] "SIGABRT",
  27. +#endif
  28. +#ifdef SIGBUS
  29. + [SIGBUS] "SIGBUS",
  30. +#endif
  31. +#ifdef SIGFPE
  32. + [SIGFPE] "SIGFPE",
  33. +#endif
  34. +#ifdef SIGKILL
  35. + [SIGKILL] "SIGKILL",
  36. +#endif
  37. +#ifdef SIGUSR1
  38. + [SIGUSR1] "SIGUSR1",
  39. +#endif
  40. +#ifdef SIGSEGV
  41. + [SIGSEGV] "SIGSEGV",
  42. +#endif
  43. +#ifdef SIGUSR2
  44. + [SIGUSR2] "SIGUSR2",
  45. +#endif
  46. +#ifdef SIGPIPE
  47. + [SIGPIPE] "SIGPIPE",
  48. +#endif
  49. +#ifdef SIGALRM
  50. + [SIGALRM] "SIGALRM",
  51. +#endif
  52. +#ifdef SIGTERM
  53. + [SIGTERM] "SIGTERM",
  54. +#endif
  55. +#ifdef SIGJUNK
  56. + [SIGJUNK] "SIGJUNK(16)",
  57. +#endif
  58. +#ifdef SIGCHLD
  59. + [SIGCHLD] "SIGCHLD",
  60. +#endif
  61. +#ifdef SIGCONT
  62. + [SIGCONT] "SIGCONT",
  63. +#endif
  64. +#ifdef SIGSTOP
  65. + [SIGSTOP] "SIGSTOP",
  66. +#endif
  67. +#ifdef SIGTSTP
  68. + [SIGTSTP] "SIGTSTP",
  69. +#endif
  70. +#ifdef SIGTTIN
  71. + [SIGTTIN] "SIGTTIN",
  72. +#endif
  73. +#ifdef SIGTTOU
  74. + [SIGTTOU] "SIGTTOU",
  75. +#endif
  76. +#ifdef SIGURG
  77. + [SIGURG] "SIGURG",
  78. +#endif
  79. +#ifdef SIGXCPU
  80. + [SIGXCPU] "SIGXCPU",
  81. +#endif
  82. +#ifdef SIGXFSZ
  83. + [SIGXFSZ] "SIGXFSZ",
  84. +#endif
  85. +#ifdef SIGVTALRM
  86. + [SIGVTALRM] "SIGVTALRM",
  87. +#endif
  88. +#ifdef SIGPROF
  89. + [SIGPROF] "SIGPROF",
  90. +#endif
  91. +#ifdef SIGWINCH
  92. + [SIGWINCH] "SIGWINCH",
  93. +#endif
  94. +#ifdef SIGIO
  95. + [SIGIO] "SIGIO",
  96. +#endif
  97. +#ifdef SIGPWR
  98. + [SIGPWR] "SIGPWR",
  99. +#endif
  100. +#ifdef SIGSYS
  101. + [SIGSYS] "SIGSYS",
  102. +#endif
  103. +#ifdef SIGJUNK
  104. + [SIGJUNK] "SIGJUNK(32)",
  105. +#endif
  106. +#ifdef SIGJUNK
  107. + [SIGJUNK] "SIGJUNK(33)",
  108. +#endif
  109. +#ifdef SIGJUNK
  110. + [SIGJUNK] "SIGJUNK(34)",
  111. +#endif
  112. +#ifdef SIGJUNK
  113. + [SIGJUNK] "SIGJUNK(35)",
  114. +#endif
  115. +#ifdef SIGJUNK
  116. + [SIGJUNK] "SIGJUNK(36)",
  117. +#endif
  118. +#ifdef SIGJUNK
  119. + [SIGJUNK] "SIGJUNK(37)",
  120. +#endif
  121. +#ifdef SIGJUNK
  122. + [SIGJUNK] "SIGJUNK(38)",
  123. +#endif
  124. +#ifdef SIGJUNK
  125. + [SIGJUNK] "SIGJUNK(39)",
  126. +#endif
  127. +#ifdef SIGJUNK
  128. + [SIGJUNK] "SIGJUNK(40)",
  129. +#endif
  130. +#ifdef SIGJUNK
  131. + [SIGJUNK] "SIGJUNK(41)",
  132. +#endif
  133. +#ifdef SIGJUNK
  134. + [SIGJUNK] "SIGJUNK(42)",
  135. +#endif
  136. +#ifdef SIGJUNK
  137. + [SIGJUNK] "SIGJUNK(43)",
  138. +#endif
  139. +#ifdef SIGJUNK
  140. + [SIGJUNK] "SIGJUNK(44)",
  141. +#endif
  142. +#ifdef SIGJUNK
  143. + [SIGJUNK] "SIGJUNK(45)",
  144. +#endif
  145. +#ifdef SIGJUNK
  146. + [SIGJUNK] "SIGJUNK(46)",
  147. +#endif
  148. +#ifdef SIGJUNK
  149. + [SIGJUNK] "SIGJUNK(47)",
  150. +#endif
  151. +#ifdef SIGJUNK
  152. + [SIGJUNK] "SIGJUNK(48)",
  153. +#endif
  154. +#ifdef SIGJUNK
  155. + [SIGJUNK] "SIGJUNK(49)",
  156. +#endif
  157. +#ifdef SIGJUNK
  158. + [SIGJUNK] "SIGJUNK(50)",
  159. +#endif
  160. +#ifdef SIGJUNK
  161. + [SIGJUNK] "SIGJUNK(51)",
  162. +#endif
  163. +#ifdef SIGJUNK
  164. + [SIGJUNK] "SIGJUNK(52)",
  165. +#endif
  166. +#ifdef SIGJUNK
  167. + [SIGJUNK] "SIGJUNK(53)",
  168. +#endif
  169. +#ifdef SIGJUNK
  170. + [SIGJUNK] "SIGJUNK(54)",
  171. +#endif
  172. +#ifdef SIGJUNK
  173. + [SIGJUNK] "SIGJUNK(55)",
  174. +#endif
  175. +#ifdef SIGJUNK
  176. + [SIGJUNK] "SIGJUNK(56)",
  177. +#endif
  178. +#ifdef SIGJUNK
  179. + [SIGJUNK] "SIGJUNK(57)",
  180. +#endif
  181. +#ifdef SIGJUNK
  182. + [SIGJUNK] "SIGJUNK(58)",
  183. +#endif
  184. +#ifdef SIGJUNK
  185. + [SIGJUNK] "SIGJUNK(59)",
  186. +#endif
  187. +#ifdef SIGJUNK
  188. + [SIGJUNK] "SIGJUNK(60)",
  189. +#endif
  190. +#ifdef SIGJUNK
  191. + [SIGJUNK] "SIGJUNK(61)",
  192. +#endif
  193. +#ifdef SIGJUNK
  194. + [SIGJUNK] "SIGJUNK(62)",
  195. +#endif
  196. +#ifdef SIGJUNK
  197. + [SIGJUNK] "SIGJUNK(63)",
  198. +#endif
  199. +#ifdef SIGJUNK
  200. + [SIGJUNK] "SIGJUNK(64)",
  201. +#endif
  202. + [NSIG] "DEBUG",
  203. +
  204. + [NSIG + 1] "ERR",
  205. +
  206. + [NSIG + 2] (char *)0x0
  207. +};
  208. +
  209. --- bash-3.0.orig/Makefile.in 2004-03-17 06:34:39.000000000 -0700
  210. +++ bash-3.0/Makefile.in 2005-08-02 16:44:29.000000000 -0600
  211. @@ -410,9 +410,6 @@
  212. SOURCES = $(CSOURCES) $(HSOURCES) $(BUILTIN_DEFS)
  213. -# header files chosen based on running of configure
  214. -SIGNAMES_H = @SIGNAMES_H@
  215. -
  216. # object files chosen based on running of configure
  217. JOBS_O = @JOBS_O@
  218. SIGLIST_O = @SIGLIST_O@
  219. @@ -483,15 +480,12 @@
  220. PO_SRC = $(srcdir)/po/
  221. PO_DIR = $(dot)/po/
  222. -SIGNAMES_SUPPORT = $(SUPPORT_SRC)mksignames.c
  223. -
  224. SUPPORT_SRC = $(srcdir)/support/
  225. SDIR = $(dot)/support/
  226. TESTS_SUPPORT = recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT)
  227. CREATED_SUPPORT = signames.h recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT) \
  228. - tests/recho$(EXEEXT) tests/zecho$(EXEEXT) \
  229. - tests/printenv$(EXEEXT) mksignames$(EXEEXT) lsignames.h \
  230. + tests/recho$(EXEEXT) tests/zecho$(EXEEXT) tests/printenv$(EXEEXT) \
  231. mksyntax${EXEEXT} syntax.c $(VERSPROG) $(VERSOBJ) \
  232. buildversion.o
  233. CREATED_CONFIGURE = config.h config.cache config.status config.log \
  234. @@ -607,22 +601,9 @@
  235. ${LIBINTL_H}: ${INTL_LIBRARY}
  236. -mksignames$(EXEEXT): $(SUPPORT_SRC)mksignames.c
  237. - $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)mksignames.c
  238. -
  239. mksyntax$(EXEEXT): ${srcdir}/mksyntax.c config.h syntax.h ${BASHINCDIR}/chartypes.h
  240. ${CC_FOR_BUILD} ${CCFLAGS_FOR_BUILD} -o $@ ${srcdir}/mksyntax.c
  241. -# make a list of signals for the local system -- this is done when we're
  242. -# *not* cross-compiling
  243. -lsignames.h: mksignames$(EXEEXT)
  244. - $(RM) $@
  245. - ./mksignames $@
  246. -
  247. -# copy the correct signames header file to signames.h
  248. -signames.h: $(SIGNAMES_H)
  249. - -if cmp -s $(SIGNAMES_H) $@ ; then :; else $(RM) $@ ; $(CP) $(SIGNAMES_H) $@ ; fi
  250. -
  251. syntax.c: mksyntax${EXEEXT} $(srcdir)/syntax.h
  252. $(RM) $@
  253. ./mksyntax -o $@