ChangeLog.3 61 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644
  1. Sun Jun 5 14:34:12 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2. * Version 1.08.1.
  3. * sysdeps/mach/hurd/ioctls.h (_IOR, _IOW): Swap IOC_IN and IOC_OUT.
  4. * sysdeps/mach/hurd/__ioctl.c: Only pack input for ioctls that
  5. take input. Compute expected reply size for ioctls that take
  6. output and check it properly.
  7. Sat Jun 4 00:35:42 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  8. * sysdeps/mach/hurd/ioctls.h (union __ioctl): Type removed.
  9. (enum __ioctl_datum): Name this enum.
  10. (_IOC_INOUT, _IOC_GROUP, _IOC_COMMAND, _IOC_TYPE): New macros.
  11. (_IOT_TYPE[012], _IOT_COUNT[012]): New macros.
  12. * sysdeps/mach/hurd/__ioctl.c: Use those macros instead of the union.
  13. * sysdeps/mach/hurd/__fork.c: Major rewrite. Copy all ports
  14. present in the task, not just library-maintained ones. Handle
  15. sigstate and signal thread setup explicitly here.
  16. * hurd/hurdsig.c (hurdsig_fork, hurdsig_fork_child): Functions
  17. removed.
  18. * hurd/hurdpid.c (init_pids): Don't put this on _hurd_fork_child_hook.
  19. * sysdeps/mach/hurd/__isatty.c: New file.
  20. * hurd/hurdsock.c (_hurd_socket_server): Pass NP to __path_lookup,
  21. not NAME (most of which is uninitialized).
  22. * hurd/hurdsig.c (_hurdsig_init): Don't check for _hurd_msgport
  23. being non-null; always initialize it.
  24. Fri Jun 3 21:57:14 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  25. * hurd/hurdrlimit.c (init_rlimit): Restore __mutex_init call.
  26. (_hurd_rlimit_lock): Set initializer to random value; run-time
  27. initialization is always required.
  28. * inet/rcmd.c (rcmd): Compute max fd + 1 for select instead of
  29. hardcoding 32.
  30. Wed Jun 1 10:52:41 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
  31. * hurd/hurdrlimit.c (_hurd_rlimits, _hurd_rlimit_lock): Provide
  32. initializers so that the file is included in the link properly.
  33. (init_rlimit): Omit call to __mutex_init.
  34. Tue May 31 18:15:33 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  35. * hurd/hurdmalloc.c (more_memory): Do spin_lock_init on H->lock.
  36. (malloc_init): New function; put it on _hurd_preinit_hook.
  37. * sysdeps/mach/hurd/defs.c (init_stdio): If stream already
  38. allocated, don't allocate a new one. Don't crash if _hurd_alloc_fd
  39. returns null if __newstream does.
  40. * sysdeps/mach/hurd/__brk.c (init_brk): If _hurd_brk is nonzero,
  41. leave it as it is. Set PAGEND from _hurd_brk instead of &_end.
  42. Mon May 30 18:37:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  43. * hurd/hurdrlimit.c (init_rlimit): Put this on _hurd_preinit_hook
  44. instead of _hurd_subinit.
  45. * sysdeps/mach/hurd/mig-reply.c (mig_fork_child): Function removed.
  46. * hurd/dtable.c (fork_parent_dtable): Function removed.
  47. * sysdeps/generic/resourcebits.h: Rename RLIM_NLIMITS to
  48. RLIMIT_NLIMITS, add alias for old name.
  49. * sysdeps/mach/hurd/Makefile (hurd-objpfx): New variable.
  50. (before-compile): Use that instead of $(common-objpfx).
  51. * sysdeps/mach/Makefile [! objpfx] (mach-objpfx): Add trailing slash.
  52. Fri May 27 01:34:56 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  53. * hurd/hurdsig.c (_hurdsig_init): Always initialize _hurd_sigthread.
  54. * hurd/dtable.c: Use data_set_element instead of text_set_element
  55. for _hurd_fork_locks.
  56. * hurd/hurdsig.c: Likewise.
  57. * hurd/hurd.h (_hurd_set_data_limit): Declaration removed.
  58. * hurd/dtable.c (_hurd_dtable_rlimit): Variable removed.
  59. (init_dtable): Don't set it.
  60. * hurd/Makefile (headers): Add hurd/resource.h.
  61. (routines): Add hurdrlimit.
  62. * hurd/hurd/resource.h: New file.
  63. * hurd/hurdrlimit.c: New file.
  64. * sysdeps/mach/hurd/getrlimit.c: Rewritten to just fetch
  65. _hurd_rlimits.
  66. * sysdeps/mach/hurd/setrlimit.c: Rewritten to just set _hurd_rlimits.
  67. * sysdeps/mach/hurd/__brk.c (_hurd_data_limit): Variable removed.
  68. (_hurd_set_brk): Use _hurd_rlimits[RLIMIT_DATA].
  69. (_hurd_set_data_limit): Function removed.
  70. * hurd/alloc-fd.c (_hurd_dtable_rlimit): Variable removed.
  71. (_hurd_alloc_fd): Use _hurd_rlimits[RLIMIT_OFILE] instead.
  72. * sysdeps/generic/resourcebits.h: Add RLIMIT_NOFILE as an alias
  73. for RLIMIT_OFILE.
  74. * sysdeps/mach/hurd/mig-reply.c (__mig_init): Argument is stack
  75. on which to set the per-thread reply port variable.
  76. * sysdeps/mach/hurd/__brk.c (init_brk): Set _hurd_data_end to
  77. DATA_SIZE bytes past the beginning of data space, rather than to
  78. DATA_SIZE absolutely. If vm_map fails, set it to PAGEND.
  79. * sysdeps/mach/hurd/start.c (_start): Run _hurd_preinit_hook right
  80. after __mach_init.
  81. * stdio/freopen.c (freopen): Rewritten using __stdio_reopen to
  82. preserve the old cookie value when possible.
  83. * sysdeps/posix/sysd-stdio.c (__stdio_reopen): New function.
  84. * sysdeps/stub/sysd-stdio.c (__stdio_reopen): New function.
  85. * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): New function.
  86. * stdio/freopen.c (freopen): Close the stream if MODE is invalid.
  87. * hurd/hurdsig.c (_hurd_core_limit): Define variable.
  88. * socket/sys/socket.h (PF_LOCAL): Define in preference to PF_FILE.
  89. Thu May 26 12:09:51 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
  90. * hurd/alloc-fd.c (_hurd_alloc_fd): Don't return EINVAL when
  91. FIRST_FD is greater than _hurd_dtablesize and less than
  92. _hurd_dtable_rlimit. If we want to grow _hurd_dtable, but
  93. _hurd_dtablesize is as big as _hurd_dtable_rlimit, then return
  94. EMFILE. When growing _hurd_dtable, actually do something if
  95. _hurd_dtablesize is zero.
  96. * hurd/hurdmalloc.c (malloc_fork_prepare, malloc_fork_parent,
  97. malloc_fork_child): Declare as static so they don't conflict with
  98. the user's version of this file.
  99. Wed May 25 20:55:16 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  100. * sysdeps/mach/hurd/__brk.c: Include <cthreads.h> instead of
  101. <mutex.h>.
  102. * hurd/hurdmalloc.c, hurd/hurdmalloc.h: New files (temporary hack).
  103. * hurd/Makefile (routines): Append hurdmalloc.
  104. (distribute): Append hurdmalloc.h.
  105. * hurd/alloc-fd.c: Include "hurdmalloc.h" (temporary hack).
  106. * hurd/dtable.c: Likewise.
  107. * hurd/hurdinit.c: Likewise.
  108. * hurd/hurdsig.c: Likewise.
  109. * hurd/hurdsock.c: Likewise.
  110. * hurd/new-fd.c: Likewise.
  111. * sysdeps/mach/hurd/start.c: Likewise.
  112. * sysdeps/mach/hurd/start.c (start1): Use malloc and a for loop
  113. instead of calloc.
  114. * hurd/hurdsig.c (_hurd_thread_sigstate): Use malloc and memset
  115. instead of calloc.
  116. * sysdeps/mach/hurd/__brk.c (init_brk): Reference self to avoid
  117. compiler warning. Add init_brk to _hurd_preinit_hook instead of
  118. __libc_subinit.
  119. * sysdeps/mach/hurd/start.c (_hurd_preinit_hook): New variable.
  120. (start1): Run _hurd_preinit_hook before threadvar setup.
  121. Tue May 24 17:42:34 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  122. * hurd/dtable.c (init_dtable): Initialize _hurd_dtablesize to
  123. _hurd_init_dtablesize. Initialize _hurd_dtable_rlimit as
  124. _hurd_dtablesize used to be set, but don't let it be zero.
  125. (_hurd_dtable_rlimit): New variable.
  126. Tue May 24 12:57:19 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
  127. * sysdeps/mach/sleep.c (sleep): Timeout arg to mach_msg is
  128. in milliseconds, not microseconds; compute it accordingly.
  129. * sysdeps/mach/hurd/__select.c (__select): Deleted variables
  130. DTABLE and DTABLE_ULINK. Use new vars _hurd_dtablesize and
  131. _hurd_dtable instead of old _hurd_dtable structure. Use new
  132. locking protocol on _hurd_dtable.
  133. Tue May 24 01:55:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  134. * sysdeps/mach/hurd/__setitmr.c: Don't include mutex.h.
  135. * sysdeps/mach/hurd/defs.c (init_stdio): Reference self.
  136. * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Include
  137. sysdeps/unix/sysv/i386/sysdep.h, not sysdeps/unix/i386/sysdep.h
  138. Mon May 23 19:05:44 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  139. * sysdeps/mach/hurd/Makefile (mib_hacks, defines): Variables removed.
  140. * mach/devstream.c (mach_open_devstream): Set STREAM's seek and
  141. fileno io functions to null.
  142. * hurd/hurdexec.c (_hurd_exec): Fixed adding of dtable ports to
  143. PLEASE_DEALLOC array.
  144. * sysdeps/mach/hurd/defs.c (init_stdio): Unlock the descriptors
  145. after fetching them. If a standard descriptor is not allocated,
  146. allocate the structure and store its pointer in the stream anyway.
  147. * stdio/gets.c: Only return null on P==S if feof (STREAM).
  148. * stdio/vfprintf.c: Make %Z a type modifier, not a format spec.
  149. * sysdeps/mach/hurd/fdopen.c: Return NULL rather than -1 for error.
  150. Mon May 23 14:24:50 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
  151. * sysdeps/mach/hurd/__close.c (__close): Use new _hurd_fd_get
  152. protocol.
  153. * sysdeps/mach/hurd/__dup2.c (__dup2): Likewise. Use
  154. _hurd_dtablesize and _hurd_dtable instead of old _hurd_dtable
  155. structure.
  156. * sysdeps/mach/hurd/sysd-stdio.c (__stdio_seek): Use
  157. HURD_FD_PORT_USE, not HURD_FD_USE.
  158. * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Variable
  159. is D, not FD.
  160. * hurd/alloc-fd.c (_hurd_alloc_fd): Arg FIRST_FD is not actually
  161. const.
  162. * hurd/hurdsig.c (_hurd_internal_post_signal [case SIGINFO]): If
  163. we are not the process group leader, ignore the signal.
  164. (_S_sig_post [case SIGURG]): Declaration of D was out of place.
  165. * sysdeps/mach/hurd/fdopen.c: Include <hurd/io.h> for
  166. io_get_openmodes prototype.
  167. Sat May 21 16:03:23 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  168. * assert/assert.c (__assert_fail): Put program name first in msg.
  169. * hurd/Makefile (dtable): Removed setdtsz.
  170. * hurd/hurdexec.c: Use _hurd_dtable and _hurd_dtablesize instead of
  171. old _hurd_dtable structure.
  172. * hurd/hurdsig.c: Likewise.
  173. * hurd/alloc-fd.c: Likewise.
  174. * hurd/hurdioctl.c (rectty_dtable): Likewise.
  175. * Version 1.08 released.
  176. * mach/mach_error_string.c: Renamed to errstring.c.
  177. * mach/Makefile (routines): Renamed mach_error_string to errstring.
  178. * mach/err_mach_ipc.sub: Renamed to err_mach.sub.
  179. * mach/err_bootstrap.sub: Renamed to err_boot.sub.
  180. * sysdeps/generic/sigset.h (__SIGSETFN): Take new arg CONST; use it
  181. for CONST qualifier on SET arg to generated function.
  182. Changed uses to pass it; sigismember passes __const, others empty.
  183. * sysdeps/mach/hurd/sysd-stdio.c: Rewritten to use `struct hurd_fd *'s
  184. for cookies.
  185. * sysdeps/mach/hurd/fdopen.c: Rewritten accordinly.
  186. * sysdeps/mach/hurd/defs.c (init_stdio): Rewritten accordingly.
  187. Add it to the _hurd_fd_subinit hook instead of the __libc_subinit
  188. hook.
  189. * sysdeps/mach/hurd/stdio_init.c: New file.
  190. * hurd/dtable.c (_hurd_fd_subinit): New hook variable.
  191. (init_dtable): Run the _hurd_fd_subinit hook.
  192. * hurd/hurd/fd.h (struct hurd_dtable): Type removed.
  193. (_hurd_dtable_users, _hurd_dtable_rlimit): Variables removed.
  194. (_hurd_dtable): Make this a struct hurd_fd **.
  195. (_hurd_dtablesize): New variable.
  196. (struct hurd_fd_user): Type removed.
  197. (_hurd_dtable_get, _hurd_dtable_free, _hurd_dtable_fd): Functions
  198. removed.
  199. (_hurd_fd_get): Rewritten. Take just one arg, and look it up in
  200. _hurd_dtable; return a struct hurd_fd *.
  201. (HURD_FD_USE): Rewritten to use new _hurd_fd_get interface.
  202. * hurd/dtable.c (_hurd_dtable_users, _hurd_dtable_rlimit):
  203. Variables removed.
  204. (_hurd_dtable): Make this a struct hurd_fd **.
  205. (_hurd_dtablesize): New variable.
  206. (init_dtable, fork_parent_dtable, fork_child_dtable,
  207. ctty_new_pgrp, reauth_dtable): Use new simpler _hurd_dtable format.
  208. * sysdeps/mach/hurd/__getdtsz.c: Use _hurd_dtablesize.
  209. * sysdeps/mach/hurd/__fcntl.c: Use new _hurd_fd_get protocol.
  210. * hurd/dtable.c (get_dtable_port): Return the ctty port if set.
  211. * hurd/hurd/fd.h (_hurd_fd_error_signal): New function, broken out
  212. of _hurd_fd_error.
  213. (_hurd_fd_error): Call it.
  214. * hurd/Makefile (dtable): Add fd-close.
  215. * hurd/fd-close.c: New file.
  216. * hurd/hurd/fd.h: Declare _hurd_fd_close.
  217. * sysdeps/mach/hurd/__close.c: Call _hurd_fd_close.
  218. * signal/Makefile (routines): Add sigsetops.
  219. * signal/sigsetops.c: New file.
  220. * sysdeps/unix/sysv/sysv4/sigset.h (_EXTERN_INLINE): New macro.
  221. Use it for all the inline functions.
  222. * signal/signal.h: Move #include <signum.h> inside #ifdef _SIGNAL_H.
  223. * sysdeps/generic/sigset.h: Protect types with #ifndef
  224. _SIGSET_H_types. Protect rest with #if !defined (_SIGSET_H_fns)
  225. && defined (_SIGNAL_H).
  226. (__SIGSETFN): Add extern declaration of NAME inside function.
  227. * sysdeps/unix/ioctls-tmpl.c: Add missing #endif.
  228. * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Remember -D.
  229. Fri May 20 20:42:33 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  230. * sysdeps/unix/Makefile (sys/termios.h): Variable removed.
  231. (ioctl-includes): New variable.
  232. (make-ioctls-CFLAGS): Compute value generally from $(ioctl-includes).
  233. ($(common-objpfx)ioctls): Depend on $(ioctl-includes), instead of
  234. $(sys/termios.h).
  235. * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: New file.
  236. * sysdeps/unix/sysv/sco3.2.4/Makefile (sysdep_routines): Add
  237. sco_getgrp.
  238. * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: New file.
  239. * sysdeps/generic/sigset.h (__sigismember, __sigaddset, __sigdelset):
  240. Rewritten as extern inline functions; check for bogus signal number.
  241. * configure.in (names): Put $implied before $* in new $sysnames
  242. list remaining to be processed; this ensures unix/common precedes
  243. unix/sysv4 for sysv4.
  244. Thu May 19 18:35:02 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  245. * sysdeps/mach/hurd/defs.c (init_stdio): Make stdin and stdout
  246. line buffered and stderr unbuffered.
  247. Thu May 19 16:14:36 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  248. * sysdeps/mach/hurd/getcwd.c: Remember to call io_stat on cwdir.
  249. * sysdeps/generic/configure.in: Use changequote around if expr
  250. to avoid [] elision.
  251. Thu May 19 13:53:59 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  252. * hurd/hurdsock.c (_hurd_socket_server): Return EPFNOSUPPORT
  253. rather than EPROTONOSUPPORT because it's the entire protocol
  254. family that isn't present, not just one protocol.
  255. * sysdeps/mach/hurd/__access.c (__access): Don't deallocate
  256. CRDIR or CWDIR; that's taken care of by the _hurd_port_get
  257. and _hurd_port_free system.
  258. Thu May 19 04:14:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  259. * sysdeps/posix/libc_fatal.c: Include <errno.h>.
  260. * sysdeps/unix/sysv/sysv4/__sigact.c: Include <stddef.h> for NULL.
  261. * sysdeps/mach/hurd/__access.c: Fix swapped poly and count args in
  262. __auth_makeauth call.
  263. * sysdeps/mach/hurd/ioctls.h (_IOC, _IOT): Rewritten using bitwise
  264. operations, so the result is always technically a constant (the
  265. old method of using a union constructor expression was not good
  266. enough for initializers).
  267. * hurd/hurdsock.c (_hurd_socket_server): If path_lookup returns
  268. ENOENT, we return EPROTONOSUPPORT.
  269. * hurd/Makefile (dtable): Add hurdioctl.
  270. * hurd/dtable.c (rectty_dtable, tiocsctty, tiocnotty): Functions
  271. moved:
  272. * hurd/hurdioctl.c: New file.
  273. (fioctl, fioclex): New functions.
  274. * sysdeps/mach/hurd/__ioctl.c (_hurd_ioctl_handler_lists): Don't
  275. define it, just declare it.
  276. * sysdeps/mach/hurd/getcwd.c: Use MACH_PORT_RIGHT_SEND, not
  277. MACH_PORT_TYPE_SEND, in mach_port_mod_refs call.
  278. * sysdeps/mach/hurd/__getpgrp.c: Don't lock _hurd_pid_lock.
  279. * sysdeps/unix/common/glue-ctype.c: Don't include <ctype.h>.
  280. Instead, add explicit extern declaration of TABLE in main.
  281. Wed May 18 17:54:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  282. * sysdeps/m68k/Makefile (asm-CPPFLAGS): Append $(m68k-syntax-flag).
  283. * Version 1.07.6.
  284. * sunrpc/Makefile (+gccwarn): Set to -w.
  285. * sysdeps/unix/Makefile (ifeq testing sys/param.h): Use patsubst
  286. instead of dir to remove directory name from .../sys/param.h but
  287. preserve "sys/".
  288. * inet/sys/bitypes.h: Replaced with just #include <sys/types.h>.
  289. * posix/sys/utsname.h (_UTSNAME_NODENAME_LENGTH): If undefined,
  290. define to _UTSNAME_LENGTH.
  291. (struct utsname): Use _UTSNAME_NODENAME_LENGTH for `nodename' member.
  292. * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h (_UTSNAME_NODENAME_LENGTH):
  293. Define it.
  294. * resource/sys/resource.h (enum __rlimit_resource): Removed.
  295. Just include <resourcebits.h> instead.
  296. * resource/Makefile (headers): Add resourcebits.h.
  297. * sysdeps/generic/resourcebits.h: New file.
  298. * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: New file.
  299. * stdio/test-popen.c (main): Use popen to read the file back, too.
  300. * sysdeps/unix/sysv/sysv4/i386/sysdep.h: New file.
  301. * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Fixed typo: movel->movl.
  302. Tue May 17 12:46:31 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
  303. * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
  304. __mach_task_self, __mach_host_self): New declarations of __
  305. versions of syscall traps.
  306. (swtch, __swtch, swtch_pri, __swtch_pri, thread_switch,
  307. __thread_switch, evc_wait, __evc_wait): New prototypes.
  308. * mach/Makefile (headers): Added mach/mach_traps.h so that the
  309. GNU version is installed instead of the Mach version.
  310. Mon May 16 15:34:12 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  311. * sysdeps/stub/sys/param.h: New file.
  312. * mach/lock-intern.h (__mutex_lock, __mutex_unlock): Real definitions.
  313. (__mutex_lock_solid, __mutex_unlock_solid, __mutex_init): Declare
  314. them.
  315. * mach/mutex-solid.c: New file.
  316. * mach/Makefile (lock): Add mutex-solid.
  317. (lock-headers): Remove mutex.h.
  318. * mach/mutex.h: File removed.
  319. * hurd/hurd/id.h: Include <cthreads.h> instead of <mutex.h>.
  320. * hurd/hurd/signal.h: Likewise.
  321. * hurd/hurdsig.c: Likewise.
  322. * hurd/hurdsock.c: Likewise.
  323. * hurd/dtable.c: Likewise.
  324. * hurd/__setauth.c: Likewise.
  325. * sysdeps/mach/hurd/Makefile (includes): Also append
  326. -I$(hurd-srcdir)/libthreads.
  327. * sysdeps/posix/system.c [WAITPID_CANNOT_BLOCK_SIGCHLD]: Don't
  328. block SIGCHLD.
  329. * sysdeps/unix/sysv/sco3.2.4/system.c
  330. (WAITPID_CANNOT_BLOCK_SIGCHLD): Define this macro.
  331. * sysdeps/posix/sigintr.c (siginterrupt) [! SA_RESTART]: Always
  332. fail with ENOSYS.
  333. * sysdeps/posix/__sigvec.c [! SA_ONSTACK]: Fail with ENOSYS if
  334. SV_ONSTACK is set in VEC->sv_flags.
  335. [SA_RESTART]: Protect SV_INTERRUPT check with this.
  336. * sysdeps/mach/sysdep.h (FATAL_PREPARE): New macro.
  337. * sysdeps/posix/libc_fatal.c: Include <sysdep.h>.
  338. [FATAL_PREPARE]: Invoke the macro.
  339. * assert/assert.c: Likewise.
  340. * sysdeps/generic/memmem.c: Start BEGIN at HAYSTACK, not partway
  341. into it. Loop until BEGIN passes the location in HAYSTACK with
  342. NEEDLE_LEN bytes remaining to the end.
  343. Compare first byte manually before calling memcmp.
  344. * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Fix typo.
  345. * posix/sys/types.h [__USE_BSD] (int32_t, int16_t, int8_t,
  346. u_int32_t, u_int16_t, u_int8_t): New typedefs.
  347. * assert/assert.c (__assert_program_name): New variable.
  348. (__assert_fail): Print that in the msg too.
  349. [HAVE_GNU_LD] (set_progname): New function to set it up at startup.
  350. Thu May 12 01:10:52 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  351. * hurd/__setauth.c: Do critical section locking.
  352. * hurd/hurdexec.c: Likewise.
  353. * hurd/hurdauth.c (_S_del_auth): Likewise.
  354. * hurd/getuids.c: Likewise.
  355. * hurd/dtable.c: Likewise.
  356. * hurd/alloc-fd.c: Likewise.
  357. * hurd/hurd/port.h: Likewise.
  358. * hurd/hurd/fd.h: Likewise.
  359. * hurd/setuids.c: Likewise.
  360. * hurd/intern-fd.c: Likewise.
  361. * hurd/hurdsock.c (_hurd_socket_server): Likewise.
  362. * sysdeps/mach/hurd/setrlimit.c: Likewise.
  363. * sysdeps/mach/hurd/setgroups.c: Likewise.
  364. * sysdeps/mach/hurd/seteuid.c: Likewise.
  365. * sysdeps/mach/hurd/setegid.c: Likewise.
  366. * sysdeps/mach/hurd/getrlimit.c: Likewise.
  367. * sysdeps/mach/hurd/__setuid.c: Likewise.
  368. * sysdeps/mach/hurd/__setreuid.c: Likewise.
  369. * sysdeps/mach/hurd/__setregid.c: Likewise.
  370. * sysdeps/mach/hurd/__setitmr.c: Likewise.
  371. * sysdeps/mach/hurd/__setgid.c: Likewise.
  372. * sysdeps/mach/hurd/__select.c: Likewise.
  373. * sysdeps/mach/hurd/__sbrk.c: Likewise.
  374. * sysdeps/mach/hurd/__getuid.c: Likewise.
  375. * sysdeps/mach/hurd/__getpgrp.c: Likewise.
  376. * sysdeps/mach/hurd/__getitmr.c: Likewise.
  377. * sysdeps/mach/hurd/__getgrps.c: Likewise.
  378. * sysdeps/mach/hurd/__getgid.c: Likewise.
  379. * sysdeps/mach/hurd/__geteuid.c: Likewise.
  380. * sysdeps/mach/hurd/__getegid.c: Likewise.
  381. * sysdeps/mach/hurd/__getdtsz.c: Likewise.
  382. * sysdeps/mach/hurd/__fork.c: Likewise.
  383. * sysdeps/mach/hurd/__fcntl.c: Likewise.
  384. * sysdeps/mach/hurd/__dup2.c: Likewise.
  385. * sysdeps/mach/hurd/__close.c: Likewise.
  386. * sysdeps/mach/hurd/__brk.c: Likewise.
  387. * sysdeps/mach/hurd/__access.c: Likewise.
  388. * sysdeps/mach/hurd/reboot.c (reboot): Use the host priv port to
  389. prove authority.
  390. * sysdeps/mach/hurd/__readlink.c: Don't request O_READ access.
  391. * sysdeps/mach/hurd/__ioctl.c: Don't expect result data unless
  392. return code is zero. Translate MIG_BAD_ID or EOPNOTSUPP to ENOTTY.
  393. * mach/devstream.c (output): Use device_write instead of
  394. device_write_inband.
  395. Wed May 11 18:49:31 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  396. * hurd/hurdinit.c (_hurd_init): Finsih loop of _hurd_port_init on
  397. _hurd_ports elts before doing _hurd_proc_init or
  398. __task_set_special_port.
  399. * hurd/hurd/signal.h (struct hurd_sigstate): Add new
  400. `critical_section' member. Remove #if 0'd out vfork crap.
  401. (_hurd_critical_section_lock, _hurd_critical_section_unlock): New
  402. functions.
  403. (HURD_CRITICAL_BEGIN, HURD_CRITICAL_END): New macros.
  404. * io/Makefile (headers): Add poll.h and sys/poll.h.
  405. (routines): Add poll.
  406. * sysdeps/unix/bsd/sun/sunos4/poll.S: New file.
  407. * sysdeps/unix/sysv/poll.S: New file.
  408. * sysdeps/unix/bsd/poll.c: New file.
  409. * sysdeps/stub/poll.c: New file.
  410. * io/poll.h, io/sys/poll.h: New files.
  411. * misc/bsd-compat.c (setjmp): New function.
  412. * sysdeps/unix/Makefile (sysdep_headers): Remove sys/param.h.
  413. * misc/Makefile (headers): Add it here instead.
  414. * io/test-utime.c (main): New file.
  415. * io/Makefile (tests): New variable.
  416. Wed May 11 13:44:33 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  417. * hurd/hurd/threadvar.h (__hurd_errno_location): Remove
  418. __volatile keyword. `volatile int errno' is not the same
  419. as `int errno'; user programs often mention the latter.
  420. * errno.h: Remove __volatile keyword; same reason.
  421. Tue May 10 17:21:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  422. * time/zdump.c: New code from ADO.
  423. * time/difftime.c (difftime): Use hairy rounding algorithm from
  424. eggert@twinsun.com when sizeof (time_t) >= sizeof (double).
  425. * Makerules (native-CFLAGS): Remove -I$(sysincludedir). RMS says
  426. people with bogons in /usr/local/include deserve to lose.
  427. * stdio/printf_fp.c (__printf_fp): If IS_NEG gets set, negate
  428. FPNUM before testing it for %g format choice.
  429. * sysdeps/unix/sysv/irix4/fcntlbits.h: New file.
  430. * sysdeps/unix/sysv/irix4/Dist: New file.
  431. * sysdeps/unix/sysv/irix4/readv.c: New file.
  432. * sysdeps/unix/sysv/irix4/writev.c: New file.
  433. * sysdeps/unix/sysv/irix4/__dup2.c: New file.
  434. * sunrpc/xdr_float.c (xdr_float): Change [mc68000 || sparc] to [!
  435. vax].
  436. * sysdeps/mips/setjmp.S: Remove spurious $.
  437. * sysdeps/generic/ftime.c: Include <errno.h>.
  438. * sysdeps/unix/mips/sysdep.S: Add .set noreorder.
  439. Tue May 10 16:27:13 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  440. * sysdeps/generic/termbits.h (NCCS): Doc fix.
  441. Mon May 9 18:07:44 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  442. * sysdeps/mach/hurd/uname.c (uname): System uname information
  443. has moved from init to proc.
  444. * sysdeps/mach/usleep.c (usleep): Return correct value. Destroy
  445. RECV when we're done with it.
  446. Thu May 5 17:03:56 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  447. * sysdeps/mach/hurd/__lstat.c: Use O_NOLINK instead of O_NOTRANS.
  448. Thu May 5 04:20:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  449. * mach/spin-lock.h (spin_lock_init): Define.
  450. * sysdeps/mach/hurd/sigsuspend.c: New local variable NEWMASK, set
  451. it to *SET if SET is not null, before taking SS->lock; don't
  452. dereference SET while holding the lock. Restore SS->blocked to
  453. OLDMASK before unlocking and returning.
  454. * hurd/hurdsig.c (hurdsig_fork_child): Return zero.
  455. * sysdeps/mach/hurd/__fork.c (_hurd_fork_parent_hook,
  456. _hurd_fork_prepare_hook)): Define variables (symbol sets).
  457. (__fork): Run _hurd_fork_prepare_hook and _hurd_fork_parent_hook.
  458. * sysdeps/mach/hurd/sigsuspend.c: Don't test SS->pending; instead
  459. wait until SS->suspended is cleared.
  460. * hurd/hurdsig.c (_hurd_internal_post_signal): Clear SS->suspended
  461. before signalling on SS->arrived.
  462. * mach/Makefile (headers): Added mach/default_pager_helper.defs.
  463. * sysdeps/sparc/Dist: Added alloca.S.
  464. Wed May 4 14:02:29 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
  465. * hurd/hurdexec.c (_hurd_exec): Unlock _hurd_dtable_lock when
  466. all through.
  467. * sysdeps/mach/hurd/__setitmr.c: Changed _hurd_itimer_lock
  468. to be a spin_lock; changed mutex_lock and mutex_unlock
  469. accordingly throughout.
  470. * sysdeps/mach/hurd/__getitmr.c: Corresponding changes from
  471. mutex calls to spin lock calls here too.
  472. * sysdeps/mach/hurd/__setitmr.c (setitimer_locked): Fixed syntax
  473. of declaration of PREEMPT.
  474. (setitimer_locked): Declare variables ERR and ELAPSED.
  475. (setitimer_locked): Fix some references to REMAINING that
  476. were using it as an itimerval instead of a timeval.
  477. (setitimer_locked): Deleted unused label STILLBORN.
  478. Wed May 4 00:17:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  479. * sysdeps/stub/__getitmr.c: Fix arg name __WHICH to WHICH.
  480. * sysdeps/unix/bsd/alarm.c: Round tv_usec with arithmetic rather
  481. than a test.
  482. * hurd/Makefile (user-interfaces): Add hurd/msg_request.
  483. * sysdeps/stub/__setitmr.c: Fix arg name __WHICH to WHICH.
  484. * Makeconfig (cross-compiling): Define if $(HOST_CC) and $(CC) differ.
  485. * time/Makefile (install-others): Omit defn ifdef cross-compiling.
  486. Tue May 3 23:12:48 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  487. * mach/Makefile (lock-headers): Add spin-lock.h.
  488. * misc/Makefile (routines): Add madvise.
  489. * malloc/Makefile (non-lib.a): Define.
  490. * misc/Makefile (non-lib.a): Define.
  491. * Makerules (install-lib.a): Filter out $(non-lib.a).
  492. (install-lib-non.a): Append $(non-lib.a).
  493. * mach/Makefile (mach-headers): Rename sys/version.h to
  494. mach/version.h.
  495. * hurd/Makefile (headers): Added hurd/threadvar.h.
  496. * Version 1.07.5.
  497. * hurd/port2fd.c (_hurd_port2fd): Use logic copied from
  498. _hurd_port_locked_set to install PORT in D->port, but leave it locked.
  499. * sunrpc/Makefile (generated): Don't add $(objpfx).
  500. * sysdeps/stub/machine-lock.h: New file.
  501. * sysdeps/stub/machine-sp.h: New file.
  502. Tue May 3 22:31:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
  503. * sysdeps/mach/usleep.c (usleep): Specify MACH_RCV_MSG so that
  504. mach_msg actually waits.
  505. Tue May 3 19:24:48 1994 Karl Heuer (kwzh@hal.gnu.ai.mit.edu)
  506. * malloc/malloc.h (enum mcheck_status): Delete trailing
  507. comma in enum list; some compilers don't like it.
  508. Tue May 3 15:18:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
  509. * sysdeps/mach/hurd/__symlink.c (__symlink): Pass port type arg to
  510. __file_set_translator.
  511. Mon May 2 17:56:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  512. * hurd/Makefile (generated): Add $(inlines) .c files.
  513. * sysdeps/mach/hurd/__mknod.c: Pass port type arg to
  514. __file_set_translator.
  515. Sun May 1 16:03:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  516. * mach/mig_syms.c: Add de-__ing aliases for mig_init,
  517. mig_get_reply_port, and mig_dealloc_reply_port.
  518. * sysdeps/mach/hurd/errnos.awk: Handle copying errors from
  519. mach/mig_errors.h and device/device_types.h. Omit E*_SUCCESS.
  520. Omit MACH_MSG_MASK and other special bit macros.
  521. * sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Added
  522. sc_reply_port member.
  523. * hurd/hurdsig.c (fetch_reply_port): New function.
  524. (_hurd_internal_post_signal): When setting up to run handler, set
  525. SCP->sc_reply_port to the receiving thread's value for
  526. _HURD_THREADVAR_MIG_REPLY.
  527. * sysdeps/mach/hurd/i386/__sigret.c: Destroy the MiG reply port
  528. used by the signal handler, and restore from SCP->sc_reply_port.
  529. * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): New
  530. function; guts from __hurd_threadvar_location.
  531. (__hurd_threadvar_location): Call that.
  532. * hurd/hurdsig.c (check_pending): New function, broken out of:
  533. (_hurd_internal_post_signal): Call that for pending signal check.
  534. If SIGNO is zero, call check_pending on each thread's sigstate.
  535. * sysdeps/mach/hurd/start.c (start1): Use calloc to get
  536. zero-filled space for __hurd_threadvar_stack_offset when
  537. __hurd_threadvar_stack_mask is zero.
  538. Thu Apr 28 21:29:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  539. * Merged gmp-1.99.3+ mpn code from tege for printf_fp.
  540. * stdio/printf_fp.c: Include "longlong.h"; gmp-impl.h no longer does.
  541. * Makerules (+depfiles): Filter $(extra-objs) to get only .o files.
  542. Wed Apr 27 00:20:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  543. * Makerules (depend-$(subdir)): Put output in tmp file and use mv -f.
  544. Always use $(+depfiles), since sources is no longer exported.
  545. Tue Apr 26 20:05:55 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  546. * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Don't include <termios.h> to
  547. avoid <sys/ioctl.h> conflicts.
  548. * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Undefine ECHO, MDMBUF,
  549. TOSTOP, FLUSHO, PENDIN, and NOFLSH after including <termios.h> and
  550. before including <sys/ioctl.h>.
  551. * sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise.
  552. Tue Apr 26 14:42:43 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  553. * sysdeps/mach/sleep.c (sleep): Specify MACH_RCV_MSG or else
  554. mach_msg won't do anything but return immediately.
  555. (sleep): Compute return value correctly.
  556. Tue Apr 26 04:49:56 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  557. * sysdeps/i386/setjmp.c: Put global register decls first thing.
  558. * sysdeps/i386/__longjmp.c: Likewise.
  559. Fri Apr 22 18:10:36 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  560. * sysdeps/unix/sysv/irix4/__wait3.S: New file.
  561. * sysdeps/unix/sysv/irix4/time.S: New file.
  562. * sysdeps/unix/sysv/irix4/__waitpid.c: New file.
  563. Thu Apr 21 16:54:11 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  564. * malloc/malloc.c (initialize, morecore): When allocating the
  565. _heapinfo block itself, account for it in the statistics.
  566. Tue Apr 19 20:17:06 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  567. * sysdeps/unix/sysv/sco3.2.4/pipestream.c: New file.
  568. * malloc/malloc.c (morecore): Only zero the new part of NEWINFO,
  569. not the part we will copy _heapinfo into.
  570. * sysdeps/unix/bsd/signum.h (SIGLOST): Define.
  571. (_NSIG): Increase to 33.
  572. Mon Apr 18 16:56:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  573. * configure.in (config.status): Use $configure_args instead of
  574. $ac_configure_args.
  575. (after AC_PREPARE): Call AC_LANG_C.
  576. * time/Makefile (routines): Add sys/timeb.h.
  577. (routines): Add ftime.
  578. * time/sys/timeb.h: New file.
  579. * sysdeps/unix/bsd/ftime.c: New file.
  580. * sysdeps/generic/ftime.c: New file.
  581. * sysdeps/posix/getenv.c (getenv): Return NULL if __environ is null.
  582. * malloc/malloc.h [_MALLOC_INTERNAL] [HAVE_UNISTD_H]: Include
  583. unistd.h.
  584. * malloc/Makefile (gmalloc-routines): Put valloc first.
  585. Wed Apr 13 14:03:02 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  586. * sysdeps/mach/hurd/__symlink.c (__symlink): Set the target of the
  587. link to FROM, not TO.
  588. * sysdeps/mach/hurd/__readlink.c (__readlink): Copy just the
  589. target into the user's buffer, not the entire translator spec.
  590. Tue Apr 12 00:13:19 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
  591. * hurd/fd-write.c (_hurd_fd_write): Set noctty for now rather
  592. than depending on what happens to be on the stack.
  593. * sysdeps/mach/hurd/readdir.c (readdir): Notice when hitting
  594. end-of-file and return NULL.
  595. Mon Apr 11 17:36:59 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
  596. * sysdeps/mach/hurd/start.c (start1): Bother to set __environ.
  597. * sysdeps/mach/hurd/__ioctl.c (__ioctl): Comment out use of
  598. HURD_EINTR_RPC until signals work.
  599. Mon Apr 11 14:16:40 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  600. * sysdeps/mach/hurd/__ioctl.c (__ioctl): Call __mig_get_reply_port
  601. rather than __mig_reply_port (which doesn't exist).
  602. * sysdeps/mach/hurd/__mknod.c: Added temporary declarations
  603. of major and minor.
  604. * (This change occurred on April 4, 1994) mach/setup-thread.c
  605. (__mach_setup_thread): The March 31 change had an error; the stack
  606. needs to be allocated with ANYWHERE cleared.
  607. * (This change occurred on April 8, 1994) hurd/hurdexec.c
  608. (_hurd_exec): The arguments to exec_exec had the length and
  609. type parameters transposed. In addition, fetch the correct
  610. procserver port for the new task.
  611. * (This change occurred on April 8, 1994)
  612. sysdeps/mach/hurd/__wait.c (__wait4): Deal properly with a null
  613. USAGE argument.
  614. * (This change occurred on April 8, 1994)
  615. sysdeps/mach/hurd/_exit.c (_exit): Changed commented-out call to
  616. __proc_exit into a correct call to __proc_mark_exit.
  617. Fri Apr 8 14:58:24 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
  618. * string/strsignal.c (strsignal): Store of NUL into unknown_signal
  619. was off by one.
  620. Tue Apr 5 21:26:25 1994 Brendan Kehoe (brendan@zen.org)
  621. * sysdeps/unix/sysv/sysv4/__sigact.c (__sigaction): Declare member
  622. `oact' in lower case, to match its use in the rest of the function.
  623. Tue Apr 5 03:07:04 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  624. * Makerules (install-lib.a rule): Run ranlib on the target.
  625. * Makerules (library member rule): Tighten up pattern rule to
  626. match only libc.a, not other libraries.
  627. Mon Apr 4 21:49:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  628. * set-hooks.h: New file.
  629. * Makefile (distribute): Add it.
  630. * set-init.c: Include it and use its macro DEFINE_HOOK_RUNNER.
  631. * Makerules (sysd-Makefile): Put `sysd-Makefile-done=t' in output.
  632. (sysd-rules): Don't include it unless sysd-Makefile-done is defined.
  633. Mon Apr 4 18:33:54 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  634. * mach/setup-thread.c (__mach_setup_thread): Oops; the vm_allocate
  635. call should have ANYWHERE cleared so that the change of the 31st
  636. has any effect at all.
  637. Thu Mar 31 13:46:13 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
  638. * mach/setup-thread.c (__mach_setup_thread): Create a red zone
  639. beneath the stack; also, work around a bug in cthreads by
  640. forcing the stack into high memory. FIXME--this routine
  641. depends on the direction of stack growth; that should be fixed.
  642. Mon Mar 28 12:55:51 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu)
  643. * Rules (make-dummy-lib): Use `$(AR)' instead of literal `ar'.
  644. * configure.in (arg parsing): Don't take --os-release or --os-version.
  645. (switches): Variable removed; don't write it into config.status.
  646. (config.status): Write release and version values directly.
  647. * sysdeps/unix/common/configure.in: Use changequote around if expr
  648. to avoid [] elision.
  649. Sat Mar 26 18:36:27 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu)
  650. * malloc/mcheck.c [! _MALLOC_INTERNAL]: #include <stdio.h>
  651. Fri Mar 25 02:17:55 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu)
  652. * malloc/mcheck.c (mprobe): New function.
  653. (abortfunc): Take enum mcheck_status arg.
  654. (checkhdr): Return an enum mcheck_status, and pass it to abortfunc.
  655. (mabort): New function.
  656. (mcheck): Use mabort as default abortfunc.
  657. * malloc/malloc.h (enum mcheck_status): New type.
  658. (mprobe): Declare new function.
  659. (mcheck): ABORTFUNC takes an `enum mcheck_status' arg.
  660. * posix/unistd.h [__USE_GNU] (TEMP_FAILURE_RETRY): New macro.
  661. * stdio/stdio.h [__USE_GNU && !_LIBC] (cookie_io_functions_t):
  662. Define instead of __io_functions (and make that a typedef for
  663. this); omit __ from member names.
  664. Thu Mar 24 14:59:23 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu)
  665. * sysdeps/unix/sysv/sco3.2.4/sigaction.h: New file.
  666. * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Put address of
  667. __sigreturn in %ecx before doing syscall trap.
  668. * sysdeps/stub/setegid.c: Fix arg type to __gid_t (was int).
  669. Wed Mar 23 17:33:09 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu)
  670. * Makefile (headers): Remove $(stdarg.h).
  671. * Makeconfig (stdarg.h): Variable removed.
  672. * configure.in: Remove check for __gnuc_va_list in stdarg.h.
  673. It is not safe to replace the compiler's stdarg.h with our own.
  674. Tue Mar 22 12:46:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  675. * Rules (dist): Rule removed.
  676. * Makefile (dist): Likewise.
  677. * Makerules (dist, distinfo): New rules.
  678. (TAGS): Depend on distfile, pass -f distfile to submake.
  679. * math/Makefile: Remove if-ed out old bsdmath copying rules.
  680. * Makerules (sources, headers, sysdep_routines): Don't export these.
  681. * Rules (others, tests): Likewise.
  682. * io/lockf.c: Include fcntl.h and errno.h.
  683. Mon Mar 21 20:27:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  684. * sysdeps/unix/bsd/sony/newsos4/fchdir.S: New file.
  685. * sysdeps/unix/bsd/sony/newsos4/{__wait4.c,__wait3.c,__wait.c,
  686. sys_wait4.S,Makefile,Dist}: New files.
  687. * sysdeps/unix/Makefile (syscall.h): De-SYS_ify `kerncall_basenum'.
  688. * sysdeps/unix/bsd/m68k/sysdep.S [! __motorola__]: Rename label 0
  689. to `store'; a user reports gas 1.38 bombs on numbered labels.
  690. * sysdeps/posix/Makefile (mk-stdiolim): Use $(HOST_CC).
  691. * Rules (distribute, dont_distribute, generated): Don't export them.
  692. (dist): Pass those vars down to sub-make on cmd line.
  693. * Makefile (distribute, generated): Don't export them.
  694. (dist): Pass distribute and generated values to sub-make on cmd line.
  695. * Makerules (install-lib-nosubdir): Insert $(libprefix) appropriately.
  696. Fri Mar 18 01:02:52 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  697. * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h (DO_CALL): Use a6 in
  698. place of fp. A user reports gas 1.38 doesn't grok fp.
  699. Tue Mar 8 18:35:02 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  700. * Makerules (common-clean): Prepend $(objpfx) to $(generated).
  701. * Makefile (parent-clean): Prepend $(common-objpfx) to
  702. $(common-generated).
  703. * Makefile (generated): Don't prepend $(objpfx).
  704. * Rules (generated): Likewise.
  705. * sysdeps/unix/common/Makefile (generated): Likewise.
  706. * sysdeps/unix/sysv/Makefile (generated): Likewise.
  707. * sysdeps/unix/Makefile (common-generated): Don't prepend
  708. $(common-objpfx).
  709. * sysdeps/posix/Makefile (common-generated): Likewise.
  710. * sysdeps/generic/Makefile (common-generated): Likewise.
  711. (generated): Don't prepend $(objpfx).
  712. * sysdeps/generic/Makefile (common-generated): Set this instead of
  713. generated for bytesex.h and det_endian.
  714. * sysdeps/stub/fexecve.c: New file.
  715. * posix/Makefile (routines): Add fexecve.
  716. * posix/unistd.h [__USE_GNU]: Declare fexecve.
  717. * sysdeps/unix/common/configure.in: Protect siglist and ctype
  718. checks with if [ ! "$inhibit_glue" ].
  719. * sysdeps/generic/configure.in: Likewise for psignal check.
  720. * sysdeps/unix/common/Makefile: Protect body with ifndef inhibit-glue.
  721. Mon Mar 7 17:46:46 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  722. * sysdeps/unix/bsd/osf1/alpha/__sigblock.S: New file from brendan.
  723. Fri Mar 4 01:56:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  724. * Makerules (native-compile, common-objdir-compile): Use
  725. $(HOST_CC) in place of $(CC).
  726. * malloc/cfree.c: Move #undef cfree inside #ifdef _LIBC.
  727. * misc/sys/ioctl.h (struct ttysize): If TIOCGSIZE != TIOCGWINSZ,
  728. use two int elts instead of four shorts.
  729. Thu Mar 3 17:35:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  730. * malloc/realloc.c (realloc): When shrinking a block by splitting
  731. and then freeing one, bump the _chunks_used counter.
  732. * sysdeps/unix/sysv/sysv4/i386/__mknod.S: New file.
  733. Tue Mar 1 11:42:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  734. * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Get first argument from
  735. stack at 8(%esp), not 4(%esp).
  736. * sysdeps/unix/sysv/isc2.2/rename.S: Get unix/common, not unix/bsd.
  737. Thu Feb 24 14:40:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  738. * io/lockf.c: New file.
  739. * io/Makefile (routines): Add lockf.
  740. * io/fcntl.h [__USE_MISC] (F_ULOCK, F_LOCK, F_TLOCK, F_TEST): New
  741. macros.
  742. [__USE_MISC] (lockf): Declare it.
  743. * posix/unistd.h: Copy those new macros and declaration.
  744. * time/backward, time/etcetera, time/zic.c: New code and data from ADO.
  745. * Makeconfig (posixrules): Default to America/New_York.
  746. * sysdeps/unix/mips/sysdep.S: Store -1 in v0 in the delay slot after
  747. the return, rather than before (leaving the delay slot unfilled and
  748. without a nop!).
  749. * sysdeps/unix/sysv/irix4: New directory; mips-sgi-irix4 port
  750. courtesy Tom Quinn.
  751. * sysdeps/unix/sysv/sysv4/direct.h: Moved to unix/common; it is right
  752. for irix4 as well as sysv4.
  753. * sysdeps/unix/bsd/ultrix4/__wait.S: Moved to unix/mips.
  754. (noerror): Store register v1 in location pointed to by first arg (if
  755. not NULL).
  756. * sysdeps/unix/bsd/ultrix4/__sigret.S: Moved to unix/mips.
  757. * sysdeps/unix/bsd/bsd4.4/{mmap,munmap,mprotect,msync,madvise}.S:
  758. Moved to sysdeps/unix/mman (new directory).
  759. * sysdeps/unix/bsd/bsd4.4/Implies: New file; imply unix/mman.
  760. * sysdeps/unix/bsd/sunos4/Implies: Likewise.
  761. * sysdeps/unix/bsd/ultrix4/Implies: Likewise.
  762. * sysdeps/unix/bsd/osf1/Implies: Likewise.
  763. * sysdeps/unix/bsd/sun/sunos4/munmap.S,
  764. sysdeps/unix/bsd/sun/sunos4/mprotect.S,
  765. sysdeps/unix/bsd/sun/sunos4/madvise.S,
  766. sysdeps/unix/bsd/ultrix4/mmap.S,
  767. sysdeps/unix/bsd/ultrix4/munmap.S,
  768. sysdeps/unix/bsd/ultrix4/mprotect.S,
  769. sysdeps/unix/bsd/osf1/mmap.S,
  770. sysdeps/unix/bsd/osf1/munmap.S,
  771. sysdeps/unix/bsd/osf1/mprotect.S: Files removed.
  772. * sysdeps/unix/sysv/sysv4/fcntlbits.h: Moved to sysdeps/unix/common.
  773. * stdio/printf_fp.c: Add many assertions to make sure no mpn size
  774. variable is ever zero.
  775. * Makerules (native-CFLAGS): Add -I$(sysincludedir).
  776. * Makerules (depend-$(subdir)) [omit-deps]: Use $(+depfiles) value
  777. instead of shell hackery.
  778. Wed Feb 23 00:09:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  779. * sysdeps/sparc/alloca.S [! NO_UNDERSCORES]: Call it ___builtin_alloca.
  780. Tue Feb 22 18:47:10 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  781. * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Use __off_t in mmap
  782. prototype.
  783. * time/setitmr.c: Swap args OLD and NEW.
  784. * time/sys/time.h (setitimer): Likewise.
  785. * sysdeps/stub/__setitmr.c: Likewise.
  786. Mon Feb 21 20:47:55 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  787. * sysdeps/sparc/Makefile [gnulib] (routines): Add alloca.
  788. * sysdeps/sparc/alloca.S: New file; support for SunOS libc's
  789. `__builtin_alloca' function (never needed with GCC).
  790. * sysdeps/unix/sysv/sysv4/__sigact.c (trampoline): Cast handler to
  791. three-arg type.
  792. Sun Feb 20 00:46:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  793. * sysdeps/unix/bsd/sun/sunos4/mmap.c: Add missing semicolon.
  794. * sysdeps/unix/sparc/start.c [! NO_SHLIB]: Include <sys/types.h>
  795. before <sys/mman.h>.
  796. * sysdeps/unix/bsd/ultrix4/mips/{sysdep.h,sysdep.S,__pipe.S,
  797. __fork.S,__brk.S}: Moved to sysdeps/unix/mips (new directory).
  798. * sysdeps/unix/bsd/ultrix4/mips/__sigret.S: Use SYS_sigreturn
  799. instead of literal 103; #define to 103 if not already defined.
  800. Sat Feb 19 17:39:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  801. * sysdeps/unix/sysv/sysv4/i386/Dist: New file; list sys-sig.S.
  802. Fri Feb 18 18:07:34 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  803. * sysdeps/generic/configure.in: New file; check for psignal.
  804. * sysdeps/unix/common/glue-ctype.c: Check for table named _ctype,
  805. before checking for _ctype_.
  806. * sysdeps/unix/common/configure.in: Check for _ctype.
  807. * sysdeps/unix/Makefile (syscall.h): Look for sys.s before syscall.h.
  808. * sysdeps/unix/configure (unix_syscall_h): Likewise.
  809. * configure.in (os = irix4*): Set base_os=unix/sysv.
  810. * sunrpc/rpc/auth.h (u_int32): Always define, no #ifdefs.
  811. * sunrpc/xdr_float.c: Change [mc68000 || sparc] to [! vax].
  812. Thu Feb 17 18:42:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  813. * Version 1.07.4.
  814. * sysdeps/unix/bsd/sun/sunos4/Dist: Add sys_mmap.S.
  815. * Makerules (sysdep_dir): Remove defn.
  816. * Makeconfig (sysdep_dir): Define it here instead.
  817. Wed Feb 16 16:54:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  818. * sysdeps/unix/sysv/sysv4/__sigact.c: New file.
  819. * sysdeps/unix/sysv/sysv4/i386/Makefile: New file.
  820. * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: New file.
  821. * time/sys/time.h (timerisset, timercmp, timerclear): New macros.
  822. * misc/Makefile (headers): Add sys/mman.h.
  823. (routines): Add mmap, munmap, mprotect, msync.
  824. * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: New file.
  825. * sysdeps/unix/bsd/sun/sunos4/mmap.c: New file.
  826. * sysdeps/unix/bsd/sun/sunos4/Makefile [$(subdir) == misc]
  827. (sysdep_routines): Add sys_mmap.
  828. * sysdeps/unix/bsd/bsd4.4/mprotect.S: New file.
  829. * sysdeps/unix/bsd/bsd4.4/munmap.S: New file.
  830. * sysdeps/unix/bsd/bsd4.4/msync.S: New file.
  831. * sysdeps/unix/bsd/bsd4.4/mmap.S: New file.
  832. * sysdeps/unix/bsd/bsd4.4/madvise.S: New file.
  833. * sysdeps/unix/bsd/sun/sunos4/mprotect.S: New file.
  834. * sysdeps/unix/bsd/sun/sunos4/munmap.S: New file.
  835. * sysdeps/unix/bsd/sun/sunos4/msync.S: New file.
  836. * sysdeps/unix/bsd/sun/sunos4/madvise.S: New file.
  837. * sysdeps/unix/bsd/ultrix4/sys/mman.h: New file.
  838. * sysdeps/unix/bsd/ultrix4/mmap.S: New file.
  839. * sysdeps/unix/bsd/ultrix4/munmap.S: New file.
  840. * sysdeps/unix/bsd/ultrix4/mprotect.S: New file.
  841. * sysdeps/stub/mprotect.c: New file.
  842. * sysdeps/stub/munmap.c: New file.
  843. * sysdeps/stub/msync.c: New file.
  844. * sysdeps/stub/mmap.c: New file.
  845. * sysdeps/stub/madvise.c: New file.
  846. * sysdeps/generic/sys/mman.h: New file.
  847. * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: New file.
  848. * sysdeps/unix/bsd/osf1/msync.S: New file.
  849. * sysdeps/unix/bsd/osf1/mmap.S: New file.
  850. * sysdeps/unix/bsd/osf1/munmap.S: New file.
  851. * sysdeps/unix/bsd/osf1/mprotect.S: New file.
  852. * sysdeps/unix/bsd/osf1/sys/mman.h: New file.
  853. Tue Feb 15 16:47:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  854. * posix/unistd.h: Declare truncate, ftruncate.
  855. * misc/Makefile (headers): Add syslog.h.
  856. * misc/syslog.h: New file; just includes <sys/syslog.h>.
  857. * posix/unistd.h: Change duplicate seteuid decl to setegid.
  858. * io/Makefile (headers): Add sys/fcntl.h.
  859. * io/sys/fcntl.h: New file; just includes <fcntl.h>.
  860. Mon Feb 14 10:36:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  861. * Makerules (library pattern rule): Depend on
  862. $(objpfx)stamp-$(subdir) and have empty commands.
  863. ($(objpfx)stamp-$(subdir)): Move dep on $(objects) and ar cmds here.
  864. (common-mostlyclean): Remove $(objpfx)stamp-$(subdir).
  865. * Makerules (+depfiles): Filter out deps for modules in $(omit-deps).
  866. * sunrpc/Makefile (omit-deps): Define new variable.
  867. * Makerules ($(libc.a)(__.SYMDEF)): Depend on $(+libobjs), not
  868. lib-noranlib.
  869. * Makefile ($(libc.a)(__.SYMDEF)): Depend on subdir_lib.
  870. * Makerules (+depfiles): Include deps for $(extra-objs).
  871. * sunrpc/rpcsvc/klm_prot.x: Move program definition to end.
  872. * sunrpc/Makefile (lib): Depend on $(objpfx)librpcsvc.a.
  873. * time/zic.c: Set CP to NAME before dereferencing.
  874. * sunrpc/Makefile ($(objpfx)x%.c): Target fixed from $(objpfx)x%.c.
  875. ($(objpfx)rpcsvc/%.h): Target renamed from $(includedir)rpcsvc/%.h.
  876. Make each x%.o file depend on the corresponding rpcsvc/%.h file.
  877. (headers): Add rpcsvc/%.h.
  878. (install-others): Remove generated rpcsvc headers.
  879. (generated): Define to include generated rpcsvc headers and sources.
  880. * sysdeps/m68k/fpu/acos.c: Add __CONSTVALUE to defn.
  881. * sysdeps/m68k/fpu/ldexp.c: Likewise.
  882. * sysdeps/m68k/fpu/pow.c: Likewise.
  883. * sysdeps/m68k/fpu/fmod.c: Likewise.
  884. * sysdeps/m68k/fpu/atan2.c: Likewise.
  885. * sysdeps/m68k/fpu/__drem.c: Likewise.
  886. * sysdeps/m68k/fpu/__isinf.c: Likewise.
  887. * sysdeps/generic/hypot.c: Likewise.
  888. * sysdeps/m68k/fpu/__logb.c: Likewise.
  889. * sysdeps/unix/bsd/m68k/sysdep.S: Swap operands in cmpl.
  890. Sun Feb 13 19:49:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  891. * sysdeps/m68k/Makefile (compile-command.S): Remove definition
  892. that did kludgey # hackery.
  893. * sysdeps/unix/bsd/hp/m68k/sysdep.h (PSEUDO): Add missing close paren.
  894. (POUND): Define (no arg) to just `#' (a single pound sign).
  895. (PSEUDO, DO_CALL): Use `POUND foo' in place of `POUND(foo)'.
  896. * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
  897. * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
  898. * sysdeps/unix/bsd/sun/m68k/__brk.S: Use #0, not POUND(0).
  899. * sysdeps/unix/bsd/hp/m68k/__brk.S: Use #__end instead of POUND(__end).
  900. Fri Feb 11 00:29:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  901. * configure.in (Makefile): Set objdir instead of ARCH in submake cmd.
  902. * time/mktime.c: Define __P if undefined.
  903. * assert/assert.h (__ASSERT_FUNCTION): Check __GNUC_MINOR__<6 if
  904. defined(__cplusplus).
  905. Thu Feb 10 00:52:31 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  906. * sysdeps/unix/sysv/__sigact.c: Use __sigismember and
  907. __sigemptyset on sa_mask instead of assuming it's an int.
  908. * sysdeps/unix/sysv/sysv4/sigset.h (__sigismember): Declare arg
  909. SET to be a pointer to const.
  910. * sysdeps/posix/__sigpause.c: Convert MASK to a sigset_t with a loop.
  911. * sysdeps/posix/__sigblock.c: When sigset_t==mask, take address of
  912. SET or OSET, cast to int *, and dereference.
  913. * sysdeps/posix/__sigstmsk.c: Likewise.
  914. * sysdeps/posix/__sigvec.c: Likewise.
  915. Add the -lrpcsvc library of XDR routines for standard SunRPC protocols.
  916. * sunrpc/Makefile (install-lib): Define to include librpcsvc.a.
  917. (rpcsvc-objs): New variable.
  918. (extra-objs): Add $(rpcsvc-objs).
  919. ($(objpfxlibrpcsvc.a): New target.
  920. ($(objpfx)x%.o): New rule to rpcgen XDR routines.
  921. Wed Feb 9 11:59:33 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  922. * time/zic.c (mkdirs): Reapply fix to avoid writing into passed ptr.
  923. * sunrpc/Makefile (distribute): Add etc.rpc.
  924. ($(includedir)/bootparam_prot.h): Change target to
  925. $(includedir)/rpcsvc/bootparam_prot.h and dep to
  926. $(includedir)/rpcsvc/bootparam.h.
  927. (install-others): Change reference.
  928. * sunrpc/rpc_util.h: Comment out bogus decl of sprintf.
  929. * Makerules ($(libc.a)(__.SYMDEF)): Depend on lib-noranlib instead
  930. of $(+libobjs); this way makes the parent do subdir_lib.
  931. * sysdeps/unix/sysv/sysv4/sigset.h: Protect types with #ifndef
  932. _SIGSET_H_types. Protect rest with #if !defined (_SIGSET_H_fns)
  933. && defined (_SIGNAL_H).
  934. Tue Feb 8 19:00:42 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  935. * Version 1.07.3.
  936. * sysdeps/unix/sysv/sysv4/sigset.h: Fix typos (omitted __s).
  937. Mon Feb 7 14:31:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  938. * Makerules ($(libc.a)): Depend on $(libc.a)(__.SYMDEF); no commands.
  939. ($(+libobjs)): Remove static pattern rule.
  940. (ar-it): Target removed.
  941. Replace with pattern rule to catch %(*.o) for all $(objects).
  942. ($(libc.a)(__.SYMDEF)): New target.
  943. (lib-noranlib, $(libdir)/lib$(libprefix)c.a): Don't depend on ar-it.
  944. * sysdeps/unix/sparc/sysdep.h (PSEUDO): Add nop after jmp; the
  945. next insn is most likely a retl, which causes interesting behavior.
  946. * stdio/vfprintf.c: Pass WORKEND+1 to _itoa, not WORKEND.
  947. Subtract one from result of _itoa when setting W.
  948. * time/{africa,asia,australasia,backward,europe,leapseconds,
  949. northamerica,southamerica,zic.c}: New code and data from ADO.
  950. Sun Feb 6 13:55:27 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  951. * sunrpc: New directory; code from Sun's RPCSRC-4.0.
  952. * sysdeps/unix/inet/Subdirs: Add sunrpc.
  953. * inet/netdb.h: #include <rpc/netdb.h> at end.
  954. * Make-dist ($(tardir).tar): Use -v when extracting from dist.tar
  955. and pipe output to doschk.
  956. * Makeconfig (etcdir): New variable.
  957. (localtime-file): Use that in default value.
  958. * Makerules (depend-$(subdir)): Include dep files for all .o files
  959. listed in $(extra-objs).
  960. * posix/sys/types.h (NFDBITS): #define to __NFDBITS.
  961. * inet/netinet/in.h (INADDR_LOOPBACK): Don't define if already
  962. defined; avoids changing source which defines it before including this.
  963. (struct sockaddr_in): Rename `__pad' member to `sin_zero'; some
  964. code wants to bzero the area just for paranoia.
  965. Make cleaning targets only remove common (not specific to one
  966. subdir) generated files if run from the parent directory.
  967. * Makefile (parent-clean): Remove $(common-generated) also.
  968. * sysdeps/unix/Makefile (local_lim.h, sys/param.h, errnos.h,
  969. ioctls.h, syscall.h): Append to $(common-generated), not $(generated).
  970. * sysdeps/posix/Makefile (stdio_lim.h): Likewise.
  971. * signal/signal.h: Declare psignal here.
  972. * stdio/stdio.h: Not here.
  973. * stdio/stdio.h [__OPTIMIZE__] (vprintf, vfscanf, vscanf,
  974. vsscanf): Define as extern inline functions instead of macros.
  975. * configure.in (names): Check existence of implied dirs and warn
  976. for absentees.
  977. Sat Feb 5 13:38:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  978. * Version 1.07.2.
  979. * resource/sys/resource.h (RUSAGE_SELF, RUSAGE_CHILDREN): #define
  980. to self for things that test #ifdef.
  981. * sysdeps/unix/common/Dist: Remove bsd_getgrp.S.
  982. * sysdeps/unix/Makefile: Don't include param.h.dep ifdef no_deps.
  983. * Makerules (vpath %.h): Use $(common-objpfx) in place of $(objpfx).
  984. * sysdeps/unix/bsd/i386/__vfork.S: Decrement R1 and AND it with R0
  985. to avoid the test and branch.
  986. * sysdeps/unix/bsd/getprio.S, sysdeps/unix/bsd/setprio.S,
  987. sysdeps/unix/bsd/__setreuid.S, sysdeps/unix/bsd/__setregid.S: Moved to
  988. sysdeps/unix/common.
  989. * sysdeps/unix/reboot.S: New file.
  990. * sysdeps/unix/sysv/sysv4/solaris2/signum.h: New file.
  991. * sysdeps/unix/sysv/sysv4/signum.h: New file.
  992. * sysdeps/unix/sysv/sysv4/sigset.h: New file.
  993. * sysdeps/unix/sysv/sysv4/sigaction.h (struct sigaction): Swap
  994. positions of sa_flags and sa_mask members (sa_flags is first now).
  995. (SA_NOCLDWAIT): Renamed from SA_NOSCLDWAIT.
  996. * sysdeps/unix/bsd/init-posix.c (_posix_start_time): Initialize it.
  997. * Makerules (open-check-inhibit-asm): Use : for empty commands in case.
  998. * time/leapseconds: New version from ADO, adds 1994 leap second.
  999. Thu Feb 3 02:15:30 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1000. * sysdeps/unix/bsd/ulimit.c: Define ulimit instead of __ulimit.
  1001. Wed Feb 2 16:56:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1002. * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: Moved to unix/sysv/sysv4.
  1003. Replaced with #include of that file.
  1004. * sysdeps/unix/sysv/sysv4/solaris2/sigaltstack.S: Moved to
  1005. sysdeps/unix/sysv/sysv4/sigaltstk.S.
  1006. * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Syscall lxstat, not xlstat.
  1007. * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Syscall fxstat, not xfstat.
  1008. Tue Feb 1 18:22:21 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1009. * stdio/_itoa.c, stdio/_itoa.h: New files.
  1010. * stdio/Makefile (routines): Add _itoa.
  1011. (distribute): Add _itoa.h.
  1012. * stdio/vfprintf.c: Use _itoa instead of doing it by hand.
  1013. * sysdeps/unix/sparc/vfork.S: Add nop after jmp. Bad delay slot,
  1014. no pipeline.
  1015. * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
  1016. Mon Jan 31 19:33:04 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1017. * assert/assert.c (__assert_fail): Take 4th arg FUNCTION; if it is
  1018. not null, print it in the message. Also declare __NORETURN.
  1019. * assert/assert.h (__assert_fail): Update decl; also add __NORETURN.
  1020. (__ASSERT_FUNCTION): #define to be __PRETTY_FUNCTION__ for GCC>=2.4.
  1021. (assert): Pass __ASSERT_FUNCTION to __assert_fail.
  1022. * sysdeps/unix/bsd/sun/sparc/vfork.S: Moved to sysdeps/unix/sparc.
  1023. Use C_SYMBOL_NAME on __vfork instead of prepending an underscore.
  1024. * sysdeps/unix/sysv/sysv4/solaris2/{start.c,sysdep.S,sysdep.h}: Moved
  1025. to sysdeps/unix/sysv/sysv4/solaris2/sparc.
  1026. * sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k,
  1027. bsd/ultrix4/mips,bsd/vax}/sysdep.S: Don't do EWOULDBLOCK_sys->EAGAIN
  1028. mapping #if EWOULDBLOCK_sys == EAGAIN.
  1029. * sysdeps/unix/sparc/sysdep.h [NO_UNDERSCORES]: #define syscall_error
  1030. to C_SYMBOL_NAME(__syscall_error).
  1031. (PSEUDO): On error, jump to syscall_error instead of setting errno.
  1032. * sysdeps/unix/sparc/sysdep.S: New file.
  1033. * sysdeps/unix/sysv/sysv4/i386/__vfork.S: New file, just #include
  1034. unix/bsd/i386 version.
  1035. * sysdeps/unix/bsd/i386/__vfork.S: Use `scratch' in place of %edx.
  1036. Thu Jan 27 16:46:03 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1037. * configure.in (asm-CPPFLAGS): Add new check to see if assembling
  1038. a .S file loses without -P. If so, set asm-CPPFLAGS=-P in config.make.
  1039. * configure.in (stddef.h): Print msg under --verbose.
  1040. * manual/Makefile (subdir): Define outside of `export' directive,
  1041. for old make.
  1042. * time/mktime.c (search): Take new arg PRODUCER, fn to call
  1043. instead of `localtime'.
  1044. (_mktime_internal): New function; all code from old `mktime', but
  1045. take 2nd arg PRODUCER and pass along to `search'.
  1046. (mktime): Rewrite to call _mktime_internal with localtime.
  1047. * time/Makefile (routines): Add dysize, timegm, timelocal.
  1048. * time/time.h (_mktime_internal): Declare it.
  1049. [__USE_MISC]: Declare timegm, timelocal, dysize.
  1050. * time/dysize.c: New file.
  1051. * time/timegm.c: New file.
  1052. * time/timelocal.c: New file.
  1053. Wed Jan 26 20:06:23 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1054. Remove the hackery on getgroups for most systems. It is no longer
  1055. necessary because gid_t is now the same size as int.
  1056. * sysdeps/unix/common/Makefile (sysdep_routines): Don't add bsd_getgrp.
  1057. * sysdeps/unix/common/bsd_getgrp.S: File removed.
  1058. * sysdeps/unix/common/__getgrps.S: New file.
  1059. * sysdeps/unix/bsd/sequent/i386/__getgrps.S: New file.
  1060. Clean up the rules for cleaning up.
  1061. * Makerules (common-mostlyclean): New target; remove object files.
  1062. (common-clean): New target; depend on common-mostlyclean, and
  1063. remove dep files and generated files.
  1064. (clean): Depend on common-clean.
  1065. (mostlyclean): Depend on common-mostlyclean.
  1066. * Rules (mostlyclean): Target removed.
  1067. (clean): Target removed.
  1068. (distclean): New target; depend on clean.
  1069. (realclean): New target; depend on distclean.
  1070. (subdir_distclean): New target; depend on distclean.
  1071. (subdir_realclean): New target; depend on realclean.
  1072. (subdir_mostlyclean): New target; depend on mostlyclean.
  1073. * Makefile (+subdir_targets): Add subdir_distclean,
  1074. subdir_realclean; change mostlyclean to subdir_mostlyclean.
  1075. (parent-mostlyclean): New target; depend on common-mostlyclean and
  1076. remove libc.a and $(install-lib).
  1077. (parent-clean): New target; depend on parent-mostlyclean and
  1078. common-clean, and remove sysdirs sysd-dirs sysd-Makefile.
  1079. (clean): Depend on parent-clean and just do submake for subdirs.
  1080. (mostlyclean): Depend on parent-clean and just do submake for subdirs.
  1081. (distclean, realclean): Depend on parent-clean and do submake
  1082. distclean-1 passing it variable assignment distclean-1=$@.
  1083. (distclean-1): Depend on subdir_$(distclean-1) and remove
  1084. $(config-generated), config.status, config.make, Makefile (if not
  1085. in srcdir).
  1086. * manual/Makefile (subdir_clean): Target removed.
  1087. (subdir_%): New rule to handle all such targets.
  1088. (distclean): Depend on clean, not mostlyclean.
  1089. (realclean): Depend on distclean, not clean.
  1090. * sysdeps/unix/configure (unix_generated_dirpfx): New variable.
  1091. Use it to put created .S files in sysdeps/unix if configured in
  1092. srcdir, else in current directory.
  1093. (unix_generated): Prepend $unix_generated_dirpfx.
  1094. Have generated config.make fragment prepend $(objpfx).
  1095. * sysdeps/unix/Makefile (generated): Don't set it.
  1096. (config-generated): Set this instead; don't prepend any directory
  1097. prefix to $(unix-generated).
  1098. Fixes for SVR4 wait from jmc@ksu.ksu.edu (James Michael Chacon):
  1099. * sysdeps/unix/sysv/sysv4/siginfo.h (__siginfo_t): Add `__code'
  1100. and `__pid' fields.
  1101. (EXITED, KILLED, CORED, TRAPPED, STOPPED, CONTINUED): New macros.
  1102. * sysdeps/unix/sysv/sysv4/__waitpid.c: Switch on INFOP.__code and
  1103. construct *STAT_LOC from INFOP.__status accordingly.
  1104. * stdlib/testsort.c (main): Use puts to add newlines to printed lines.
  1105. Tue Jan 25 14:32:01 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1106. * Version 1.07.1.
  1107. * manual/Makefile (%.z): Change target pattern to %.gz.
  1108. (dist): Comment out dep. Don't really need the separate doc dist.
  1109. * stdio/stdio.h [__OPTIMIZE__] (getchar, putchar, getdelim,
  1110. getline, __getline): Use extern inlines instead of macros.
  1111. * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Fix typo ($eax for %eax).
  1112. * sysdeps/unix/siglist.c [! HAVE_GNU_LD] (_sys_siglist): #define
  1113. to sys_siglist.
  1114. * sysdeps/posix/__gettod.c [! HAVE_GNU_LD] (__daylight,
  1115. __timezone, __tzname): #define to non-__ names.
  1116. * math/math.h [__USE_BSD] (M_E, M_LOG2E, M_LOG10E, M_LN2, M-LN10,
  1117. M_PI, M_PI_2, M_PI_4, M_1_PI, M_2_PI, M_2_SQRTPI, M_SQRT2,
  1118. M_SQRT1_2): New macros.
  1119. Tue Jan 25 14:01:28 1994 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu)
  1120. * sysdeps/mach/hurd/start.c (start1): Decide separately whether to
  1121. split argv and whether to split envp.
  1122. * sysdeps/mach/hurd/i386/sysdep.h: File deleted.
  1123. sysdeps/mach/i386/sysdep.h: Delete SET_SP macro.
  1124. sysdeps/mach/hurd/start.c (_start): Don't call GET_SP; set globals
  1125. instead of locals from exec_startup message.
  1126. * misc/progname.c: Don't try to set
  1127. program_invocation_name or program_invocation_short_name if argv
  1128. or argv[0] is invalid.
  1129. Mon Jan 24 16:51:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1130. * sysdeps/unix/sysv/sysv4/__waitpid.c: Return INFOP.__pid instead of
  1131. the PID we were called with.
  1132. * sysdeps/unix/sysv/__mkdir.c (__mkdir): Restore errno before
  1133. returning, not after (lot of good that did).
  1134. * sysdeps/unix/bsd/ultrix4/system.c, sysdeps/unix/bsd/bsd4.4/system.c,
  1135. sysdeps/unix/bsd/osf1/system.c, sysdeps/unix/sysv/sco3.2.4/system.c,
  1136. sysdeps/unix/bsd/sun/sunos4/system.c, sysdeps/unix/sysv/sysv4/system.c:
  1137. New files. Avoid sysdeps/unix/system.c, which defines NO_WAITPID.
  1138. * set-init.c (__libc_init): Use `n' count field instead of
  1139. checking for null terminator. The latter loses when there are no
  1140. set elts at all, and only one word is allocated for __libc_subinit.
  1141. * sysdeps/generic/waitstatus.h (__WCOREFLAG): New macro.
  1142. * posix/sys/wait.h [__USE_BSD] (WCOREFLAG): New; define to __WCOREFLAG.
  1143. * stdio/fileno.c (fileno): Call __stdio_check_funcs.
  1144. * stdio/tst-fileno.c: New file.
  1145. Fri Jan 21 16:56:50 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1146. * Rules (dep-dummy-lib, make-dummy-lib): New variables.
  1147. ($(objpfx)dummy.o): New file rule.
  1148. * posix/Makefile ($(objpfx)libposix.a): Depend on
  1149. $(dep-dummy-lib), and use $(make-dummy-lib) for commands.
  1150. * math/Makefile ($(objpfx)libm.a): Likewise.
  1151. * sysdeps/unix/sysv/sysv4/i386/__stat.S: New file.
  1152. * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Likewise.
  1153. * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Likewise.
  1154. * sysdeps/sparc/bytesex.h: New file.
  1155. Thu Jan 20 12:45:35 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1156. * sysdeps/stub/syscall.c (syscall): Declare arg type as int.
  1157. Wed Jan 19 18:18:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1158. * Makerules ($(before-compile) rule): Protect w/`ifdef before-compile'.
  1159. * manual/Makefile: Change all `mv' uses to `mv -f'.
  1160. (subdir_install): Depend on stubs.
  1161. * Makerules ($(objpfx)%.dep: %.s): Depend also on $(objpfx)dummy.dep.
  1162. Tue Jan 18 19:12:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1163. * stdlib/testsort.c (main): Swap dimensions of BUFS array.
  1164. See ChangeLog.2 for earlier changes.