ChangeLog.2 140 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742
  1. Mon Jan 17 17:31:28 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2. * Version 1.07 released.
  3. * Makerules (install-lib rules): Fix typos: missing / after $(libdir).
  4. * posix/Makefile (lib): Depend on $(objpfx)libposix.a
  5. * malloc/Makefile (lib): Depend on $(objpfx)libmcheck.a.
  6. * math/Makefile (lib): Depend on $(objpfx)libm.a.
  7. * misc/Makefile (lib): Depend on $(objpfx)libbsd-compat.a.
  8. * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: New file.
  9. * stdio/internals.c (flushbuf): Don't try aligned-block writing
  10. calculation when FP->__buffer is nil.
  11. Mon Jan 17 17:27:56 1994 Jim Meyering (meyering@comco.com)
  12. * sysdeps/generic/memcmp.c [!_LIBC]: Include <sys/types.h> for
  13. definition of size_t.
  14. Mon Jan 17 17:13:11 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  15. * sysdeps/unix/sysv/sco3.2.4/syscall.h: Add SYS_[gs]etitimer and
  16. SYS_pgrpsys (from scottb).
  17. * sysdeps/unix/configure: Check for getitimer and setitimer syscalls.
  18. * sysdeps/unix/bsd/sequent/i386/syscall.S: New file from jason.
  19. Sun Jan 16 00:41:03 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  20. * string/strerror.c (strerror): Declare BUF to be array of char.
  21. * Version 1.06.13.
  22. Sat Jan 15 17:27:26 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  23. * stdlib/testsort.c (main): Rewrite not to read any input; instead
  24. generate some random alphabetic strings.
  25. * stdlib/Makefile (testsort.input): Rules removed.
  26. * sysdeps/unix/sysv/i386/__sigret.S: New file.
  27. * stdio/Makefile (distribute): Add mpn-copy.mk.
  28. Remove 68k rules; include mpn-copy.mk for dir names needing
  29. translation, and rewrite no-68k rules to be generic for the rest.
  30. (mpn-copy-sysdep): New variable.
  31. (mpn-stuff): Include $(mpn-copy-sysdep).
  32. (clean-mpn): Use rm -f.
  33. * configure.in (machine): Match m68... and m88..., not mc[68]8....
  34. * stdio/printf_fp.c: For length arg to __mpn_extract_double, pass
  35. actual number of limbs allocated for F, not LDBL_MANT_DIG.
  36. Fri Jan 14 19:09:29 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  37. * sysdeps/unix/i386/sysdep.S: Fixed typo: `movl', not `move'.
  38. * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Swap args in cmpl insn.
  39. Thu Jan 13 17:09:19 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  40. * Version 1.06.12.
  41. * sysdeps/mips/sqrt.c: File removed. Ian says only the r[46]00
  42. have `sqrt.d' and GCC open codes it anyway. Perhaps someday
  43. Brendan will be able to explain his rationale for writing this. :(
  44. Tue Jan 11 18:10:17 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  45. * posix/sys/wait.h (__WAIT_STATUS, __WAIT_STATUS_DEFN): Use snazzy
  46. version only for GCC >= 2.6 (was 2.4); 2.5.7 produces bad code on
  47. sparc when the union arg type is used.
  48. * Makeconfig (libprefix): New variable.
  49. * Makerules ($(libdir)/libc.a, install): Insert $(libprefix)
  50. between `lib' and `c' in the file name.
  51. [install-lib] (install-lib.a, install-lib-non.a): New variables
  52. separate out $(install-lib) elts which do or don't match lib%.a.
  53. ($(libdir)/...): Split into two rules for above two cases. Put
  54. $(libprefix) on installed files; for lib%.a insert it before %
  55. rather than at beginning of file name.
  56. * Version 1.06.11.
  57. * Makerules (compilation rules): Move directoryless rules (for
  58. finding sources in .) before include sysd-rules. Omit rules to
  59. compile from sources in $(objpfx) if not using $(objdir).
  60. * sysdeps/stub/errlist.c [! HAVE_GNU_LD]: #define _sys_errlist to
  61. sys_errlist and _sys_nerr to sys_nerr.
  62. Mon Jan 10 15:01:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  63. * time/Makefile (z.%): In generated rules, depend on yearistype.
  64. (tzcompile): Pass -y flag with file name of yearistype.
  65. Sun Jan 9 17:51:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  66. * misc/bsd-compat.c (longjmp): Use __NORETURN in type.
  67. * sysdeps/ieee754/dbl2mpn.c [N == 2]: For denormal, when
  68. RES_PTR[1] is zero, return 1 instead of 2.
  69. Sun Jan 9 13:10:25 1994 Torbjorn Granlund (tege@adder.cygnus.com)
  70. * stdio/printf_fp.c: Solve 10+ problems.
  71. * ieee754/dbl2mpn.c: Correctly detect denorms. Get the denom
  72. exponent right.
  73. Sun Jan 9 00:40:48 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  74. * sysdeps/ieee754/dbl2mpn.c: Test BITS_PER_MP_LIMB and handle
  75. either 32 or 64; #error if not one of those.
  76. * sysdeps/stub/udiv_qrnnd.c: Renamed from udiv_qrnnd.S.
  77. Sat Jan 8 00:25:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  78. * Version 1.06.10.
  79. * Makerules ($(libdir)/libc.a): Depend on subdir_install.
  80. Thu Jan 6 02:17:07 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  81. * Makerules ($(bindir)/$(install)): Use $(INSTALL_PROGRAM), not
  82. $(INSTALL).
  83. ($(libdir)/libc.a): Don't depend on lib-noranlib; on libobjs and
  84. ar-it instead. Run ranlib on target after installing.
  85. (installdirs): Target removed; deps on it removed.
  86. (install-{bin,lib,data,headers,others,no-libc.a}): Renamed to
  87. `install-*-nosubdir'.
  88. (install-%): New pattern rule.
  89. (install): Depend only on install-no-libc.a-nosubdir.
  90. * Rules (subdir_install): Depend on lib-noranlib and stubs.
  91. * Makefile (headers): Remove stubs.h.
  92. (install-others): Define to include $(includedir)/stubs.h.
  93. ($(includedir)/stubs.h): New target for $(objpfx)stubs.h rule.
  94. Depend only on subdir_install, and install directly.
  95. * Makerules (sed-remove-objpfx): Require SPC before $(objpfx) to match.
  96. * time/zic.c (mkdirs): Duplicate passed string in allocated memory
  97. and free it when done.
  98. * dirent/dirent.h [__USE_BSD || __USE_MISC]: Get size_t from stddef.h.
  99. * sysdeps/ieee754/dbl2mpn.c: For zero value, return 1 limb not 0.
  100. * Makerules (make-dummy-dep): Use filter-out to invert sense of
  101. wildcard match, so we produce a command if $@ does *not* exist.c
  102. * stdio/Makefile (routines): Add dbl2mpn.
  103. Wed Jan 5 17:52:43 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  104. * sysdeps/unix/i386/sysdep.S (syscall_error): Reverse args in
  105. `cmpl' insn; non-GNU assembler is feeble-minded.
  106. Mon Jan 3 18:53:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  107. * configure.in (sysnames): Remove / before $mach; it is prepended
  108. already by the loop constructing $mach from $machine.
  109. Tue Dec 28 07:38:23 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  110. * stdio/Makefile [gmp-srcdir] (clean-mpn): New target.
  111. * configure.in (machine): Turn i[34]86 into i386/&, sparc* into
  112. sparc/&, m68k into m68k/mc68020, mc680?0 into m68k/&, mips or
  113. r2000 into mips/r3000, r[34]000 into mips/&.
  114. (mach): New variable; processed from $machine as $base from $base_os.
  115. Use that in place of $machine in loop finding sysdep directories.
  116. * stdio/Makefile (aux): Add mp_clz_tab.
  117. (mpn-copy): Add mp_clz_tab.c.
  118. (mpn-routines): Add udiv_qrnnd.
  119. (mpn-sysdep): Look for .s files too.
  120. * sysdeps/stub/udiv_qrnnd.S: New file.
  121. Sat Dec 25 00:20:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  122. * Version 1.06.9.
  123. * Makefile (distribute): Add install.sh.
  124. * install.sh: New file.
  125. * sysdeps/i386/Makefile: New file.
  126. (asm-CPPFLAGS): Add -DGAS_SYNTAX.
  127. * stdio/printf_fp.c: Major rewrite of sysdeps/generic/printf_fp.c,
  128. working with the fractional parts as multiprecision integers
  129. instead of doubles, using mpn functions from GNU MP. Done with
  130. much help from tege@cygnus.com.
  131. * sysdeps/generic/printf_fp.c, sysdeps/ieee754/printf_fp.c,
  132. sysdeps/m68k/fpu/printf_fp.c: Files removed.
  133. Fri Dec 24 23:09:44 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  134. * sysdeps/stub/dbl2mpn.c, sysdeps/iee754/dbl2mpn.c: New files.
  135. * sysdeps/stub/asm.h: New file.
  136. * sysdeps/m68k/add_n.S, sysdeps/m68k/addmul_1.S,
  137. sysdeps/m68k/mul_1.S, sysdeps/m68k/sub_n.S,
  138. sysdeps/m68k/submul_1.S, sysdeps/m68k/asm.h,
  139. sysdeps/generic/add_1.c, sysdeps/generic/add_n.c,
  140. sysdeps/generic/addmul_1.c, sysdeps/generic/cmp.c,
  141. sysdeps/generic/divmod.c, sysdeps/generic/divmod_1.c,
  142. sysdeps/generic/lshift.c, sysdeps/generic/rshift.c,
  143. sysdeps/generic/mod_1.c, sysdeps/generic/mul.c,
  144. sysdeps/generic/mul_1.c, sysdeps/generic/mul_n.c,
  145. sysdeps/generic/sub_n.c, sysdeps/generic/submul_1.c,
  146. sysdeps/generic/get_str.c, sysdeps/i386/addmul_1.S,
  147. sysdeps/i386/mul_1.S, sysdeps/i386/submul_1.S,
  148. sysdeps/alpha/gmp-mparam.h, sysdeps/generic/gmp-mparam.h,
  149. sysdeps/i386/asm.h, stdio/longlong.h, stdio/gmp.h,
  150. stdio/gmp-impl.h: New files, taken from GNU MP.
  151. * stdio/Makefile (mpn-headers, mpn-routines): New variables.
  152. (routines): Include $(mpn-routines).
  153. (distribute): Include $(mpn-headers).
  154. [gmp-srcdir]: Much code to copy mpn source from $(gmp-srcdir).
  155. * configure.in: Check for a --with-gmp argument and set gmp-srcdir
  156. in config.make to its value (error if no arg given). Move
  157. config_vars initialization before this (right after arg parsing).
  158. Thu Dec 23 01:44:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  159. * sysdeps/m68k/Makefile (m68k-syntax-flag): New variable.
  160. (compile-command.S): Include $(m68k-syntax-flag) in cpp flags.
  161. * manual/Makefile (install-data): New target.
  162. (install-%): New pattern rule.
  163. * Makerules ($(bindir)/...): Do $(make-target-directory) first.
  164. Thu Dec 23 01:03:19 1993 Brendan Kehoe (brendan@zen.org)
  165. Port to the DEC Alpha running OSF/1. (75% done)
  166. * sysdeps/unix/bsd/osf1/alpha/start.S: New file.
  167. * sysdeps/unix/bsd/osf1/alpha/sysdep.h: New file.
  168. * sysdeps/unix/bsd/osf1/alpha/sysdep.S: New file.
  169. * sysdeps/unix/bsd/osf1/alpha/__brk.S: New file (incomplete).
  170. * sysdeps/unix/bsd/osf1/alpha/__fork.S: New file.
  171. * sysdeps/unix/bsd/osf1/alpha/__pipe.S: New file.
  172. * sysdeps/unix/bsd/osf1/alpha/__getdents.S: New file.
  173. * sysdeps/unix/bsd/osf1/alpha/__waitpid.c: New file.
  174. * sysdeps/unix/bsd/osf1/alpha/__wait4.S: New file.
  175. * sysdeps/unix/bsd/osf1/dirstream.h: New file.
  176. * sysdeps/unix/bsd/osf1/alpha/statbuf.h: New file.
  177. * sysdeps/unix/bsd/osf1/direct.h: New file.
  178. * sysdeps/unix/bsd/osf1/dirstream.h: New file.
  179. * sysdeps/unix/bsd/osf1/Makefile: New file, defining LDFLAGS.
  180. * sysdeps/unix/ioctls-tmpl.c [__osf1__ && __alpha__]: Clean up the
  181. ioctls that we get for an Alpha running OSF/1.
  182. * sysdeps/unix/common/glue-ctype.c: Add code for HAVE__LOCP.
  183. (main): If new macro TABLE_NAME is defined, use that for the name
  184. of the array we're writing out, rather than what's defined in TABLE.
  185. * sysdeps/unix/common/configure.in (AC_HAVE_FUNCS): Add `_locp'.
  186. * sysdeps/unix/bsd/osf1/sigaction.h: Add SA_ONSTACK, SA_RESTART,
  187. and SA_DISABLE.
  188. * sysdeps/alpha/setjmp.S: Add .end directive.
  189. * time/sys/time.h (struct timeval): Make members TV_SEC and
  190. TV_USEC be `int', not `long', since it won't hurt other hosts, but
  191. kills the Alpha.
  192. * resource/sys/resource.h (struct rusage): Make all non-timeval
  193. members be `long', not `int'.
  194. * sysdeps/alpha/strlen.c (strlen): Go from 0 to 7, not 3, since
  195. there are 8 bytes in a long on the Alpha. Check for '\0' after
  196. checking for C in initial byte-by-byte loop.
  197. * sysdeps/alpha/strchr.c (strchr): Likewise. Shift out to 64 when
  198. setting CHARMASK.
  199. * sysdeps/alpha/memchr.c (memchr): Likewise. Return NULL if we
  200. didn't find it in N characters, or N == 0. Declare CP to be an
  201. unsigned char*.
  202. * sysdeps/alpha/Makefile: Add divrem stuff.
  203. * sysdeps/alpha/DEFS.h: New file.
  204. * sysdeps/alpha/divrem.m4: New file.
  205. * sysdeps/alpha/macros.m4: New file.
  206. * sysdeps/alpha/Dist: Add .S files, divrem.m4, macros.m4, and DEFS.h.
  207. * sysdeps/unix/bsd/osf1/alpha/vhangup.S: New file. (Only a
  208. temporary workaround, until we figure out how to deal with the
  209. SYS_ult syscalls better.)
  210. * sysdeps/unix/bsd/osf1/alpha/killpg.S: Likewise.
  211. * sysdeps/unix/bsd/osf1/alpha/__sigvec.S: Likewise.
  212. * sysdeps/unix/bsd/osf1/alpha/__sigpause.S: Likewise.
  213. * sysdeps/unix/bsd/osf1/alpha/__sigstmsk.S: Likewise.
  214. * sysdeps/unix/bsd/osf1/alpha/recv.S: Likewise.
  215. * sysdeps/unix/bsd/osf1/alpha/send.S: Likewise.
  216. * sysdeps/alpha/__math.h (__copysign): Add __CONSTVALUE.
  217. * sysdeps/alpha/__copysign.c: Define __NO_MATH_INLINES.
  218. * sysdeps/alpha/fabs.c: Likewise.
  219. Wed Dec 22 17:55:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  220. * crypt/*: New version from glad.
  221. * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
  222. * dirent/Makefile (headers): Define; include dirent.h & dirstream.h.
  223. Tue Dec 21 14:24:38 1993 Brendan Kehoe (brendan@zen.org)
  224. * sysdeps/unix/sysv/sysv4/i386/statbuf.h (struct stat): Add
  225. missing member ST_FSTYPE. Fixup types on various members to make
  226. this properly reflect what the system has.
  227. * misc/ioctl.c (ioctl): Declare 2nd arg to be unsigned long int to
  228. match the change in ioctl.h.
  229. Tue Dec 21 00:01:01 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  230. * Version 1.06.8.
  231. * dirent/dirent.h (struct dirent): Add `d_reclen'; make `d_namlen'
  232. an `unsigned short int' instead of `size_t'.
  233. (DIR): Move typedef to sysdep file dirstream.h.
  234. * sysdeps/unix/dirstream.h: New file, broken out of dirent.h.
  235. * sysdeps/stub/dirstream.h: New file.
  236. * sysdeps/unix/bsd/dirstream.h: New file.
  237. * sysdeps/unix/bsd/readdir.c: New file.
  238. Mon Dec 20 23:29:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  239. * sysdeps/unix/start.c: Include <sysdep.h>.
  240. * sysdeps/unix/sysv/sysv4/i386/start.c: File removed.
  241. Sat Dec 18 01:37:25 1993 Brendan Kehoe (brendan@zen.org)
  242. * sysdeps/unix/sysv/sysv4/i386/start.c: New file. Same as
  243. sysdeps/unix/i386/start.c, but defines NO_UNDERSCORES.
  244. * sysdeps/unix/sysv/sysv4/waitflags.h: New file, with non-standard
  245. WEXITED and WTRAPPED macros defined.
  246. * sysdeps/unix/sysv/sysv4/__waitpid.c: New file.
  247. * sysdeps/unix/sysv/sysv4/siginfo.h: New file.
  248. * sysdeps/unix/sysv/sysv4/__waitid.S: New file.
  249. * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Mention __waitid.
  250. * sysdeps/unix/sysv/sysv4/pipestream.c: New file, to avoid having
  251. NO_WAITPID set.
  252. * sysdeps/unix/sysv/sysv4/Dist: Added __waitid.S and siginfo.h.
  253. * sysdeps/unix/sysv/sysv4/__getpgid.c: New file.
  254. * sysdeps/unix/sysv/sysv4/__setpgid.c: New file.
  255. * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Add them.
  256. * sysdeps/unix/sysv/sysv4/__getpgrp.c (__getpgrp): It's the 0th
  257. subcall for getpgrp, not 4th.
  258. * sysdeps/unix/sysv/sysv4/__setpgrp.c (__setpgrp): Likewise, it's
  259. the 1st, not the 5th.
  260. Fri Dec 17 15:05:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  261. * misc/sys/ioctl.h (__ioctl, ioctl): Make second arg `unsigned
  262. long int' instead of `int' (4.4 uses unsigned long).
  263. * string/string.h (strcat): Parameters names were swapped.
  264. Fri Dec 17 01:18:27 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  265. * Made the Hurd error system 0x10 again; this undid many
  266. of the changes of Nov 23. Affected all the err_ files in
  267. mach; recreated sysdeps/hurd/err_hurd.sub; changed back
  268. err_kern.sub to have the Unix error codes.
  269. Thu Dec 16 15:40:25 1993 Brendan Kehoe (brendan@zen.org)
  270. * stdio/temptest.c (main): Remove the files we created once we're
  271. done. Make return type int, and exit with 0 status.
  272. * sysdeps/posix/tempname.c (__stdio_gen_tempname): Fix typo of
  273. extra comma in sprintf call.
  274. Tue Dec 14 13:08:35 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  275. * sysdeps/posix/tempname.c (__stdio_gen_tempname): Rewrote main
  276. logic. Removed INFOS structure array and replaced it with
  277. INDICES, an array of size_t. Removed INFO ptr and replaced it
  278. with IDX, which points to either elt of INDICES. Rewrite main
  279. loop to increment *IDX until it hits 62*62*62. Construct file
  280. name by dividing out two powers of 62 from *IDX and using the
  281. modulus as an index into `letters'.
  282. * sysdeps/unix/common/Makefile (sysdep_routines): Only add
  283. bsd_getgrp here if the sysdep __getgrps.? chosen is unix/common's.
  284. * posix/fnmatch.h: #undef FNM_PATHNAME, FNM_NOESCAPE, and
  285. FNM_PERIOD before defining them.
  286. * time/__tzset.c (compute_change): In M case when tallying time in
  287. months before specified month, count to RULE->m - 1, not ...+1.
  288. * manual/Makefile (realclean): Remove index, aux, and toc files
  289. created by TeX.
  290. Mon Dec 13 19:33:33 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  291. * sysdeps/posix/__wait3.c: Use __WAIT_STATUS_DEFN in place of
  292. __WAIT_STATUS in arg type.
  293. Wed Dec 8 15:59:45 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  294. * malloc/memalign.c: Set L->next and _aligned_blocks only when L
  295. is newly allocated, not when we reuse an old one.
  296. Tue Dec 7 16:04:22 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  297. * io/fcntl.c: Replace function_alias use with:
  298. [HAVE_GNU_LD]: Use symbol_alias.
  299. [! HAVE_GNU_LD]: Define fcntl to use stdarg and call __fcntl.
  300. Mon Dec 6 17:50:05 1993 Brendan Kehoe (brendan@zen.org)
  301. * sysdeps/unix/i386/sysdep.S (syscall_error): Fix labels so
  302. they'll compile.
  303. Make the Solaris port work dammit.
  304. * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h (struct stat): Make
  305. ST_DEV member be unsigned long, not short.
  306. * sysdeps/unix/sysv/sysv4/solaris2/direct.h: New file, same as
  307. sysv4/direct.h but uses strlen instead of the offset-based
  308. computation of the name length, since that doesn't reliably work
  309. for Solaris.
  310. * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h (PSEUDO): Don't move
  311. %g0 into %o0, since that will clobber the real return value. Take
  312. out the retl at the end, why in the world did I put it in there?
  313. Mon Dec 6 17:27:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  314. * Makefile ($(objpfx)crt1.o): Add target to $(objpfx)Mcrt1.o
  315. rule; generalize commands.
  316. (install-lib): Add crt1.o.
  317. * sysdeps/unix/Makefile ($(common-objpfx)ioctls): Use -x flag to
  318. fgrep to match only entire lines.
  319. Sun Dec 5 01:53:43 1993 Brendan Kehoe (brendan@zen.org)
  320. * sysdeps/unix/bsd/ultrix4/mips/start.S: New file.
  321. * sysdeps/unix/bsd/ultrix4/mips/start.c: Deleted.
  322. Thu Dec 2 18:29:01 1993 Brendan Kehoe (brendan@zen.org)
  323. * sysdeps/unix/bsd/ultrix4/mips/sysdep.S: Don't use dollar signs
  324. with the errnos.
  325. * sysdeps/stub/{__wait, __wait3, __wait4}.c,
  326. sysdeps/unix/bsd/bsd4.4/{__wait, __wait3}.c,
  327. sysdeps/unix/bsd/sun/sunos4/__wait4.c,
  328. sysdeps/posix/{__wait, __wait3}.c, posix/{wait, wait3, wait4}.c: Use
  329. __WAIT_STATUS_DEFN, not __WAIT_STATUS.
  330. * sysdeps/posix/killpg.c (killpg): Make arg PGRP __pid_t, not pid_t.
  331. * sysdeps/stub/killpg.c (killpg): Likewise.
  332. * setjmp/longjmp.c (longjmp): Only use __NORETURN if !HAVE_GNU_LD.
  333. * setjmp/_longjmp.c (_longjmp): Likewise.
  334. Thu Dec 2 17:31:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  335. * posix/sys/wait.h (__WAIT_STATUS_DEFN): Define new macro.
  336. * Makerules (+install): Variable removed.
  337. (install-bin, install-lib, install-data, install-headers,
  338. install-others): New targets.
  339. (install-no-libc.a): Depend on them instead of $(+install).
  340. * Makefile (+subdir_targets): Add
  341. install-{no-libc.a,bin,lib,data,headers,others}.
  342. (install-no-libc.a): Don't depend on subdir_install.
  343. Thu Dec 2 17:14:39 1993 Brendan Kehoe (brendan@zen.org)
  344. * sysdeps/ieee754/__isnan.c (__isnan): Return __CONSTVALUE, to
  345. match declaration in math/math.h.
  346. Thu Dec 2 15:48:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  347. * time/africa, time/antarctica, time/asia, time/australasia,
  348. time/emkdir.c, time/europe, time/ialloc.c, time/northamerica,
  349. time/pacificnew, time/private.h, time/solar87, time/solar88,
  350. time/southamerica time/systemv, time/tzfile.h, time/zdump.c,
  351. time/zic.c: New data and code from ADO.
  352. * time/Makefile (tzfiles): Added backward.
  353. * time/backward: New file from ADO.
  354. * locale/C-ctype_ct.c: Remove _ISspace bit from BS (8).
  355. Wed Dec 1 00:01:30 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  356. * mach/err_kern.sub: Frob around lack of GNU ld.
  357. * mach/errsystems.awk: The declaration of __mach_error_systems
  358. should not be static, but it should be const.
  359. * sysdeps/mach/hurd/errlist.awk (BEGIN): Deal with the case
  360. where you don't have GNU ld.
  361. * sysdeps/mach/hurd/Makefile: Define mib_hacks to make.
  362. Tue Nov 30 23:24:07 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  363. * Makefile: install-no-libc.a needs to depend on subdir_install.
  364. Mon Nov 29 16:21:38 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  365. * sysdeps/mach/_strerror.c: Include <mach/errorlib.h>.
  366. * hurd/setuids.c: Put entire file inside #ifndef MIB_HACKS;
  367. it uses the old auth_makeauth call.
  368. * hurd/__setauth.c: Put entire file inside #ifndef MIB_HACKS;
  369. it depends on cthreads to compile, which is not yet integrated.
  370. * hurd/hurdpath.c (__hurd_path_lookup): cast to avoid GCC warning.
  371. Wed Nov 24 00:59:15 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  372. * hurd/Makefile: Commented out hurdauth; recent changes to
  373. auth.defs prevent it from working now.
  374. * mach/mach_error_string.c (do_compat): Change name to
  375. __mach_error_map_compat; make it no longer static.
  376. (mach_error_type, mach_error_string_int): Use
  377. __mach_error_map_compat instead of do_compat.
  378. * sysdeps/mach/_strerror.c: Use __mach_error_map_compat.
  379. * mach/devstream (output/write_some): Cast fourth argument to
  380. device_write_inband to char * to avoid warning.
  381. (output): Call to write_some mentioned variable `start' from
  382. a previous version of the function; changed this to f->__buffer.
  383. Tue Nov 23 23:16:13 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  384. [ The net effect of the following change is to eliminate error
  385. systems which are specific to single-server Mach systems, and
  386. to put the Hurd errors where the Unix errors were. ]
  387. * mach/{err_bootstrap.sub,err_ipc.sub,err_server.sub,err_us.sub}:
  388. None of these are used for the Hurd; we shouldn't pretend that
  389. they are meaningful in our environment. The files have been
  390. renamed to equivalent names with an equal sign prepended; this
  391. will inhibit distribution and prevent the Makefile from looking at
  392. them.
  393. * mach/err_kern.sub: Deleted the definitios of err_codes_unix;
  394. get the strings from _sys_errlist. Rename `unix' to `hurd'.
  395. Rename err_os_sub to be err_kern_sub to match what errsystems.awk
  396. expects.
  397. * sysdeps/mach/hurd/err_hurd.sub: Deleted this file.
  398. * sysdeps/mach/hurd/errnos.awk: Changed definition of _HURD_ERRNO
  399. to be correct.
  400. * sysdeps/mach/hurd/Makefile: use gawk, not awk.
  401. * mach/errsystems.awk: Generally rewrote the printf. It's now
  402. closer to Roland's original, but without the $i mistake at all,
  403. in any form.
  404. Tue Nov 23 20:21:06 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  405. * sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k,
  406. bsd/ultrix4/mips,bsd/vax}/sysdep.S: Define _ERRNO_H before
  407. including <errnos.h>; otherwise <errnos.h> does not define most
  408. macros (importantly, EAGAIN!).
  409. Tue Nov 23 12:43:38 1993 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu)
  410. * mach/errsystems.awk: $i is not an index; make i a variable and
  411. increment it properly. Don't call `err_get_system'; use the
  412. system number as the index in the array directly.
  413. * mach/errorlib.h: Added `const' in all the right places.
  414. * sysdeps/mach/hurd/err_hurd.sub: Cast _sys_errlist to
  415. the right type. Better to declare it right in stdio/stdio.h, but
  416. I don't dare change that file lest Roland call me a twit.
  417. * mach/err_us.sub: Add more brackets to initializer to shut GCC up.
  418. * sysdeps/mach/hurd/err_hurd.sub: Delete keyword `const'; this
  419. is taken care of by the `#define static static const' found in
  420. errsystems.c as created by mach/errsystems.awk.
  421. * mach/errsystems.awk: Ditto for declaration of __mach_error_systems.
  422. * sysdeps/mach/hurd/err_hurd.sub: Change <errnos.h> to <errno.h>;
  423. errnos.h doesn't define most stuff unless it is included from errno.h.
  424. * mach/mach_error_string.c (mach_error_string_int): Delete unused
  425. variable `err_str'.
  426. * mach/mach_error_string.c (do_compat): Declare to be void.
  427. (mach_error_string,mach_error_type, mach_error_string_int):
  428. Declare return type as const char *.
  429. * mach/mach_error.h: Change declarations to match.
  430. * mach/errsystems.awk: The array that split creates is origin 1,
  431. not origin 0; fixed loop to match.
  432. * sysdeps/mach/hurd/errnos.awk: Ernst's awk doesn't grok
  433. backslash-newline inside strings.
  434. Sat Nov 20 19:02:25 1993 Brendan Kehoe (brendan@zen.org)
  435. * math/__finite.c (__finite): Return __CONSTVALUE, to match math.h.
  436. * math/__scalb.c (__scalb): Likewise.
  437. * math/copysign.c (copysign): Likewise.
  438. * math/drem.c (drem): Likewise.
  439. * math/expm1.c (expm1): Likewise.
  440. * math/finite.c (finite): Likewise.
  441. * math/infnan.c (infnan): Likewise.
  442. * math/isinf.c (isinf): Likewise.
  443. * math/isnan.c (isnan): Likewise.
  444. * math/logb.c (logb): Likewise.
  445. * math/rint.c (rint): Likewise.
  446. * math/scalb.c (scalb): Likewise.
  447. * sysdeps/generic/atan.c (atan): Likewise.
  448. * sysdeps/ieee754/__copysign.c (__copysign): Likewise.
  449. * sysdeps/ieee754/__drem.c (__drem): Likewise.
  450. * sysdeps/ieee754/__isinf.c (__isinf): Likewise.
  451. * sysdeps/ieee754/__logb.c (__logb): Likewise.
  452. * sysdeps/ieee754/ldexp.c (ldexp): Likewise.
  453. * sysdeps/ieee754/log10.c (log10): Likewise.
  454. * setjmp/_longjmp (_longjmp): Add __NORETURN.
  455. * setjmp/longjmp (longjmp): Likewise.
  456. Thu Nov 18 04:16:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  457. * string/strerror.c (strerror): Call _strerror_internal to do the
  458. work, passing it a scratch buffer.
  459. * stdio/perror.c: Likewise.
  460. * string/Makefile (routines): Add _strerror.
  461. * sysdeps/generic/_strerror.c (_strerror_internal): New file.
  462. * configure.in (config.status): Make it pass its args to configure.
  463. Thu Nov 18 03:52:32 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  464. * stdio/__vfscanf.c (__vfscanf): Put the floating point cases
  465. (e,E,f,g,G) inside #ifndef MIB_HACKS; roland thikgs strtod crashes
  466. the compiler. Wheee.
  467. Thu Nov 18 03:21:51 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  468. * errno.h [__USE_GNU__]: Declare program_invocation_name and
  469. program_invocation_short_name.
  470. Thu Nov 18 00:07:37 1993 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu)
  471. * sysdeps/mach/hurd/start.c (start1): Don't add one to
  472. the return value of split_args; it counts them just fine by
  473. itself. Do add one when sizing the arrays.
  474. Mon Nov 15 00:19:48 1993 Noel Cragg (noel@geech.gnu.ai.mit.edu)
  475. * time/mktime.c: add TIMES_THROUGH_SEARCH variable to make sure
  476. that we don't get caught in an infinite loop (would be bad,
  477. indeed, for a library routine).
  478. Sun Nov 14 18:48:28 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  479. * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Use
  480. `__attribute__', not `__attributes__'.
  481. Test __GNUC_MINOR__ < 6, not < 5.
  482. Wed Nov 10 05:39:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  483. * sysdeps/unix/morecore.c: Only declare sbrk #ifdef __GNU_LIBRARY__.
  484. Cast its return value.
  485. * sysdeps/unix/bsd/m68k/syscall.S: Use movel in place of moveal.
  486. * configure.in (signed size_t check): Don't use AC_DEFINE; do it
  487. by hand and insert -U__SIZE_TYPE__ before -D.
  488. * posix/unistd.h: Declare syscall.
  489. * sysdeps/m68k/fpu/__math.h (__isnan, __isinf): Use __CONSTVALUE
  490. in prototypes.
  491. * configure.in (Makefile): Write ARCH=`pwd`, rather than
  492. substituting in the directory name at configure time.
  493. * sysdeps/mach/i386/syscall.S: New file.
  494. Tue Nov 9 06:29:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  495. * configure.in (os = netbsd* | 386bsd*): base_os=unix/bsd/bsd4.4.
  496. Set --with-gnu-{ld,as} implicitly when base_os is bsd4.4.
  497. * Version 1.06.7.
  498. * misc/Makefile (routines): Add syscall.
  499. * sysdeps/unix/syscall.S, sysdeps/stub/syscall.c,
  500. sysdeps/unix/bsd/sun/m68k/syscall.S, sysdeps/unix/bsd/m68k/syscall.S,
  501. sysdeps/unix/i386/syscall.S: New files.
  502. * sysdeps/unix/bsd/hp/m68k/sysdep.h (DO_CALL): First arg
  503. is syscall number, not name.
  504. (PSEUDO): Pass POUND (SYS_ify (syscall_name)) to DO_CALL.
  505. * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h (DO_CALL, PSEUDO):
  506. Likewise. Also, do movel into d0 before linkw, so the argument
  507. could conceivably pop the stack.
  508. * sysdeps/unix/bsd/hp/m68k/__brk.S: Pass complete number to DO_CALL.
  509. * sysdeps/unix/sysv/Dist: sys_getdents.S was renamed s_getdents.S.
  510. Thu Nov 4 01:23:59 1993 Michael I. Bushnell (mib at ernst.gnu.ai.mit.edu)
  511. * string/stpncpy: Fix typo; according to gnu-stabs.h the name
  512. inside the DEFUN should be the *non* __ version.
  513. * sysdeps/generic/__stpncpy.c: Missing declaration of s.
  514. Wed Nov 3 09:35:30 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  515. * sysdeps/unix/Makefile ($(objpfx)errlist.c): Conditionalize these
  516. rules to be used only when errlist.c is otherwise a stub.
  517. Fri Oct 29 17:29:20 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  518. * string/stpncpy.c: New file.
  519. * sysdeps/generic/__stpncpy.c: New file.
  520. * string/Makefile (routines): Add stpncpy and __stpncpy.
  521. * string/string.h [__USE_GNU__]: Declare them.
  522. Thu Oct 28 17:13:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  523. * sysdeps/unix/errnos-tmpl.c (DO): If NAME is "EWOULDBLOCK",
  524. write "#define EWOULDBLOCK EAGAIN" and change NAME to
  525. "EWOULDBLOCK_sys".
  526. * sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k,
  527. bsd/ultrix4/mips,bsd/vax}/sysdep.S [EWOULDBLOCK_sys]: Translate
  528. EWOULDBLOCK_sys into EAGAIN.
  529. * Makefile (distribute): Add move-if-change.
  530. * move-if-change: New file.
  531. Tue Oct 26 18:19:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  532. * misc/sys/cdefs.h: Define __NORETURN and __CONSTVALUE.
  533. For GCC 2.5 and later, use __attributes__ (({volatile,const})).
  534. * stdlib/stdlib.h: Don't define either here.
  535. * math/math.h: Likewise.
  536. * posix/unistd.h: Likewise.
  537. * time/time.h: Likewise.
  538. * stdio/stdio.h: Likewise.
  539. * setjmp/setjmp.h: Likewise.
  540. * posix/sys/wait.h (__WAIT_STATUS): Use union hack defn for GCC
  541. 2.4 and up (testing __GNUC__ and __GNUC_MINOR__).
  542. * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Don't include <limits.h>.
  543. * Makerules [inhibit-sysdep-asm]
  544. (open-check-inhibit-asm, close-check-inhibit-asm): New variables.
  545. ($(+sysdir_pfx)sysd-rules): Use them around .s and .S rules.
  546. Depend on existing sysdep makefiles.
  547. Mon Oct 25 15:56:41 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  548. * sysdeps/mach/hurd/killpg.c: Include <sys/types.h> for pid_t.
  549. * sysdeps/posix/tempname.c (__stdio_gen_tempname): Take new arg
  550. STREAMPTR. When non-nil, use __open with O_EXCL to test for
  551. existence, and set *STREAMPTR to new stream on returned fd.
  552. * stdio/stdio.h: Update prototype.
  553. * sysdeps/stub/tempname.c: Here too.
  554. * stdio/tmpfile.c: Pass &F to __stdio_gen_tempname instead of
  555. using fopen.
  556. * stdio/tmpnam.c: Pass extra NULL arg.
  557. * stdio/tempnam.c: Likewise.
  558. * configure.in (switches): Only put --os-{release,version} here.
  559. (config.status): Write $configure_args in place of $config $switches.
  560. * signal/Makefile (routines): Renamed sigaltstack to sigaltstk.
  561. * sysdeps/stub/sigaltstack.c: Renamed to sigaltstk.c.
  562. * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: Renamed to sigaltstk.S.
  563. * sysdeps/unix/sysv/sys_getdents.S: Renamed to s_getdents.S.
  564. * sysdeps/unix/sysv/Makefile (sysdep_routines): Changed reference.
  565. Fri Oct 22 03:47:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  566. * malloc/realloc.c [MEMMOVE_MISSING]: Test this to use safe_bcopy.
  567. [emacs]: Don't define safe_bcopy.
  568. * time/zdump.c, time/europe: New versions from ADO.
  569. * Rules (dont_distribute): Export this variable.
  570. (subdir_echo-distinfo): Echo its value for +nodist+.
  571. Thu Oct 21 15:58:08 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  572. * sysdeps/posix/__dup2.c: Include <limits.h>.
  573. [OPEN_MAX]: Fail with EBADF if FD2>=OPEN_MAX.
  574. * sysdeps/unix/Makefile (sys/param.h): Conditionalize all this
  575. code to happen only when there is no sysdep sys/param.h.
  576. Wed Oct 20 03:35:41 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  577. * Makerules (make-dummy-dep): Change to `ln $(objpfx)dummy.dep $@'.
  578. ($(objpfx)dummy.dep): Create new file containing comment.
  579. ($(objpfx)%.dep: $(objpfx)%.s): Depend on $(objpfx)dummy.dep.
  580. ($(+sysdir_pfx)sysd-rules): Likewise in generated rule.
  581. Mon Oct 18 04:22:42 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  582. * signal/signal.h (killpg): Make PGRP arg pid_t.
  583. * sysdeps/posix/killpg.c (killpg): Likewise.
  584. * sysdeps/stub/killpg.c (killpg): Here too.
  585. * posix/glob/configure.in: Use AC_HAVE_HEADERS instead of
  586. AC_MEMORY_H and AC_UNISTD_H; omit AC_USG (not needed).
  587. * Rules (generated): New target.
  588. * Makefile (subdirs): Use filters to put mach and hurd first in
  589. the list if they are in it at all.
  590. * Makerules (before-compile): Reorder similarly, matching any
  591. generated mach or hurd files.
  592. Fri Oct 15 17:57:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  593. * sysdeps/posix/mk-stdiolim.c [! OPEN_MAX]: Use _POSIX_OPEN_MAX
  594. for FOPEN_MAX value.
  595. [! PATH_MAX]: Use 1024 (twice _POSIX_PATH_MAX) for FILENAME_MAX value.
  596. * Makerules (in-Makerules): Define this variable before including
  597. sysd-Makefile.
  598. Sun Oct 10 14:31:35 1993 Jim Meyering (meyering@comco.com)
  599. * posix/fnmatch.c [CONFIG_BROKETS]: Include <config.h> only under
  600. this condition, else "config.h".
  601. Tue Oct 05 16:08:39 1993 Jim Meyering (meyering@comco.com)
  602. * time/mktime.c [CONFIG_BROKETS]: Include <config.h> only under
  603. this condition, else "config.h".
  604. Thu Sep 23 15:14:08 1993 Brendan Kehoe (brendan@zen.org)
  605. * sysdeps/unix/sysv/sysv4/__dup2.c: New file.
  606. Wed Sep 22 16:58:29 1993 Brendan Kehoe (brendan@zen.org)
  607. * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: New file.
  608. * sysdeps/unix/sysv/sysv4/i386: New directory.
  609. * sysdeps/unix/sysv/sysv4/i386/statbuf.h: New file.
  610. Fri Sep 17 04:03:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  611. * Makerules (+make-deps): Put output in temp file and use atomic mv.
  612. * Makerules ($(+sysdir_pfx)sysd-rules): New target, the rule part
  613. of what was in sysd-Makefile. Include it.
  614. ($(+sysdir_pfx)sysd-Makefile): Do just includes here. Move the
  615. generated implicit rules to sysd-rules. Put the output into a
  616. temp file and use atomic mv to final target.
  617. (before-compile): Filter out existing files from value, after
  618. sysd-Makefile but before sysd-rules.
  619. Thu Sep 9 22:28:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  620. * Makefile (%/configure): Copy rule from Make-dist.
  621. Mon Sep 6 19:57:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  622. * Makerules (sources, objects): Move override definitions to
  623. before +depfiles calculation.
  624. * time/{asia,australasia,europe,zdump.c}: New versions from ADO (93e).
  625. Mon Aug 30 13:40:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  626. * string/string.h (memmem): Reverse argument order, to be like strstr.
  627. * sysdeps/generic/memmem.c: Here too.
  628. * dirent/scandir.c: For error return, save errno around closedir.
  629. Call closedir (DP) before returning successfully.
  630. Thu Aug 26 19:26:06 1993 Brendan Kehoe (brendan@zen.org)
  631. * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h: Rewritten to not use
  632. the generic sparc sysdep.h.
  633. (PSEUDO): Use trap 8, not 0. Also just put %g0 in %o0, without
  634. subtracting 1.
  635. (ENTRY): Align on 4, and add a `.type' directive.
  636. * sysdeps/unix/sysv/sysv4/solaris2/sysdep.S: New file.
  637. Fri Aug 20 19:37:55 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  638. * sysdeps/generic/abort.c: Remove unused variable ABORTING.
  639. Thu Aug 19 17:45:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  640. * Makeconfig [!objdir] [!..] (common-objdir): Set to `.'.
  641. Wed Aug 18 15:10:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  642. * stdio/__vfscanf.c (__vfscanf: number): Reverse sense of
  643. NUMBER_SIGNED conditional in assignment code.
  644. Mon Aug 16 15:49:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  645. * sysdeps/unix/Makefile (syscall.h): Add sed
  646. s/SYS_syscall_basenum/syscall_basenum/g. SYSCALL_BASENUM is a
  647. macro both defined and used in <syscall.h>; we must undo our
  648. prependation of `SYS_'.
  649. * Version 1.06.6.
  650. Fri Aug 13 16:53:02 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  651. * stdio/__vfscanf.c: New local variable NUMBER_SIGNED.
  652. (%x, %X, %o, %u): Set it to zero.
  653. (%d, %i): Set it to one.
  654. (number): If NUMBER_SIGNED is set, use strtol and store in ...int*.
  655. If clear, use strtoul an store value in unsigned ...int*.
  656. * malloc/malloc.h: Undo last change (_AIX32).
  657. (memory_warnings): Use const instead of __const in prototype.
  658. Fri Aug 13 00:22:01 1993 John Grabowski (johng@whiskey.media.mit.edu)
  659. * configure.in (os = osf1*): base_os=unix/bsd.
  660. Thu Aug 12 16:37:13 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  661. * malloc/valloc.c [__GNU_LIBRARY__ || _LIBC]: Include <stddef.h>
  662. before trying to use size_t to declare __getpagesize.
  663. Include <sys/cdefs.h> before trying to use __P.
  664. * posix/{fnmatch,glob}.c, malloc/malloc.h [HAVE_CONFIG_H]: Include
  665. <config.h> instead of "config.h". This is so that a compilation
  666. using -I. -I$srcdir will use ./config.h rather than
  667. $srcdir/config.h (which it would do when glob.c was found in $srcdir).
  668. * malloc/malloc.h [_AIX32]: Use !__STDC__ defns of __P, const, __ptr_t.
  669. Mon Aug 9 16:56:31 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  670. * Makerules (-e check): Don't rely on $(findstring e,$(MAKEFLAGS))
  671. since that also trips for --no-print-directory.
  672. Instead actually see if -e's functionality is taking place.
  673. * malloc/realloc.c: Call _free_internal instead of free in most places.
  674. * configure.in (arg parsing): No spaces around = in eval.
  675. * sysdeps/i386/abort.c: New file.
  676. * stdlib/abort.c: Moved to sysdeps/generic/abort.c.
  677. (abort): Don't try to do stdio cleanup, since we can't guarantee
  678. it anyway.
  679. Fri Aug 6 17:59:56 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  680. * Makerules ($(+install)): Don't depend on installdirs.
  681. (make-target-directory): New define.
  682. (do-install): Do $(make-target-directory) beforehand.
  683. Tue Aug 3 02:22:41 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  684. * sysdeps/stub/sys/reboot.h: New file.
  685. * sysdeps/unix/bsd/sys/reboot.h: New file, snarfed from 4.4.
  686. * misc/Makefile (headers): Add sys/reboot.h.
  687. * stdio/stdio.h (__io_{read,write,seek,close,fileno}): Renamed to
  688. __io_*_fn, so as not to conflict with the Hurd mig stubs.
  689. * internals.c: Changed uses.
  690. * sysdeps/unix/bsd/signum.h (SIGINFO): Define as 29.
  691. * Makerules (+includes): Don't set this here.
  692. * Makeconfig (+includes): Put $(+sysdep-includes) in the value here.
  693. * posix/unistd.h [__USE_MISC]: Declare mktemp and mkstemp.
  694. Mon Aug 2 16:59:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  695. * malloc/valloc.c: Move getpagesize goop to before malloc.h.
  696. [_LIBC]: Test this as well as __GNU_LIBRARY__ (either one) to use
  697. __getpagesize instead of "getpagesize.h".
  698. Sun Aug 1 16:55:18 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  699. * configure.in (arg parsing): For `--with-foo=bar', do
  700. "with_foo='bar'". For `--with-fnord', do "with_fnord=yes".
  701. * sysdeps/mach/configure: New file, groks `--with-mach=DIR'.
  702. Fri Jul 30 00:01:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  703. * configure.in (os = gnu*): Set $base_os, not $os, to mach/hurd.
  704. Thu Jul 29 17:46:02 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  705. * ctype/ctype.h (__isctype): Don't test !=0, to avoid possible
  706. extra test insn.
  707. Sun Jul 25 22:19:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  708. * setjmp/setjmp.h [! __FAVOR_BSD] (_longjmp): Define as longjmp.
  709. Thu Jul 22 14:57:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  710. * sysdeps/unix/bsd/osf1/sigaction.h: New file.
  711. * sysdeps/stub/signum.h: Deansideclized.
  712. * sysdeps/stub/pipestream.c (pclose): Test STREAM->__ispipe
  713. instead of __ispipe (STREAM).
  714. * sysdeps/stub/__wait3.c: Fix arg types.
  715. * sysdeps/stub/__ioctl.c: Add missing close paren.
  716. * sysdeps/stub/__getpgsz.c: Include <stddef.h> for size_t.
  717. * sysdeps/stub/__get[gu]id.c: Include <sys/types.h>; fix return type.
  718. * sysdeps/stub/__set[gu]id.c: Include <sys/types.h>; fix arg type.
  719. * sysdeps/stub/__mknod.c: Include <sys/types.h>; fix arg types.
  720. * sysdeps/generic/termbits.h (INLCR, ISTRIP): Fixed typo'd values.
  721. * stdio/stdio.h (vprintf): Fix last arg type to __gnuc_va_list.
  722. * stdio/vprintf.c (vprintf): Here too.
  723. * malloc/malloc.c (malloc) [SUNOS_LOCALTIME_BUG]: Put this crap
  724. after hook and initialization.
  725. * stdio/stdio.h (__validfp): Use a little anonymous struct to find
  726. the real stream ptr from in glue stream. It used to rely on using
  727. `((int *) STREAM)[1]'; but that assumes no struct padding, and
  728. there will be some when int is 32 bits and pointers are 64.
  729. * malloc/mtrace.c: Use %lx instead of %x for `size_t' formats.
  730. Wed Jul 21 18:20:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  731. * malloc/malloc.c (malloc): Handle SUNOS_LOCALTIME_BUG.
  732. Wed Jul 21 16:42:14 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  733. * time/Makefile (extra-objs): Remove gratuitous - in `z.%'.
  734. * Makefile [+gnu-stabs] (generated): Add $(objpfx)munch-init.c.
  735. (distclean): Also remove sysd-Makefile and sysd-dirs in $(objpfx).
  736. (distclean) [objdir]: Also remove $(objpfx)Makefile.
  737. * sysdeps/posix/Makefile (generated): Add $(common-objpfx)mk-stdiolim.
  738. (generated, before-compile): Take defns out of ifeq ($(subdir),posix).
  739. * sysdeps/unix/common/Makefile (generated): Include ctype-glue.c,
  740. not glue-ctype.c.
  741. * sysdeps/unix/configure (unix_generated): New variable; collect
  742. names of created files in it.
  743. (config_vars): Write an assignment for `unix-generated' to that list.
  744. * sysdeps/unix/Makefile (generated): Append $(unix-generated)
  745. (with either $(objpfx) or $(sysdep_dir)/unix/ prepended to each file).
  746. * Makefile (clean): Pass no_deps=t to subdir_clean make.
  747. Sun Jul 18 21:42:05 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  748. * malloc/malloc.c (malloc): After getting more core, recompute
  749. BLOCK before adding to _heapinfo[BLOCK].free.size.
  750. Fri Jul 16 16:32:40 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  751. * stdlib/Makefile (generated): Prepend $(objpfx).
  752. * sysdeps/unix/sysv/Makefile (generated): Likewise.
  753. * sysdeps/posix/mktemp.c: Return when stat fails with ENOENT, not
  754. when it succeeds.
  755. Wed Jul 14 14:51:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  756. * locale/localeconv.c: Fix copying notice to LGPL.
  757. Mon Jul 12 21:58:27 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  758. * malloc/mcheck.c (reallochook): Set HDR->magic to MAGICWORD.
  759. Mon Jul 5 15:55:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  760. * malloc/realloc.c (memmove): Swap the args when calling safe_bcopy.
  761. Thu Jul 1 16:26:56 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  762. * malloc/malloc.c [_LIBC] (_malloc, _free, _realloc): Define these
  763. functions to just call malloc, free, and realloc, respectively.
  764. Wed Jun 30 16:42:10 1993 Torbjorn Granlund (tege@gnu.ai.mit.edu)
  765. * sysdeps/generic/memcmp.c (memcmp_bytes): New function for
  766. little endian machines.
  767. (memcmp_common_alignment, memcmp_not_common_alignment): Rework
  768. code computing return values.
  769. Wed Jun 30 14:42:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  770. * sysdeps/unix/Makefile (local_lim.h): Only generate local_lim.h
  771. if the sysdep version would be stub.
  772. * sysdeps/unix/mk-local_lim.c: #include <stdio.h> before all else.
  773. * configure.in (config_{machine,vendor,os}): Store config.sub's
  774. output in these new variables.
  775. (machine, vendor, os): Set these from those.
  776. (config-name.h, config.make): Write $config_* (the original values
  777. from config.sub).
  778. * sysdeps/unix/sysv/sysv4/pgrpsys.S: Add arg count (3).
  779. Tue Jun 29 02:47:46 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  780. * Version 1.06.4.
  781. Mon Jun 28 00:37:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  782. * stdio/internals.c (__stdio_check_funcs): New function, broken out
  783. of init_stream.
  784. (init_stream): Call it.
  785. * sysdeps/posix/pipestream.c (popen): Call __stdio_check_funcs
  786. before frobnicating STREAM's functions.
  787. * sysdeps/posix/pipestream.c (pclose): Free C, our data structure,
  788. not STREAM->__cookie after it's been restored.
  789. * sysdeps/generic/strchr.c: Check for '\0' as well as C, in initial
  790. byte-by-byte loop.
  791. * conf/portability.h: #undef BSD.
  792. Sun Jun 27 23:46:05 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  793. * sysdeps/unix/bsd/m68k/__wait.S [__motorola__]: Use Motorola syntax.
  794. * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
  795. * sysdeps/unix/bsd/m68k/__pipe.S: Likewise.
  796. * sysdeps/m68k/__longjmp.c (__longjmp) [__motorola__]: Use
  797. Motorola syntax in jmp insn.
  798. Fri Jun 25 16:17:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  799. * sysdeps/{stub,posix,unix/sysv/sysv4}/__sysconf.c (__sysconf):
  800. For _SC_TZNAME_MAX, just return __tzname_max ().
  801. * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Define __sysconf, not
  802. sysconf. For _SC_TZNAME_MAX, just jump to __tzname_max.
  803. Undo June 21 change that made __tzname_max a variable
  804. and expected TZNAME_MAX to sometimes be defined.
  805. POSIX.1 does not require that it be defined; sysconf is enough.
  806. * time/time.h (__tzname_max): Declare as a function.
  807. * posix/posix1_lim.h: Don't include <tzname_max.h>.
  808. * sysdeps/stub/tzname_max.h: File removed.
  809. * time/Makefile (headers): Remove tzname_max.h.
  810. (distribute): Remove make-tzlim.c.
  811. (extra-objs): Remove make-tzlim.o and make-tzlim.
  812. ($(common-objpfx)tzname_max.h): Target removed.
  813. * time/make-tzlim.c: File removed.
  814. * time/__tzset.c (__tzname_cur_max): Define this variable instead
  815. of __tzname_max.
  816. (__tz_compute): Set __tzname_cur_max, not __tzname_max.
  817. (__tzname_max): New function.
  818. * time/tzfile.c (compute_tzname_max): Set __tzname_cur_max, not
  819. __tzname_max.
  820. * malloc/malloc.h [_MALLOC_INTERNAL] [! (_LIBC || STDC_HEADERS || USG)]
  821. (memmove): Don't define.
  822. * malloc/realloc.c [!_LIBC && !STDC_HEADERS && !USG] (safe_bcopy):
  823. New static function.
  824. (memmove): Define to safe_bcopy.
  825. Wed Jun 23 15:10:51 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  826. * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: New file, #include sysv4 file.
  827. * sysdeps/unix/sysv/sco3.2.4/Dist: New file, list pgrpsys.S.
  828. Tue Jun 22 02:44:16 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  829. * sysdeps/unix/sysv/sco3.2.4/Makefile (sysdep_routines): Use
  830. pgrpsys instead of sco_pgrp.
  831. * sysdeps/unix/sysv/sco3.2.4/{Dist,sco_pgrp.S}: Files removed.
  832. * sysdeps/unix/sysv/sco3.2.4/__{getpgrp,setpgrp,setsid}.c: Just
  833. include the respective unix/sysv/sysv4 files.
  834. * sysdeps/unix/sysv/sysv4/pgrpsys.S: New file.
  835. * sysdeps/unix/sysv/sysv4/__getpgrp.c: New file.
  836. * sysdeps/unix/sysv/sysv4/__setpgrp.c: New file.
  837. * sysdeps/unix/sysv/sysv4/__setsid.c: New file.
  838. * sysdeps/unix/sysv/sysv4/Dist: Add pgrpsys.S.
  839. * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Add pgrpsys.
  840. * sysdeps/unix/bsd/bsd4.4/__setsid.S: Moved from unix/sysv/sysv4.
  841. * sysdeps/unix/{bsd/sun/sunos4,bsd/ultrix4,sysv/linux}/__setsid.S:
  842. Include bsd4.4 instead of sysv4 file.
  843. Mon Jun 21 19:08:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  844. * posix/posix1_lim.h: #include <tzname_max.h>.
  845. * sysdeps/stub/tzname_max.h: New file (no-op).
  846. * time/make-tzlim.c: New file.
  847. * time/Makefile (headers): Add tzname_max.h.
  848. (distribute): Add make-tzlim.c.
  849. (extra-objs): Add make-tzlim.o and make-tzlim.
  850. ($(common-objpfx)tzname_max.h): New target.
  851. * sysdeps/unix/sysv/sco3.2.4/confname.h (_SC_TZNAME_MAX): Define.
  852. * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Detect arg being
  853. _SC_TZNAME_MAX, and return max of TZNAME_MAX and __tzname_max.
  854. * sysdeps/stub/__sysconf.c: Include <time.h> and <limits.h>.
  855. Handle _SC_TZNAME_MAX and return max of TZNAME_MAX and __tzname_max.
  856. * sysdeps/posix/__sysconf.c: Change _SC_TZNAME_MAX code to that.
  857. * sysdeps/unix/sysv/sysv4/__sysconf.c: Likewise.
  858. * time/time.h (__tzname_max): Declare as variable, not function.
  859. * time/__tzset.c (__tzname_max): Function removed.
  860. (__tz_compute): Set the __tzname_max variable.
  861. * time/tzfile.c (compute_tzname_max): New function.
  862. (__tzfile_{read,default}): Call it.
  863. Sun Jun 20 18:32:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  864. * time/zic.c, time/asia: New versions from ADO.
  865. Wed Jun 16 17:24:28 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  866. * Version 1.06.3.
  867. Fri Jun 11 15:44:53 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  868. * sysdeps/unix/bsd/m68k/__pipe.S: Use `movel' instead of `moveal',
  869. which sun3 as does not appear to grok.
  870. * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise.
  871. Thu Jun 10 20:23:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  872. * sysdeps/m68k/Makefile (as-pipe-ok): Define if -pipe is used in
  873. compiler invocations, or if using GNU as.
  874. (compile-command.S): Define using a pipe if `as-pipe-ok' is defined,
  875. otherwise with a temporary file.
  876. * Makeconfig (gnu-as): Define if -DHAVE_GNU_AS appears in $(CPPFLAGS).
  877. Wed Jun 9 15:14:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  878. * configure.in (os frobnication): Turn underscores as well as
  879. lowercase Vs into dots in os name.
  880. * sysdeps/unix/start.c [__GNUC__] (_start): Use asm name "start"
  881. only if [! NO_UNDERSCORES].
  882. Tue Jun 8 14:51:00 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
  883. * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Don't save the stack
  884. pointer.
  885. Mon Jun 7 21:01:24 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  886. * time/Makefile (tzcompile): Remove -d switch, since zic-cmd has one.
  887. * time/{private.h,zic.c}: New versions from ADO.
  888. * sysdeps/unix/bsd/hp/m68k/__brk.S (error): Renamed label from `1',
  889. (__brk): Use DO_CALL instead of movel and trap.
  890. * sysdeps/unix/bsd/sony/newsos4: Renamed sysdeps/unix/bsd/sony/newsos.
  891. * sysdeps/unix/bsd/sony/m68k/{Implies,sysdep.h}: Moved there.
  892. * sysdeps/unix/bsd/hp/m68k/sysdep.h (DO_CALL): New macro, broken
  893. out of PSEUDO.
  894. (PSEUDO): Use it.
  895. * sysdeps/unix/bsd/sony/newsos4/m68k/sysdep.h
  896. (DO_CALL, PSEUDO): Likewise.
  897. * configure.in: Set --with-gnu-{ld,as} for os=bsd4.4.
  898. Fri Jun 4 14:11:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  899. * sysdeps/i386/{strlen,memchr}.c: Use `repnz' instead of `repne'.
  900. * time/Makefile (zonenames): Rename zones-* to z.* so they all fit
  901. in 14 chars.
  902. (extra-objs): Here too.
  903. * sysdeps/unix/sysv/direct.h (D_RECLEN): New macro.
  904. * sysdeps/unix/readdir.c (D_RECLEN): If not defined, define to use
  905. `d_reclen' member.
  906. (readdir): Use D_RECLEN (DP) in place of DP->d_reclen.
  907. Thu Jun 3 16:54:29 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  908. * sysdeps/m68k/bytesex.h: New file.
  909. * sysdeps/unix/ioctls-tmpl.c [sony_news]: Define KANJI before
  910. including <sys/ioctl.h>.
  911. Wed Jun 2 17:45:38 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  912. * malloc/Makefile (%.gz): Renamed target from %.z; use -v flag.
  913. (malloc/ChangeLog): Use mv -f.
  914. Mon May 31 21:49:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  915. * Version 1.06.2 released.
  916. * manual/Makefile: Remove all uses of $(objpfx). Since the
  917. generated files are distributed, they reside in the source
  918. directory.
  919. * malloc/mtrace.c: #include <stdio.h>; malloc.h no longer does.
  920. * sysdeps/posix/sleep.c: Restore signal mask to OSET before
  921. returning. Save errno on entry and restore it before returning.
  922. * Makeconfig (zonedir): New variable.
  923. * time/Makefile (localtime-file, posixrules-file, install-others,
  924. $(localtime-file), $(posixrules-file), tz-cc): Use $(zonedir) in
  925. place of $(datadir)/zoneinfo.
  926. (tzcompile): Omit -d switch.
  927. (zic-cmd): Add `-d $(zonedir)'.
  928. Sun May 30 20:04:50 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  929. * sysdeps/posix/stdio_init.c: (int)cookie is FD, not *(int*)cookie.
  930. * time/Makefile ($({localtime,posixrules}-file)): Don't pass -d
  931. switch (no need, since directory is compiled into zic). Don't use
  932. $(<F) to find arg for -{l,p}; just use $({localtime,posixrules}).
  933. * Makerules ($(libdir)/libc.a): Depend on installdirs.
  934. * malloc/malloc.c (malloc): #if 0 out ``if (SIZE == 0) return NULL''.
  935. * malloc/malloc.h [_MALLOC_INTERNAL]: Don't include <stdio.h>.
  936. [_MALLOC_INTERNAL]: Move config.h, limits.h, and mem* to front of file.
  937. (NULL): Move after stddef.h.
  938. * malloc/valloc.c: Don't include config.h; malloc.h already did.
  939. * malloc/malloc.c: Undo rms's change.
  940. * malloc/mcheck.c, malloc/malloc.h: Undo rms's change.
  941. Sat May 29 13:04:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  942. * malloc/malloc.c (malloc) [emacs]: If size is 0, make it 1.
  943. * malloc/malloc.h (CONST): Define this always,
  944. rather than `const' sometimes.
  945. (memory_warnings): Use CONST, not __const, in decl.
  946. * malloc/mcheck.c (checkhdr): Use CONST, not const.
  947. Fri May 28 18:29:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  948. * sysdeps/unix/Makefile (ioctls): Use fgrep instead of egrep to
  949. omit unwanted symbols. Filter the list of them through sort|uniq
  950. to remove duplicates first.
  951. * sysdeps/unix/Makefile (errlist.c): Use dir and notdir
  952. functions to guarantee qualified path name for make_errlist.
  953. Thu May 27 17:05:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  954. * Version 1.06.1.
  955. * sysdeps/sparc/Dist: Include sdiv.S, not div.S.
  956. * sysdeps/unix/common/Dist: Remove make_siglist.c.
  957. * stdio/internals.c: Declare __stdio_fileno before reference.
  958. * sysdeps/generic/{memchr,strchr,strlen}.c: Abort if words are
  959. bigger than 64 bits.
  960. Wed May 26 14:44:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  961. * Makerules [objects] (install-others): Don't add libc.a to this.
  962. (install): Depend on $(libdir)/libc.a.
  963. (intall-no-libc.a): New target, depends on $(+install).
  964. (install): Don't depend on $(+install), just on install-no-libc.a.
  965. * Rules (subdir_install): Depend on install-no-libc.a, not install.
  966. * Makefile ($(libc.a)): Don't depend on subdir_lib.
  967. (lib-noranlib): Depend on subdir_lib.
  968. Make `fileno' a per-FILE io operation.
  969. * stdio/stdio.h (__io_fileno): New typedef.
  970. (__io_functions): Add `__fileno' member.
  971. (struct __stdio_file): Remove `__fileno' member.
  972. [__USE_POSIX] [__OPTIMIZE__]: Remove fileno macro defn.
  973. [__USE_POSIX] (fileno): Remove `const' from arg in prototype.
  974. * stdio/fileno.c (fileno): Rewritten to call STREAM's __fileno fn.
  975. * sysdeps/stub/sysd-stdio.c (__stdio_fileno): New function.
  976. (__stdio_open): Return an int (zero for win, nonzero for lose),
  977. and make third arg PTR * (filled in with cookie).
  978. * stdio/stdio.h (__stdio_open): Changed prototype.
  979. * sysdeps/posix/sysd-stdio.c (__stdio_open): Likewise.
  980. (__stdio_{read,write,seek,close}): Use (int) COOKIE as the fd, rather
  981. than *(int *) COOKIE.
  982. (__stdio_fileno): New function; just returns (int) COOKIE.
  983. * sysdeps/posix/fdopen.c: Set cookie to (PTR) FD; don't set fileno.
  984. * stdio/vdprintf.c: Likewise.
  985. * stdio/fmemopen.c: Set STREAM->__io_funcs.__fileno to NULL.
  986. Set STREAM->__cookie to NULL and don't use STREAM->__fileno.
  987. * stdio/internals.c (__default_io_functions): Add __stdio_fileno.
  988. * sysdeps/posix/defs.c (stdstream): Initialize __cookie to (PTR) FD
  989. Remove __fileno initializer.
  990. Add NULL initializer for __io_funcs.__fileno.
  991. * sysdeps/posix/pipestream.c (struct child): Remove `fd' member.
  992. Add `cookie' and `funcs' members.
  993. (FUNC): Macro to define child io_funcs.
  994. (child_funcs): New variable, __io_functions struct of them.
  995. (popen): Store STREAM's original cookie and io_funcs in CHILD, and
  996. then set STREAM->__cookie to CHILD and stream->__io_funcs to
  997. child_funcs.
  998. (pclose): Restore STREAM's original cookie and io_funcs before
  999. calling fclose.
  1000. * configure.in (autoconf checks): Add new check for a
  1001. libc-friendly stddef.h.
  1002. * sysdeps/unix/configure: Remove __getpgrp from list of syscalls.
  1003. * sysdeps/generic/memchr.c: Handle 64-bit longwords.
  1004. * sysdeps/generic/strlen.c: Likewise.
  1005. * sysdeps/generic/strchr.c: Likewise.
  1006. * sysdeps/unix/sysv/sco3.2.4/Makefile: Remove gratuitous `.c'.
  1007. * Makerules [objects] (install-others): Add $(libdir)/libc.a to
  1008. this, instead of adding $(libc.a) to install-lib.
  1009. ($(libdir)/libc.a): New target to install from $(libc.a).
  1010. * sysdeps/unix/sysv/sco3.2.4/__setsid.S: New file.
  1011. * sysdeps/unix/bsd/bsd4.4/__setsid.S: New file.
  1012. Mon May 24 16:49:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1013. * sysdeps/unix/sysv/linux/__setsid.S: Moved to unix/sysv/sysv4,
  1014. and replaced with #include of that.
  1015. * sysdeps/unix/bsd/sun/sunos4/__setsid.S: New file.
  1016. * sysdeps/unix/bsd/ultrix4/__setsid.S: New file.
  1017. * posix/Makefile (install): Define to getconf.
  1018. * crypt: New version from glad.
  1019. * sysdeps/unix/sysv/sysv4/__sysconfig.S: Renamed to sysconfig.S.
  1020. * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Change reference.
  1021. * sysdeps/unix/sysv/sysv4/Dist: Add sysconfig.S.
  1022. * sysdeps/generic/Makefile (siglist.c): Use dir and notdir
  1023. functions to guarantee qualified path name for make_siglist.
  1024. * time/Makefile (tzcompile): Use $(@D) for target directory, not
  1025. reference to nonexistent 4th dep.
  1026. (localtime-file, posixrules-file): Turn these into absolute names.
  1027. (install-others): Simply refer to them.
  1028. ($(datadir)/zoneinfo/{localtime,posixrules}): Change targets of
  1029. these rules to $(localtime-file) and $(posixrules-file), respectively.
  1030. Use $(<D) for directory to pass zic.
  1031. * Makerules (installdirs): Use `sort' function to uniquize list of
  1032. directories.
  1033. * time/Makefile (install-others): Use $(datadir)/zoneinfo, not
  1034. $(datadir)zoneinfo (missing /).
  1035. * Makerules (install-lib): Refer to `$(libc.a)' instead of `libc.a'.
  1036. * setjmp/sigjmp_save.c: Renamed to sigjmp.c.
  1037. * setjmp/Makefile (routines): Change reference.
  1038. * sysdeps/unix/common/Makefile (siglist.c, make_siglist): Targets
  1039. removed.
  1040. * sysdeps/unix/common/make_siglist.c: File removed.
  1041. Sun May 23 01:00:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1042. * manual/Makefile (minimal-dist): Remove COPYING.LIB.
  1043. (doc-only-dist): Put it here.
  1044. Sun May 23 00:12:24 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1045. * Version 1.06 released.
  1046. * sysdeps/sparc/Dist: Add {u,}{div,rem}.S.
  1047. Sat May 22 18:17:08 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1048. * sysdeps/generic/make_siglist.c (main): Call signame_init, not
  1049. init_sigs.
  1050. * Makerules (native-compile): Compile $^, not just $<.
  1051. * sysdeps/unix/i386/sysdep.h (PSEUDO): Omit `.text'. Some
  1052. assemblers don't like `.text; ...'.
  1053. * Rules (all): Mention as target first, so it is the default goal.
  1054. * sysdeps/unix/i386/sysdep.S: #undef syscall_error before using it
  1055. as a label.
  1056. [NO_UNDERSCORES]: Define __syscall_error instead of syscall_error.
  1057. * sysdeps/unix/readdir.c: Decrement d_namlen until it no longer
  1058. includes any nulls.
  1059. * Makerules (+install-dirs): Variable removed.
  1060. (install): Don't depend on $(+install-dirs).
  1061. (installdirs): New target, to make $(dir $(+install)) using
  1062. mkinstalldirs. Make $(+install) depend on it.
  1063. * Makefile (distribute): Add mkinstalldirs.
  1064. * mkinstalldirs: New file.
  1065. * manual/Makefile (installdirs):
  1066. New target, using mkinstalldirs to create $(infodir).
  1067. ($(infodir)/libc.info): Depend on installdirs.
  1068. (minimal-dist): Remove Makefile.
  1069. (doc-only-dist): New variable, containing Makefile and mkinstalldirs.
  1070. (*.tar): Depend on $(doc-only-dist).
  1071. Sat May 22 16:31:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1072. Compile zoneinfo files directly into $(datadir)/zoneinfo, rather
  1073. than compiling them into the source directory and then copying.
  1074. * time/Makefile (zones-%): Put targets of generated rule in
  1075. $(datadir)/zoneinfo, not zoneinfo.
  1076. Don't make generated rules depend on zoneinfo/.
  1077. (zonenames, zones-%): Write into $@.new and then use atomic mv.
  1078. (zones, zoneinfo): Targets removed.
  1079. (zoneinfo/localtime, zoneinfo/posixrules): Change targets to be in
  1080. $(datadir)/zoneinfo; find $(localtime) and $(posixrules) there as well.
  1081. ($(localtime-file), $(posixrules-file)): Targets removed.
  1082. (install-data): Definition removed.
  1083. (install-others): Include $(zonenames) from $(datadir)/zoneinfo; and
  1084. $(localtime-file) and $(posixrules-file), from $(datadir)/zoneinfo
  1085. if they are not absolute file names.
  1086. * time/zic.c (dolink): If FROMFILE or TOFILE begins with a slash,
  1087. just set {FROM,TO}NAME to it, instead of prepending DIRECTORY.
  1088. Don't free {FROM,TO}NAME if it is {FROM,TO}FILE.
  1089. Fri May 21 13:23:32 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1090. * sysdeps/unix/i386/sysdep.S: Paste : onto syscall_error.
  1091. * sysdeps/unix/configure: Use grep -i when looking for syscalls.
  1092. (unix_syscall_h): Ignore syscall.h found in sysdeps/stub.
  1093. Remove __setpgrp from list of syscalls.
  1094. * sysdeps/unix/Makefile ($(common-objpfx)sys/param.h): Write defn
  1095. for MAXHOSTNAMELEN. The kludgemeister strikes again.
  1096. * posix/Makefile (glob/ChangeLog): Use mv -f.
  1097. * configure.in (os frobnication): Translate numbers separated by
  1098. `v's into numbers separated by dots.
  1099. * sysdeps/unix/sysv/sco3.2.4/syscall.h: New file.
  1100. * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Rewritten to do the
  1101. canonical wait3-style magic.
  1102. * sysdeps/unix/sysv/sco3.2.4/{Makefile,Dist,sco_pgrp.S,
  1103. __getpgrp.c,__setpgrp.c,__setsid.c}: New files.
  1104. * Makerules ($(common-objpfx)stub-$(subdir)): Add /dev/null to
  1105. inner sed command.
  1106. * manual/Makefile ($(objpfx)%.info, $(objpfx)%.dvi): New rules.
  1107. ($(infodir)/libc.info): Take basename of each $<* before using it.
  1108. (glibc-targets): Add stubs.
  1109. (stubs, $(common-objpfx)stub-manual): New targets.
  1110. * time/Makefile (distribute): Add yearistype.
  1111. * time/yearistype: New file.
  1112. * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Don't use ARGS_4
  1113. macro; just set %ecx to %esp instead. Pop the stack before doing
  1114. the system call, so the add doesn't clear the condition codes.
  1115. * sysdeps/unix/start.c [HAVE_GNU_LD]: Put `start' symbol alias
  1116. under [! NO_UNDERSCORES && ! __GNUC__].
  1117. * sysdeps/unix/sysdep.h (C_LABEL): Use ## to paste NAME and : together.
  1118. * sysdeps/unix/i386/sysdep.h (DO_CALL): Add missing backslash.
  1119. Thu May 20 18:01:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1120. * Makefile ($(+subdir_targets)): Remove old rule. Replace with
  1121. static pattern rule to depend on DIR/TARGET for each subdir and target.
  1122. (all-subdirs-targets): Define variable to contain names of all
  1123. those targets.
  1124. ($(all-subdir-targets)): Define rule for these to do sub-make.
  1125. * sysdeps/unix/sysv/sysv4/direct.h (D_NAMLEN): Subtract one for
  1126. the terminating null character.
  1127. * sysdeps/unix/sysv/sco3.2.4/direct.h (D_NAMLEN): Copy defn from
  1128. that file.
  1129. Thu May 20 11:02:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
  1130. * sysdeps/posix/__getpgsz.c: New file.
  1131. * sysdeps/unix/sysv/sysv4/__getpgsz.c: New file, include the posix one.
  1132. * sysdeps/posix/__getdtsz.c: New file.
  1133. * sysdeps/unix/sysv/sysv4/__getdtsz.c: New file, include the posix one.
  1134. * sysdeps/unix/sysv/sysv4/{__sysconf.c, __sysconfig.S,
  1135. sysconfig.h, Makefile, Dist}: New files.
  1136. * sysdeps/generic/confname.h (enum for sysconf): Add _SC_PAGESIZE.
  1137. * sysdeps/posix/__sysconf.c: Include stddef.h.
  1138. (__getpagesize): Declare.
  1139. (__sysconf, case _SC_PAGESIZE): Call __getpagesize.
  1140. Wed May 19 14:03:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1141. * manual/Makefile (routines, aux, sources, objects, headers):
  1142. Define empty.
  1143. * Makeconfig (infodir): Define.
  1144. * Makefile (+other_dirs): Add manual.
  1145. * manual/Makefile: Include ../Makeconfig if it exists.
  1146. (subdir): Export it.
  1147. (find-includes): Output variable name is $(@F), not $@.
  1148. (distribute): Export it.
  1149. (mostlyclean, distclean, realclean, clean, subdir_clean): New targets.
  1150. (install, subdir_install): New targets.
  1151. (infodir, prefix, INSTALL_DATA, INSTALL): Define vars if undefined.
  1152. ($(infodir)/libc.info): New target.
  1153. (dist): Use ../Make-dist if it exists.
  1154. (glibc-targets): New variable.
  1155. ($(glibc-targets)): Make no-op targets.
  1156. * config.guess: New file, maintained by Cygnus.
  1157. * configure.in: Move AC_PREPARE before arg lossage check.
  1158. If $target is unset, try setting it from config.guess.
  1159. * Makefile (distribute): Add config.guess.
  1160. * inet/getnetbyad.c: Change first arg type to int32_t.
  1161. * inet/inet_mkadr.c: Change arg types to u_int32_t.
  1162. * inet/inet_lnaof.c: Change return type to u_int32_t.
  1163. * inet/inet_net.c: Likewise.
  1164. * inet/inet_netof.c: Likewise.
  1165. * inet/res_send.c, inet/res_query.c, inet/res_mkqry.c,
  1166. inet/res_init.c, inet/res_debug.c, inet/res_comp.c,
  1167. inet/inet_addr.c, inet/herror.c, inet/gethstnmad.c, inet/resolv.h,
  1168. inet/netdb.h, inet/arpa/nameser.h, inet/arpa/inet.h:
  1169. Snarfed latest code from BIND 4.9.1.
  1170. * inet/sys/bitypes.h: New file.
  1171. * conf/portability.h: New file.
  1172. * inet/Makefile (headers): Add sys/bitypes.h.
  1173. (distribute): Define to ../conf/portability.h.
  1174. * mach/__msg_destroy.c: Renamed to __msg_dest.c.
  1175. * mach/mig_syms.c: Renamed from mig_support_syms.c.
  1176. Added symbol alias for mig_strncpy.
  1177. * mach/__mig_strncpy.c: Renamed to mig_strncpy.c.
  1178. * mach/mig_strncpy.c: File removed.
  1179. * mach/Makefile (routines): Remove __mig_strncpy; change
  1180. mig_support_syms to mig_syms; change __msg_destroy to __msg_dest.
  1181. * sysdeps/posix/Makefile: Replace instances of `objpfx' and
  1182. `objdir' with `common-objpfx' and `common-objdir'.
  1183. Mon May 17 16:29:29 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1184. * time/asctime.c: Replace ` %2d' with `%3d' in FORMAT.
  1185. (asctime): Check return from sprintf being <0, not <25.
  1186. * sysdeps/unix/opendir.c: Include <stdio.h> for BUFSIZ.
  1187. * sysdeps/unix/i386/sysdep.h (PSEUDO): Put ; after DO_CALL use.
  1188. * sysdeps/i386/ffs.c: Use `nonzero' for asm label, instead of `1f'.
  1189. Sun May 16 17:59:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1190. * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Don't get fancy with
  1191. xchg; just push $trampoline and then push our args again, pop them
  1192. after the system call.
  1193. * time/tzfile.c (__tzfile_default): Don't assume TYPES[0] is
  1194. standard and TYPES[1] is DST. Instead, loop through all types:
  1195. if a type's isdst flag is set, set its idx to STDLEN and its
  1196. offset to DSTOFF; if isdst is clear, set its idx to 0 and its
  1197. offset to STDOFF.
  1198. * time/__tzset.c: When __tzfile_default returns having set
  1199. __use_tzfile, set __tzset_run before returning.
  1200. * sysdeps/posix/sleep.c: Block SIGALRM with sigprocmask before
  1201. changing its handler. Use sigaction instead of signal to set the
  1202. handler. Use sigsuspend to restore the blocked signals and pause
  1203. atomically, instead of using pause. Be sure to disable the alarm
  1204. when a signal other than SIGALRM wakes sigsuspend.
  1205. * time/Makefile (zic-cmd): Put the directory before the nondirectory.
  1206. * Makerules (stubs): Remove surrounding `ifdef +depfiles'...`endif'.
  1207. * time/Makefile: Include ../Makeconfig before trying to use $(objpfx).
  1208. * time/tzfile.c (__tzfile_compute): When there are transitions and
  1209. TIMER is not before the first one, find the first transition after
  1210. TIMER, and then set I to the type of the transition before it.
  1211. Set INFO from types[I], not types[type_idxs[I]].
  1212. * posix/Makefile (glob/configure): cd to glob before running autoconf.
  1213. * time/__tzset.c (compute_change): Don't add 1900 to YEAR.
  1214. (__tz_compute): Add 1900 to the year we pass to compute_change.
  1215. * time/gmtime.c: After calling __offtime, zero tm_gmtoff and set
  1216. tm_zone to "GMT".
  1217. * time/time.h [__OPTIMIZE__]: Remove gmtime macro version.
  1218. * time/tzfile.c (__tzfile_default): Fail if NUM_TYPES < 2, not if
  1219. NUM_TYPES != 2.
  1220. * time/tzfile.c (__tzfile_compute): Don't take arg TM.
  1221. Instead take new args long int *LEAP_CORRECT and int *LEAP_HIT.
  1222. Don't apply leap second correction to __timezone; instead set
  1223. *LEAP_CORRECT and *LEAP_HIT.
  1224. * time/__tzset.c (tzset_run): Renamed to __tzset_run, made global.
  1225. (__tzset): Change uses.
  1226. (__tz_compute): Change use here as well.
  1227. Make second arg be a `const struct tm *'. Don't call __tzfile_compute.
  1228. * time/localtime.c: Call __tzset if __tzset_run is clear.
  1229. New local vars LEAP_CORRECTION and LEAP_EXTRA_SECS.
  1230. If __use_tzfile is set, call __tzfile_compute and pass it their
  1231. addresses. Only need to call gmtime if __use_tzfile is clear. If
  1232. it is clear, pass result of gmtime to __tz_compute, instead of
  1233. dereferencing it first; and zero LEAP_CORRECTION and LEAP_EXTRA_SECS.
  1234. Subtract LEAP_CORRECTION from __timezone in __offtime call.
  1235. After __offtime, add LEAP_EXTRA_SECS to TP->tm_sec.
  1236. * sysdeps/generic/strsep.c: Increment END when writing a null to
  1237. it, and set *STRINGP to END rather than END+1, so *STRINGP never
  1238. points past the null.
  1239. Sat May 15 17:10:02 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  1240. * time/strftime.c: Alphabetize switch cases.
  1241. Add GNU extensions %h, %C, %k, %l.
  1242. * time/asctime.c: Make RESULT big enough for each %d to be 2^64.
  1243. Protect against tm_wday and tm_mon being out of bounds; use "???"
  1244. if they are.
  1245. * time/{emkdir,ialloc,scheck,zic,zdump}.c: New versions from ADO.
  1246. * time/africa, time/antarctica, time/asia, time/australasia,
  1247. time/europe, time/northamerica, time/southamerica,
  1248. time/pacificnew, time/etcetera, time/factory, time/systemv,
  1249. time/solar87, time/solar88, time/solar89, time/leapseconds:
  1250. Updated from Arthur David Olsen's latest.
  1251. * sysdeps/generic/__expm1.c, sysdeps/generic/asinh.c,
  1252. sysdeps/generic/exp__E.c, sysdeps/generic/log.c,
  1253. sysdeps/generic/log1p.c, sysdeps/generic/mathimpl.h,
  1254. sysdeps/generic/pow.c, sysdeps/mach/hurd/__ioctl.c,
  1255. sysdeps/mach/hurd/stdio_init.c, sysdeps/unix/bsd/clock.c: Put
  1256. `const' qualifier always after storage classes.
  1257. * sysdeps/unix/bsd/sequent/i386/__sigvec.S (trampoline): Use
  1258. `call', not `jsr'.
  1259. (__sigvec): Exchange the scratch reg with 16(%esp) (fourth arg
  1260. slot), not 0(%esp) (return PC slot). Use ARGS_4 to point the
  1261. syscall at the args.
  1262. * sysdeps/unix/common/__getgrps.c: When gid_t==int, and SIZE!=0,
  1263. return N from __bsd_getgroups.
  1264. * posix/unistd.h (__need_NULL): Define before including <stddef.h>.
  1265. 1003.1-1990 2.7.1 says it should be here.
  1266. Sat May 15 14:54:25 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
  1267. * time/__tzset.c (compute_change): Add 1900 to YEAR, not 1970.
  1268. Fri May 14 21:24:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
  1269. * sysdeps/unix/sysv/sysv4/solaris2/start.c: Define NO_EXPLICIT_START.
  1270. * sysdeps/unix/sparc/start.c [NO_EXPLICIT_START]: Don't asm
  1271. `_start' into `start' (e.g., for Solaris).
  1272. * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h: New file.
  1273. Fri May 14 19:34:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1274. * malloc/Makefile: Remove depend-malloc dependency on malloc/gmalloc.c.
  1275. * posix/Makefile (headers): Add sys/unistd.h.
  1276. * posix/sys/unistd.h: New file, just includes <unistd.h>.
  1277. * sysdeps/unix/common/glue-ctype.c (main): Define generated array
  1278. as `unsigned char' rather than `char'.
  1279. * sysdeps/unix/start.c [__GNUC__]: Use asm frob to make `start'
  1280. asm name of _start.
  1281. * sysdeps/unix/opendir.c [! _STATBUF_ST_BLKSIZE]: Don't fstat and
  1282. use st_blksize; try BUFSIZ instead.
  1283. * sysdeps/unix/Makefile (ioctls): Don't use sed to remove final |
  1284. from snarf-ioctls output; just append a dummy alternative instead.
  1285. * sysdeps/posix/__wait3.c: Fix arg types.
  1286. * Makerules ($(common-objpfx)stub-$(subdir)): Use @ for sed
  1287. separator char. Pass extra file /dev/null in case `...` gets empty.
  1288. * sysdeps/unix/sysdep.h (C_LABEL): Define new macro.
  1289. * sysdeps/unix/i386/sysdep.h (ENTRY): Use it.
  1290. * sysdeps/unix/sparc/sysdep.h (ENTRY): Likewise.
  1291. * sysdeps/unix/sparc/__brk.S: Use C_LABEL and ENTRY instead of
  1292. C_SYMBOL_NAME.
  1293. * sysdeps/unix/i386/__brk.S: Use C_LABEL instead of C_SYMBOL_NAME.
  1294. Fri May 14 17:41:42 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
  1295. * sysdeps/mips/sqrt.c [HAVE_GNU_AS]: Use the IEEE 754 version of
  1296. sqrt since gas can't handle the `sqrt.d' synthetic instruction.
  1297. Fri May 14 16:33:47 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1298. * stdio/Makefile (routines): Add tempname.
  1299. * sysdeps/unix/common/make_siglist.c: #define const to empty
  1300. around #include of <signal.h>.
  1301. * sysdeps/unix/errnos.awk: Surround generated `DO' macro calls
  1302. with #ifdef on the E* symbol.
  1303. * sysdeps/unix/common/make_siglist.c [! HAVE_SYS_SIGLIST &&
  1304. HAVE__SYS_SIGLIST]: Define sys_siglist to _sys_siglist.
  1305. * termios/Makefile (headers): Add termbits.h.
  1306. * posix/Makefile (headers): Add waitflags.h and waitstatus.h.
  1307. * math/math.h (struct __complex): Rename to struct __cabs_complex.
  1308. __complex is now a reserved word in GCC.
  1309. * sysdeps/generic/cabs.c (cabs): Likewise.
  1310. * sysdeps/ieee754/cabs.c (cabs, z_abs): Likewise.
  1311. * sysdeps/unix/common/glue-ctype.c: Test for _ctype__ before _ctype_.
  1312. * posix/Makefile (headers): Add confname.h.
  1313. Thu May 13 00:25:53 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  1314. * ctype/Makefile (tags_sources): Don't define.
  1315. * MakeTAGS [subdir==ctype] (tags_sources): Put headers before sources.
  1316. * time/__tzset.c (compute_change): Add 1970 to YEAR before using it.
  1317. * sysdeps/unix/readdir.c: Pass a BASEP arg to __getdirentries.
  1318. Wed May 12 20:36:51 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  1319. * Makefile (distribute): Add aclocal.m4.
  1320. * dirent/list.c (test): Clear errno before readdir loop. Complain
  1321. if errno is set thereafter.
  1322. * sysdeps/unix/sysv/sysv4/solaris2/utsnamelen.h: New file.
  1323. * sysdeps/unix/sysv/sysv4/solaris2/__utimes.S: New file.
  1324. * sysdeps/unix/sysv/sysv4/solaris2/sigaltstack.S: New file.
  1325. * sysdeps/unix/sysv/sysv4/solaris2/Makefile: New file.
  1326. * sysdeps/unix/bsd/sun/sparc/start.c: Moved to sysdeps/unix/sparc.
  1327. * sysdeps/unix/sparc/start.c: Moved from sysdeps/unix/bsd/sun/sparc.
  1328. Surround all shared library frobnication code with #ifndef NO_SHLIB.
  1329. * sysdeps/unix/sysv/sysv4/solaris2/start.c: New file.
  1330. * configure.in (os = solaris[2-9]*): base_os=unix/sysv/sysv4.
  1331. * sysdeps/sparc/setjmp.S: Include <sysdep.h>, not "DEFS.h".
  1332. Use ENTRY(__setjmp) instead of FUNC(___setjmp).
  1333. * sysdeps/sparc/divrem.m4: [__svr4__]: Include <sys/trap.h>
  1334. instead of <machine/trap.h>.
  1335. * sysdeps/sparc/__longjmp.S: Include <sysdep.h>, not "DEFS.h".
  1336. Use ENTRY(__longjmp) instead of FUNC(___longjmp).
  1337. [__svr4__]: Use <sys/trap.h> instead of <machine/trap.h>.
  1338. * sysdeps/unix/i386/sysdep.h (C_SYMBOL_NAME, SYS_ify): Moved to
  1339. sysdeps/unix/sysdep.h.
  1340. * sysdeps/unix/sparc/sysdep.h: New file.
  1341. * sysdeps/unix/bsd/sun/sparc/sysdep.h: File removed.
  1342. * sysdeps/unix/sparc/__brk.S: New file.
  1343. * sysdeps/unix/sparc/__brk.c: File removed.
  1344. Wed May 12 19:43:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  1345. * malloc/cfree.c: Put malloc.h include in _MALLOC_INTERNAL conditional.
  1346. Wed May 12 16:24:23 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  1347. * Makeconfig (+link): Put $(LDFLAGS) in the value.
  1348. * sysdeps/unix/bsd/sun/sparc/Makefile (LDFLAGS): Set it.
  1349. * posix/glob.c: Move include <unistd.h> before dir includes.
  1350. [HAVE_UNISTD_H] [! POSIX] [_POSIX_SOURCE]: Define POSIX.
  1351. * grp/initgroups.c [! NGROUPS_MAX || NGROUPS_MAX == 0]: Just
  1352. return 0 and do nothing.
  1353. * sysdeps/unix/sysv/sco3.2.4/__{sys,path}conf.S: New files.
  1354. * posix/unistd.h: Include <confname.h>; remove _{SC,CS,PC}_* defns.
  1355. * sysdeps/generic/confname.h: New file.
  1356. * sysdeps/unix/sysv/sco3.2.4/confname.h: New file.
  1357. * malloc/cfree.c: Include <malloc.h> instead of <stdlib.h>.
  1358. [_LIBC]: Use function_alias only under this conditional.
  1359. [! _LIBC] (cfree): Define a function that just calls free.
  1360. * posix/Makefile (glob.tar): Depend on glob/ChangeLog.
  1361. (glob/configure): Just run autoconf, don't do a sub-make.
  1362. (glob/ChangeLog): New target.
  1363. (%.Z, %.z): New rules.
  1364. Mon May 10 16:56:09 1993 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
  1365. * malloc/cfree.c: Put the meat of the file inside a "#if
  1366. defined(__GNU_LIBRARY__)" clause, so that gmalloc.c, which
  1367. incorporates this file, can be used outside of the C library.
  1368. Sun May 9 16:57:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1369. * stdio/fseek.c: Don't call __flshfp unless STREAM is writable.
  1370. * string/tester.c (main): Remove unused variable.
  1371. * sysdeps/unix/bsd/set[er][gu]id.c: New files.
  1372. * sysdeps/unix/mk-local_lim.c (NAME_MAX): Define to 255 if undefined.
  1373. * malloc/Makefile (malloc-dist): Add ChangeLog and mem-limits.h.
  1374. (malloc/ChangeLog): New rule using Noah's changelog-extract.
  1375. (malloc.tar): Use o flag to tar to make compatible archives.
  1376. (gmalloc-routines): Add calloc, valloc, and cfree.
  1377. (dist-routines): Remove [cv]alloc from here.
  1378. (routines): Remove cfree from here.
  1379. Fri May 7 16:45:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1380. * sysdeps/posix/ttyname.c: Replace fixed-sized NAME array with
  1381. static char *NAME and static size_t NAMELEN.
  1382. Don't check S_ISCHR.
  1383. Don't hack NAME before the loop.
  1384. If need more than NAMELEN chars to hold the name, increase NAMELEN
  1385. to more than big enough and malloc NAME.
  1386. Save errno in local var SAVE before doing anything; restore it
  1387. when returning non-error.
  1388. * Makefile (generated): Add $(objpfx)stubs.h.
  1389. (README): New rule to call Make-dist to do the work.
  1390. * mach/Makefile: Don't include mach-syscalls.mk if no_deps=t.
  1391. * crypt/GNUmakefile (%.z): New rule for gzipping.
  1392. (crypt.tar): Use o flag to tar to make compatible archives.
  1393. * Makeconfig: Find config.make in $(common-objpfx), not $(objpfx).
  1394. * io/Makefile (headers): Remove filebits.h.
  1395. * sysdeps/unix/sysv/sysv4/Dist: File removed.
  1396. * Makefile (README): Move from here.
  1397. * Make-dist (README): To here.
  1398. * sysdeps/unix/Makefile (sys/param.h): Don't depend on sys/. It
  1399. was causing sys/param.h to be remade all the time.
  1400. * aclocal.m4 (GLIBC_PROVIDES): Add shell comment about configure
  1401. being generated and not to be editted.
  1402. * sysdeps/unix/swapon.S: Moved to sysdeps/unix/common.
  1403. * sysdeps/unix/configure: Add swapon to list of syscalls to check for.
  1404. * sysdeps/unix/mk-local_lim.c: New file, modified from
  1405. sysdeps/unix/common/mk-local_lim.c.
  1406. * sysdeps/unix/common/Makefile: Move local_lim.h rules from here.
  1407. * sysdeps/unix/Makefile: Put them there.
  1408. (local_lim-CFLAGS): Define new variable.
  1409. (mk-local_lim): Replace $(native-compile) with its value plus
  1410. $(local_lim-CFLAGS).
  1411. * sysdeps/unix/common/Dist: Remove mk-local_lim.c.
  1412. * sysdeps/unix/Dist: Add it here.
  1413. * Makerules (make-dummy-dep): New variable; canned command.
  1414. ($(objpfx)%.dep: {$(objpfx),}%.s): New rules using $(make-dummy-dep).
  1415. (sysd-Makefile): Write a $(objpfx)%.dep: $dir/%.s rule using it.
  1416. * misc/ioctl.c: Replace function_alias with:
  1417. [HAVE_GNU_LD]: Use symbol_alias.
  1418. [! HAVE_GNU_LD]: Write out the function; it must fetch its third arg
  1419. with va_arg and then call __ioctl.
  1420. Thu May 6 14:56:16 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1421. * misc/sys/ioctl.h (__ioctl, ioctl): Changed prototype to take 2
  1422. args and ... rather than a 3rd __ptr_t arg.
  1423. * sysdeps/stub/__ioctl.c: Changed defn.
  1424. * sysdeps/unix/bsd/sun/sunos4/tcflow.c: Include <sys/ioctl.h>.
  1425. * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Define as
  1426. -DHAVE_SYS_TERMIOS_H if $(sysincludedir)/sys/termios.h exists.
  1427. (make-ioctls): Replace command `$(common-objdir-compile)' with
  1428. that var's contents from Makerules, plus $(make-ioctls-CFLAGS).
  1429. * sysdeps/unix/ioctls-tmpl.c [HAVE_SYS_TERMIOS_H]: Get <sys/termios.h>.
  1430. * misc/sys/ioctl.h: Include <sys/ttydefaults.h> after <ioctls.h>.
  1431. * sysdeps/unix/bsd/sun/sunos4/speed.c (cfget[io]speed): Return the
  1432. raw speed, rather than using it as an index into `speeds'.
  1433. (cfset[io]speed): Treat SPEED being an index into `speeds' just as
  1434. if it were the value of that element.
  1435. * termios/termios.h: Remove definitions of B[0-9]+ and EXT[AB].
  1436. * sysdeps/generic/termbits.h: Put them here instead.
  1437. * sysdeps/unix/bsd/sun/sunos4/termbits.h: Add new defns for those.
  1438. * sysdeps/unix/Makefile (termbits-edit): If termbits.h is not the
  1439. generic version, set this to an | egrep command which filters out
  1440. symbols appearing in termbits.h.
  1441. (ioctls): Depend on $(sysincludedir)sys/termios.h if it exists.
  1442. Pass all deps after first to snarf-ioctls.
  1443. Put $(termbits-edit) in cmd line; it may be empty or a pipe.
  1444. Pipe through sort|uniq before tr (just to cut down on duplicates).
  1445. * sysdeps/generic/Makefile, sysdeps/unix/Makefile: When deciding
  1446. whether to generate files whose stub versions are chosen, also
  1447. include the generation rules when the chosen directory is
  1448. $(common-objpfx), so they continue to be defined after running once.
  1449. * sysdeps/posix/Makefile: Use patsubst instead of substition
  1450. references when the substitution or replacement contains a $.
  1451. Make has a bug (which I just fixed) with such substitution references.
  1452. * posix/wait3.c: Fixed arg types in fn alias.
  1453. * posix/wait4.c: Likewise.
  1454. * sysdeps/posix/Makefile: Remove vpath %.h line.
  1455. * Makerules: Add vpath %.h directive.
  1456. * sysdeps/posix/Makefile (generated, before-compile): Add
  1457. $(common-objpfx)stdio_lim.h, not just plain stdio_lim.h.
  1458. * Makerules (depend-$(subdir)): Put $(objpfx) in the output, not
  1459. its expansion.
  1460. (+make-deps): Add sed clause to translate the expansion of
  1461. $(objpfx) back into the variable reference.
  1462. Wed May 5 15:59:40 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1463. * sysdeps/unix/sysv/sco3.2/local_lim.h: New file.
  1464. * sysdeps/unix/sysv/sco3.2/Makefile: New file
  1465. * sysdeps/unix/sysv/sco3.2/Dist: New file.
  1466. * sysdeps/unix/sysv/sco3.2/__fltused.c: New file.
  1467. * sysdeps/unix/configure: New file.
  1468. * sysdeps/unix/inet/__select.S: Moved to sysdeps/unix/common.
  1469. This is because select is a call sysdeps/unix/configure wants to
  1470. check for, and it simplifies life for all those to be in unix/common.
  1471. * sysdeps/tahoe/Implies: Remove $(bsdmath)tahoe line.
  1472. * sysdeps/unix/sysv/sco3.2.4/{__sigact,__sigproc,
  1473. sigpending,sigsuspend}.S: New files.
  1474. * Makefile (INSTALL): Depend on manual/maint.texi, not
  1475. manual/maint.texinfo. Use -- instead of + for long options.
  1476. * configure.in: After setting $sysnames initially and adding the
  1477. FPU directory, expand and uniquize the list with code that used to
  1478. be in find-sysdirs. Make $sysnames blank-separated rather than
  1479. newline-separated. Generalize loop iterating over $sysnames, so
  1480. it sets $uname and sources sysdep configure scripts. Move
  1481. sys_siglist and ctype checks to sysdeps/unix/common/configure.in.
  1482. Set Make variable `config-sysdirs' to $sysnames in config.make,
  1483. and don't frob Sysnames or sysdirs files at all.
  1484. * find-sysdirs: File removed.
  1485. * Makefile (distribute): Remove find-sysdirs.
  1486. (sysd-dirs): Depend on config.make instead of config.make.
  1487. Use $(sysdirs) in place of `cat $<`.
  1488. * aclocal.m4: New file.
  1489. * sysdeps/unix/common/configure.in: New file, contains checks for
  1490. sys_siglist and ctype glue moved from top-level configure.in.
  1491. * Makerules (sysdirs, Sysnames): Rules removed.
  1492. Don't include sysdirs.
  1493. (sysdirs): Define variable from $(config-sysdirs).
  1494. (sysd-Makefile): Depend on config.make instead of sysdirs.
  1495. Use $(sysdirs) instead of filtering the sysdirs file.
  1496. * Make-dist (+sysdep-tsrcs): Include configure and configure.in
  1497. from sysdep dirs.
  1498. (dist.tar): Use o flag to tar for compatible archives.
  1499. (dist): Depend on foo.z instead of foo.Z.
  1500. ($(tardir){-crypt,}.tar.z): Renamed from .Z.
  1501. (%.z: %): New rule.
  1502. (%/configure: %/configure.in): New rule.
  1503. Mon May 3 17:45:06 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1504. * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: New file.
  1505. * sysdeps/unix/sysv/sco3.2.4/direct.h: New file.
  1506. * sysdeps/unix/readdir.c: Moved from unix/bsd, rewritten to always
  1507. use __getdirentries and D_NAMLEN macro, no #ifdefs.
  1508. * sysdeps/unix/sysv/readdir.c, sysdeps/unix/bsd/bsd4.4/readdir.c,
  1509. sysdeps/unix/bsd/ultrix4/readdir.c,
  1510. sysdeps/unix/bsd/hp/m68k/readdir.c,
  1511. sysdeps/unix/bsd/sun/readdir.c: Files removed.
  1512. * sysdeps/unix/common/{close,open,rewind,seek,tell}dir.c: Moved to
  1513. sysdeps/unix.
  1514. * sysdeps/unix/sysv/direct.h: New file.
  1515. * sysdeps/unix/bsd/direct.h (D_NAMLEN): Define to use d_namlen.
  1516. * sysdeps/unix/sysv/sysv4/direct.h (D_NAMLEN): Define to calculate
  1517. from d_reclen.
  1518. * sysdeps/unix/__getdents.c: New file.
  1519. * sysdeps/stub/direct.h: New file.
  1520. * sysdeps/unix/bsd/Dist: Remove bsddir.h.
  1521. * sysdeps/unix/sysv/sysv4/readdir.c: Moved to unix/sysv.
  1522. * sysdeps/unix/sysv/sysv4/bsddir.h: Renamed to direct.h.
  1523. * sysdeps/unix/bsd/bsddir.h: Likewise.
  1524. * sysdeps/unix/common/opendir.c: Include "direct.h", not "bsddir.h".
  1525. * sysdeps/unix/sysv/sysv4/readdir.c: Likewise.
  1526. * dirent/Makefile (distribute): Define to include direct.h.
  1527. * sysdeps/unix/common/opendir.c: Be sure to close FD if fcntl fails.
  1528. * sysdeps/generic/memcopy.h: #include <sys/cdefs.h> and use __P
  1529. prototypes instead of EXFUN.
  1530. * sysdeps/generic/memcmp.c (__ptr_t, const): Define as appropriate
  1531. conditional on [__cplusplus || __STDC__].
  1532. Thu Apr 29 21:48:37 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1533. * Makefile ($(libc.a)): Make this, not lib, depend on subdir_lib.
  1534. * Makerules ($(objpfx)%.{o,dep} rules): Remove spurious / after
  1535. $(objpfx) in dependency patterns.
  1536. * sysdeps/unix/bsd/sun/sparc/start.c (_start): Define with
  1537. `asm ("start")', so its asm name is `start' rather than `__start'.
  1538. Remove asm that did a `.set' pseudo-op, which Sun as seems not to grok.
  1539. Wed Apr 28 12:59:46 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1540. * sysdeps/stub/system.c: Return 0 if LINE is nil.
  1541. * sysdeps/unix/__execve.S [!SYS_execve && SYS_exec]: Define
  1542. SYS_execve to be SYS_exec.
  1543. * time/mktime.c: Include <sys/types.h>.
  1544. Mon Apr 26 17:10:21 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  1545. * sysdeps/generic/memcmp.c: Deansideclized.
  1546. [HAVE_CONFIG_H]: Include "config.h".
  1547. [HAVE_STRING_H || _LIBC]: Put #include <string.h> under this.
  1548. [_LIBC]: Put #include <memcopy.h> under this conditional.
  1549. [! _LIBC]: Define op_t, OPSIZ, byte, and MERGE.
  1550. * time/mktime.c: Define __isleap if not defined.
  1551. Fri Apr 23 18:08:33 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  1552. * sysdeps/unix/sysv/__getdents.c: New file.
  1553. * sysdeps/unix/sysv/sysv4/sys_getdents.S: Moved to unix/sysv.
  1554. * sysdeps/unix/sysv/Makefile [subdir==dirent]: Add sys_getdents to
  1555. sysdep_routines.
  1556. * sysdeps/unix/sysv/Dist: Add sys_getdents.S.
  1557. * sysdeps/unix/sysv/sysv4/Dist: Remove it from here.
  1558. * sysdeps/unix/sysv/sysv4/Makefile: File removed.
  1559. Thu Apr 22 17:40:28 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1560. * sysdeps/unix/bsd/sony/newsos4/m68k/sysdep.h: New file.
  1561. * sysdeps/generic/strsep.c: Set *STRINGP to END+1, not END.
  1562. * configure.in (arg parsing): Grok --verbose and set verbose=yes.
  1563. * sysdeps/sparc/{umul,mul}.S: Remove ' from ! comment.
  1564. * sysdeps/sparc/Makefile (*.S): Find divrem.m4 in this sysdeps dir.
  1565. * sysdeps/unix/bsd/sun/sunos4/speed.c (cfset[io]speed): Typo fix.
  1566. * sysdeps/unix/bsd/sun/sparc/vfork.S: Use a sethi insn and %g1 as
  1567. a temporary, rather than expecting the address to fit into a short
  1568. jump.
  1569. * sysdeps/unix/bsd/__fork.S: Moved to sysdeps/unix/__fork.S; we
  1570. want unix/MACHINE/__fork.S to come first.
  1571. * sysdeps/unix/bsd/bsd4.4/__wait3.c: Make STAT_LOC type
  1572. `__WAIT_STATUS' (defined in <sys/wait.h>).
  1573. * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Likewise.
  1574. * signal/sigvec.c: Change args from `struct __sigvec *' to
  1575. `struct sigvec *' in function alias.
  1576. * signal/sigproc.c: Make arg SET `const sigset_t *' in fn alias.
  1577. * signal/sigaction.c: Change args from `struct __sigaction *' to
  1578. `struct sigaction *' in function alias.
  1579. * sysdeps/unix/common/glue-ctype.c (main) [! TABLE]: Write just a
  1580. comment saying we don't know the table name, rather than barfing
  1581. with `TABLE' an undefined variable.
  1582. * sysdeps/generic/printf_fp.c: Fixed test to chose %e format.
  1583. Make loop condition --J > 0; break out of loop when FPNUM < F.
  1584. After loop, use %e format iff J <= 0.
  1585. * posix/glob/Makefile.in (.c.o): Put $(CFLAGS) last.
  1586. (glob.o): Depend on glob.c.
  1587. (fnmatch.o): Depend on fnmatch.c.
  1588. Wed Apr 21 12:40:03 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1589. * sysdeps/posix/Makefile (before-compile): Add stdio_lim.h.
  1590. * configure.in (signed size_t test): Remove 's from rhs of AC_DEFINE.
  1591. * stdio/internals.c (seek_to_target): If __stdio_check_offset
  1592. fails with ESPIPE, do nothing.
  1593. * sysdeps/generic/printf_fp.c: For %e type, add K-1 to CUTOFF,
  1594. rather than K.
  1595. When there are no post-decimal digits, never write a decimal point
  1596. for a %g spec unless it had a # modifier.
  1597. Move K==-1 test to write decimal point before K==CUTOFF test to
  1598. round and write last digit.
  1599. Merge code for first post-decimal digit with code for remaining digits.
  1600. Move code to write leading fractional zeros inside K<0 test which
  1601. determines if any will be needed.
  1602. In decimal fraction notation code, use R10 temporary instead of
  1603. repeating (R * 10) twice.
  1604. * stdio/fwrite.c: Only fail when __stdio_check_offset fails if it
  1605. failed with ESPIPE. If offset==-1, don't change it or target.
  1606. * sysdeps/posix/defs.c (stdstream): Rearrange initializers, as
  1607. FILE has been rearranged. Set offset and target to -1, not 0.
  1608. * sysdeps/posix/stdio_init.c: If STREAM isatty, set its seek
  1609. function to NULL. Unix bites.
  1610. * stdio/ungetc.c: Call __flshfp if linebuf_active or put_limit>buffer.
  1611. * sysdeps/unix/bsd/sun/sparc/start.c [__GNUC__ < 2]: #error.
  1612. * time/mktime.c: Deansideclized.
  1613. Don't include <errno.h> or <limits.h>; we don't need them.
  1614. [DEBUG] (printtm): Made static.
  1615. [HAVE_CONFIG_H]: Include "config.h".
  1616. [__GNU_LIBRARY__ || HAVE_LIMITS_H]: Surround #include <limits.h>
  1617. with these conditionals.
  1618. * time/offtime.c (__mon_lengths): Move defn to mktime.c; replace
  1619. with extern decl.
  1620. * time/mktime.c (__mon_lengths): Define here; remove extern decl.
  1621. Mon Apr 19 18:42:59 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1622. * sysdeps/stub/tempname.c: New file.
  1623. * sysdeps/stub/sysd-stdio.c (__stdio_gen_tempname): Moved there.
  1624. * sysdeps/posix/tempname.c: New file.
  1625. * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Moved there.
  1626. * stdio/fopen.c: Don't set the offset to zero. That can falsely
  1627. give the impression that an unseekable object is seekable.
  1628. * stdio/internals.c (__flshfp): Discard any pushed back character
  1629. first thing after sanity checks.
  1630. (__flshfp): Deconditionalize code to call the output-room
  1631. function; we always want to give it a chance to prime the stream.
  1632. Remove code that reset bufp if put_limit==buffer. We want to let
  1633. the output-room function do that--that is priming the stream.
  1634. Fri Apr 16 12:24:21 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1635. * Makerules ($(libc.a)): Depend on lib-noranlib and have ranlib
  1636. command line.
  1637. (lib): Just depend on $(libc.a).
  1638. * sysdeps/unix/bsd/sun/sparc/start.c (init_shlib): Use __environ,
  1639. not environ.
  1640. * stdio/internals.c (__flshfp): Don't check that the buffer
  1641. actually contains anything when setting the put_limit to the end of
  1642. the buffer if linebuf_active.
  1643. (__flshfp): To write C into the buffer !FLUSH_ONLY, don't check
  1644. that bufp > buffer and get_limit == buffer. Check against
  1645. put_limit unless linebuf_active (in which case check against the
  1646. real put_limit, fp->__buffer + fp->__bufsize).
  1647. (__flshfp): Bother to call the output-room function if !FLUSH_ONLY
  1648. or bufp > buffer and get_limit <= linebuf-corrected put_limit.
  1649. (__flshfp): Check for a NULL output-room function before checking
  1650. if C will fit in the buffer.
  1651. (flushbuf): After putting C into the buffer,
  1652. set BUFFER_WRITTEN to zero and goto end instead of returning.
  1653. * stdio/ungetc.c: Test STREAM->__pushed_back before flushing the
  1654. STREAM if it's writable.
  1655. * posix/glob.c, posix/fnmatch.c: Surround code with
  1656. #if defined (_LIBC) || !defined (__GNU_LIBRARY__)
  1657. Thu Apr 15 19:35:59 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1658. * string/tester.c (main): Added tests for strsep.
  1659. * sysdeps/ieee754/frexp.c: New file.
  1660. Wed Apr 14 12:49:10 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1661. * Makerules (ar-it): Add c flag to ar commands.
  1662. * posix/glob.c [USG, NeXT]: Don't test these.
  1663. [HAVE_STRING_H]: Test this to include string.h and define ANSI_STRING.
  1664. [HAVE_MEMORY_H]: Test this instead of NEED_MEMORY_H.
  1665. [! ANSI_STRING]: Put decls of bcopy and #define of memcpy et al here.
  1666. * posix/fnmatch.c [HAVE_CONFIG_H]: #include "config.h".
  1667. Mon Apr 12 16:34:53 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1668. * posix/glob.c: Rationalize directory header conditionals.
  1669. Sun Apr 11 18:53:50 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1670. * stdio/internals.c: Remove __libc_fatal.
  1671. * sysdeps/stub/sysd-stdio.c: Remove __stdio_errmsg.
  1672. * sysdeps/posix/sysd-stdio.c: Likewise.
  1673. * sysdeps/stub/libc_fatal.c, sysdeps/posix/libc_fatal.c: New files.
  1674. * stdio/Makefile (routines): Add libc_fatal.
  1675. * stdio/stdio.h (FILE): Add new member `__linebuf_active' (flag).
  1676. Rearranged order of members slightly.
  1677. * stdio/setvbuf.c: Clear the linebuf_active flag.
  1678. * stdio/fseek.c: Likewise.
  1679. * stdio/internals.c (__flshfp): Test linebuf_active, not linebuf,
  1680. to decide to reset put_limit before calling the output-room function.
  1681. After calling it, if line-buffered, set put_limit to the
  1682. beginning of the buffer and set the linebuf_active flag.
  1683. (__fillbf): If linebuf_active is set, reset put_limit to the end
  1684. of the buffer, and clear the flag.
  1685. * stdio/ungetc.c: If STREAM is writable and has something in its
  1686. buffer, flush it.
  1687. * stdio/internals.c (__fillbf): When flushing all line-buffered
  1688. streams, don't test for their put_limits being > than their
  1689. buffers. We should let __flshfp figure it out.
  1690. * stdio/setvbuf.c: Always set the put_limit to the beginning of
  1691. the buffer.
  1692. * stdio/stdio.h (__putc): Rewritten to remove all knowledge of
  1693. magic for line-buffered streams. It now always calls __flshfp when
  1694. the bufp hits the put_limit.
  1695. * stdio/fwrite.c: When recalculating BUFFER_SPACE after calling
  1696. __flshfp, ignore the put_limit for the sake of line-buffered streams.
  1697. * stdio/fseek.c (fseek): Call __flshfp on STREAM unconditionally.
  1698. We don't want to try to put the conditions for when it is
  1699. necessary here as well.
  1700. * sysdeps/generic/printf_fp.c: When deciding whether to use %e
  1701. format for %g, break out of the loop on J as soon as F reaches
  1702. FPNUM; after the loop, set TYPE to 'e' if J<0, meaning we went all
  1703. the way through.
  1704. * misc/getpass.c (TCSASOFT): Define to 0 if undefined.
  1705. (getpass): Use a variable OUT to store the stream where output goes.
  1706. Use a variable NREAD to notice how much was read; if the last char
  1707. in the buffer is a newline, clobber it to a null terminator.
  1708. * posix/fnmatch.h [__cplusplus || __STDC__]: Don't #define const.
  1709. Thu Apr 8 19:29:37 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1710. * stdio/tst-printf.c (main): Added some floating-point tests.
  1711. * sysdeps/unix/bsd/sequent/i386/__sigvec.S: New file.
  1712. * sysdeps/unix/sysv/i386/__sigret.S: Moved to sysdeps/unix/i386.
  1713. Use DO_CALL instead of magic.
  1714. * sysdeps/unix/bsd/i386/__wait3.S: Use DO_CALL instead of magic.
  1715. Use scratch instead of %ecx and r1 instead of %edx.
  1716. * sysdeps/unix/bsd/i386/__vfork.S: Rewritten to not use SYSCALL__.
  1717. Use DO_CALL instead, and save the return PC in a register around
  1718. the trap.
  1719. * sysdeps/unix/i386/sysdep.h (DO_CALL): New macro to do syscall trap.
  1720. (PSEUDO): Use it instead of putting the code here.
  1721. * stdio/vfprintf.c (number): Write "0x" before padding, not after.
  1722. * sysdeps/unix/bsd/sequent/i386/sysdep.h: New file.
  1723. * sysdeps/unix/bsd/__setuid.c: #include <sys/types.h>.
  1724. Change argument type to uid_t.
  1725. * sysdeps/unix/bsd/__setgid.c: #include <sys/types.h>.
  1726. Change argument type to gid_t.
  1727. * sysdeps/unix/common/__getgrps.c: Restore errno after erroneous
  1728. syscall failure.
  1729. * stdio/tst-printf.c (fp_test): New function, batch of tests from
  1730. a bug report.
  1731. (main): Call it.
  1732. Wed Apr 7 17:17:17 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1733. * sysdeps/generic/pow.c (pow_p): Don't initialize K; was a dead store.
  1734. Mon Apr 5 21:17:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1735. * sysdeps/unix/common/__getgrps.c: If __bsd_getgroups returns an
  1736. error and SIZE==0, alloc temp space for NGROUPS_MAX elts and call
  1737. it again on that, so we can find the number of groups.
  1738. * stdio/__vfscanf.c (input_error): If DONE is nonzero, return it;
  1739. else return EOF.
  1740. (%c): Don't check for C==EOF at the end; let the following spec get it.
  1741. (%[eEfgG]): EOF after sign is conv_error, not input error.
  1742. * sysdeps/unix/common/__getgrps.c: If gid_t==int, pass LIST to
  1743. __bsd_getgroups, not NULL.
  1744. No error for SIZE > NGROUPS_MAX.
  1745. Sun Apr 4 18:52:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1746. * sysdeps/unix/{bsd,sysv}/i386/Implies: Files removed.
  1747. They should no longer be necessary, since configure now tries more
  1748. sysdeps directory permutations.
  1749. * sysdeps/unix/bsd/{i386,sun/sparc,hp/m68k,ultrix4/mips}/__set[ug]id.S:
  1750. Files removed. They should no longer be necessary, since the new
  1751. sysdeps scheme should find unix/bsd/__set[gu]id.c before
  1752. unix/__set[gu]id.S.
  1753. * sysdeps/unix/i386/__pipe.S: Use r1 in place of %edx and scratch
  1754. in place of %ecx.
  1755. * sysdeps/unix/i386/__wait.S: Likewise.
  1756. * sysdeps/unix/i386/__fork.S: Use r1 in place of %edx and r0 in
  1757. place of %eax.
  1758. * sysdeps/unix/i386/__vfork.S: Likewise.
  1759. * sysdeps/unix/i386/sysdep.h (scratch): #define as %ecx.
  1760. * sysdeps/unix/sysv/i386/linux/sysdep.h: Likewise.
  1761. * configure.in ($uname = generic): Set kernel_{version,release} to
  1762. empty before all else.
  1763. If /vmunix doesn't exist, try grovelling over /dynix instead.
  1764. * sysdeps/unix/Makefile (syscall.h): Double $ in sed cmd.
  1765. Fri Apr 2 15:15:44 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1766. * configure.in (config_vars): New variable; text to go in config.make.
  1767. Use AC_HEADER_EGREP to grovel stdarg.h for __gnuc_va_list and set
  1768. stdarg.h in config_vars if we find it.
  1769. * sysdeps/unix/bsd/sun/sunos4/tcsendbrk.c,
  1770. sysdeps/unix/bsd/sun/sunos4/tcflow.c,
  1771. sysdeps/unix/bsd/sun/sunos4/tcflush.c,
  1772. sysdeps/unix/bsd/sun/sunos4/tcsetattr.c,
  1773. sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c: New files.
  1774. * sysdeps/unix/Makefile (syscall.h): Add sed cmd to terminate
  1775. unterminated comments at the ends of lines.
  1776. * sysdeps/posix/getcwd.c: Deansideclized and added four tons of
  1777. portability goop.
  1778. Mon Mar 29 13:18:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1779. * sysdeps/unix/bsd/sun/sunos4/speed.c: New file.
  1780. * sysdeps/generic/termbits.h: New file, contents taken from termios.h.
  1781. * termios/termios.h: Remove type & macro defns; #include <termbits.h>.
  1782. [__OPTIMIZE__] (cf[gs]et[io]speed): Remove macro versions. They
  1783. just cause trouble because they want to be in termbits.h (since
  1784. they are sysdep) and also to come after the prototypes (which must
  1785. come after termbits.h to get speed_t and struct termios defined).
  1786. The optimization was insignificant anyway.
  1787. * termios/speed.c: Moved to sysdeps/generic.
  1788. * termios/cfsetspeed.c: Call cfset[io]speed, rather than doing it
  1789. ourselves.
  1790. * time/__tzset.c (tz_rule): Make member `secs' not a bitfield.
  1791. (compute_change): Complete rewrite; code basically stolen from
  1792. localtime3/localtime.c:transtime.
  1793. #include "tzfile.h" for SECSPERDAY; #define NOID first.
  1794. * sysdeps/unix/bsd/i386/__vfork.S: Don't try to #include __fork.S.
  1795. Instead, copy that code here and change `fork' to `vfork'.
  1796. * Makeconfig (+default_cflags): Rename to default_cflags.
  1797. (+cflags): Use that name.
  1798. * Makefile (configure): New rule.
  1799. Sun Mar 28 16:12:33 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  1800. * posix/fnmatch.c (case '*'): Before final loop, fold C1, rather
  1801. than foling *P before it goes into C1. C might need folding instead.
  1802. * posix/Makefile (tests): Add testfnm.
  1803. * posix/testfnm.{c,args}: New files.
  1804. Fri Mar 26 15:04:27 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1805. * time/mktime.c: Wholly new implementation from Noel Cragg.
  1806. * sysdeps/unix/bsd/sun/__sigret.S: New file.
  1807. * sysdeps/unix/bsd/sun/m68k/{Makefile,Dist}: New files.
  1808. * sysdeps/unix/bsd/sun/m68k/{sigcontext.h,sigtramp.c}: New files.
  1809. * sysdeps/unix/bsd/sun/sparc/__sigvec.S: Moved to sysdeps/unix/bsd/sun.
  1810. * Makefile (clean): Remove sysd-Makefile, sysd-dirs, sysdirs
  1811. (distclean): New target.
  1812. * sysdeps/unix/common/Makefile (generated): Add local_lim.h,
  1813. mk-local_lim, glue-ctype, glue-ctype.c, siglist.c, make_siglist.
  1814. * sysdeps/generic/Makefile (generated): Add bytesex.h,
  1815. det_endian, siglist.c, make_siglist.
  1816. * sysdeps/unix/Makefile (generated): Add errnos.h, errnos,
  1817. make-errnos, make-errnos.c, ioctls.h, ioctls, make-ioctls,
  1818. make-ioctls.c, errlist.c, make_errlist, syscall.h, sys/param.h,
  1819. param.h.c, param.h.dep, $(sys/param.h-includes).
  1820. * misc/Makefile (extra-objs): Define new var to include bsd-compat.o.
  1821. Fri Mar 26 14:53:30 1993 Michael John Haertel (mike@skinner.cs.uoregon.edu)
  1822. * malloc/malloc.c (malloc): Start searching at _heapindex, not
  1823. MALLOC_SEARCH_START.
  1824. * malloc/malloc.h (MALLOC_SEARCH_START): Macro removed.
  1825. * malloc/realloc.c (realloc): When malloc returns NULL, handle the
  1826. case of the block we need to unfree (which was just freed) having
  1827. been coalesced with its neighbors.
  1828. Thu Mar 25 13:40:17 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1829. * Rules (all): Depend on others.
  1830. * time/Makefile (zonenames): Change target to $(objpfx)zonenames.
  1831. Make the generated file prepend $(objpfx) to
  1832. Include that instead of zonenames.
  1833. (zones-%): Change target to $(objpfx)zones-%.
  1834. * Makefile ($(objpfx)Mcrt1.o): Put temporary Mcrt1.c file in
  1835. $(objdir), rather than the current directory.
  1836. * configure.in (arg parsing): Recognize `--exec-prefix' rather
  1837. than `--exec_prefix'.
  1838. * Rules (mostlyclean): Remove the .o files for $(tests) and $(others).
  1839. Remove $(objpfx)depend-$(subdir).
  1840. (clean): Remove $(extra-objs).
  1841. * Makefile (clean): Remove $(install-lib) from $(objdir).
  1842. Don't try to remove ansi/ and trad/ or dist.tar or lint.out.
  1843. Remove $(objpfx)depend-.
  1844. * time/Makefile (extra-objs): Define new var.
  1845. * malloc/Makefile (extra-objs): Likewise.
  1846. * Rules (+objs): Variable removed.
  1847. (clean): Use $(objects) in place of $(+objs).
  1848. * sysdeps/unix/Makefile (sys/param.h-includes): Move all this
  1849. outside of ifeq ($(subdir),misc).
  1850. Fixed sed command to filter out [hn]to[nh][sl].
  1851. (sys/param.h-includes): New target; dep on $(sys/param.h-includes).
  1852. * posix/fnmatch.h [!_POSIX_C_SOURCE || ...]: Make this test
  1853. _GNU_SOURCE, not _BSD_SOURCE; these are our extensions, not theirs.
  1854. (FNM_CASEFOLD): New bit.
  1855. (__FNM_FLAGS): Removed macro.
  1856. * posix/fnmatch.c (fnmatch): Don't test for bogus flag bits; who cares?
  1857. (FOLD): New macro to casefold a char if FNM_CASEFOLD.
  1858. Use it to fold all chars before comparison.
  1859. Wed Mar 24 16:09:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1860. * malloc/Makefile (malloc/%.c, malloc/%.h): Rules removed.
  1861. * stdio/stdio.h (fopencookie): Rename parameter IO_FUNCTIONS to
  1862. IO_FUNCS. The former conflicted with a typedef name, which ist
  1863. verboten.
  1864. * time/sys/time.h (enum __itimer_which): Remove trailing comma.
  1865. Mon Mar 22 15:35:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1866. * malloc/malloc.h [_MALLOC_INTERNAL]
  1867. [__GNU_LIBRARY__ || STDC_HEADERS || USG] (memmove): Define in
  1868. terms of bcopy.
  1869. * malloc/malloc/gmalloc-head.c: Redo previously undone change.
  1870. Thu Mar 18 04:59:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  1871. * malloc/malloc/gmalloc-head.c: Undo previous change.
  1872. Wed Mar 17 12:22:21 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1873. * mach/mach.h: New file.
  1874. * Rules (clean): Remove $(generated), not $(clean-extras).
  1875. (subdir_echo-distinfo): Use $(generated) instead of $(dont_distribute).
  1876. (generated): Export this instead of dont_distribute.
  1877. * stdlib/Makefile (generated): Set this, not dont_distribute.
  1878. * sysdeps/posix/Makefile: Likewise.
  1879. * sysdeps/unix/sysv/Makefile: Likewise.
  1880. * sysdeps/unix/Makefile: Likewise.
  1881. * Makefile (generated): Export this instead of dont_distribute.
  1882. (parent_echo-distinfo): Use $(generated) instead of $(dont_distribute).
  1883. * Make-dist (+tsrcs): Filter out $(generated), not $(dont_distribute).
  1884. * mach/mach_init.h (__mach_task_self): Define so as not an lvalue.
  1885. (mach_task_self): Surround defn with parens.
  1886. * sysdeps/unix/Makefile (sys/param.h): Put "#include <endian.h>" in.
  1887. ($(sys/param.h-includes)): Edit out #define's of *_ENDIAN and
  1888. BYTE_ORDER.
  1889. * stdlib/tst-strtol.c (tests): Fully bracket initializers.
  1890. * stdio/bug4.c: Change #ifdef LIBC to #ifdef _LIBC.
  1891. * misc/progname.c (set_progname): Make a useless reference to
  1892. set_progname to avoid a `defined but not used' warning.
  1893. * sysdeps/mach/i386/start.c (_cthread_{init,exit}_routine): Remove
  1894. `extern'; these want to be uninitialized common defns.
  1895. Mon Mar 15 18:41:05 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  1896. * sysdeps/unix/bsd/__times.c (timeval_to_clock_t): Put __inline
  1897. before storage class in defn.
  1898. * sysdeps/unix/sysv/signum.h (SIG_ERR, SIG_DFL, SIG_IGN): Cast
  1899. values to __sighandler_t, rather than obsolete ansidecl magic.
  1900. * sysdeps/unix/__execve.S [!SYS_execve && SYS_exece]: Define
  1901. SYS_execve to be SYS_exece.
  1902. * sysvipc: New directory.
  1903. * sysvipc/Makefile: New file.
  1904. * sysvipc/sys/ipc.h: New file.
  1905. Fri Mar 12 15:31:44 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  1906. * posix/execlp.c (execlp): Remove spurious second declared parameter.
  1907. Don't fill ARGV[0] specially; just let the loop do it.
  1908. * posix/unistd.h (execlp): Remove spurious second declared parameter.
  1909. Thu Mar 11 13:58:47 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  1910. * Makerules (sysd-Makefile): Write %.dep: %.S and %.dep: %.c rules.
  1911. Depend on Makerules.
  1912. ($(objpfx)%.{o,dep}: $(objpfx)/%.{S,c,s}): New rules to find
  1913. sources in $(objpfx) before sysdep directories.
  1914. * configure.in (signed size_t check): Use eval on $CPP, since it
  1915. contains unexpanded variable refs.
  1916. Send grep output to /dev/null.
  1917. Put quotes around 'unsigned long int'.
  1918. Wed Mar 10 18:32:11 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  1919. * features.h [! _LIBC]: #include <stubs.h>.
  1920. * Makerules (stubs): New phony target.
  1921. ($(common-objpfx)stub-$(subdir)): New target.
  1922. * Makefile (headers): Add stubs.h.
  1923. ($(objpfx)stubs.h): New target.
  1924. * Makeconfig (CPPFLAGS): Define _LIBC, not LIBC.
  1925. * Makerules (.SUFFIXES): Remove .m4; we no longer have any such files.
  1926. * inet/netinet/in.h: Don't #include <inet-cvt.h>.
  1927. (ntohl, ntohs, htonl, htons): Declare.
  1928. #include <endian.h>.
  1929. [__BYTE_ORDER == __BIG_ENDIAN] (ntohl, ntohs, htonl, htons):
  1930. Define no-op macros.
  1931. * inet/Makefile (headers): Remove inet-cvt.h.
  1932. * sysdeps/vax/inet-cvt.h, sysdeps/generic/inet-cvt.h: Files removed.
  1933. * sysdeps/generic/{ntohl,ntohs,htonl,htons}.c
  1934. [BYTE_ORDER == LITTLE_ENDIAN]: Byte-swap X before returning it.
  1935. Tue Mar 9 11:32:35 1993 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  1936. * malloc/malloc/gmalloc-head.c: Remove #definitions of memset,
  1937. memcpy, and memmove; this is taken care of by malloc.h anyway.
  1938. Mon Mar 8 15:12:32 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  1939. * sysdeps/mips/jmp_buf.h (JB_PC): Protect with #ifdef __USE_MISC.
  1940. * sysdeps/unix/sysv/sysv4/sigaction.h: Put SA_* except for
  1941. SA_NOCLDSTOP inside #ifdef __USE_MISC.
  1942. Mon Mar 8 15:05:13 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
  1943. * sysdeps/mips/jmp_buf.h (jmp_buf): Use `__ptr_t', not `PTR', for
  1944. member types.
  1945. (JB_PC): New define, for backwards compatability with Ultrix.
  1946. * sysdeps/unix/sysv/sysv4/sigaction.h: New file.
  1947. Mon Mar 8 13:20:02 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  1948. * posix/glob/Makefile.in (VPATH): Set this to @srcdir@.
  1949. (srcdir): Set this to $(VPATH).
  1950. * posix/glob.c (glob): In no matches with GLOB_NOCHECK set case,
  1951. add NULL terminator to PGLOB->gl_pathv.
  1952. (prefix_array): Renamed arg PREFIX to DIRNAME, local var PRELEN to
  1953. DIRLEN. If DIRNAME is just "/", don't prepend it, so we get
  1954. "/foo" instead of "//foo".
  1955. (glob): Move qsort call outside of the else clause of the
  1956. glob_pattern_p test; it should always be done.
  1957. Thu Feb 25 14:49:52 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1958. * malloc/malloc.h [_MALLOC_INTERNAL]: Move #include <stdio.h> to
  1959. front of file; it needs to come before size_t/ptrdiff_t frobnication.
  1960. Wed Feb 24 16:34:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1961. * Makerules (compile-command.[Ssc]): New variables; define them if
  1962. they are not already defined.
  1963. (sysd-Makefile): For each directory, write three rules:
  1964. %.o: $dir/%.[Ssc]; $(compile-command.[Ssc]).
  1965. (sysdep_path): Remove definition and vpath directives.
  1966. * sysdeps/m68k/Makefile (compile-command.S): Define our own version.
  1967. ($(objpfx)%.o: %.S): Rule removed.
  1968. * sysdeps/unix/sysv/linux/{__dup2,__mkdir,__rmdir,__setpgrp}.S:
  1969. Removed.
  1970. * sysdeps/unix/sysv/linux/Implies: Created; implies unix/common.
  1971. * sysdeps/unix/sysv/sysv4/{sete[gu]id.S,fchdir.S,signum.h,__sigproc.S}:
  1972. New files.
  1973. * sysdeps/unix/sysv/sysv4/time.S: New file.
  1974. * sysdeps/unix/common/Dist: New file; everything from
  1975. sysdeps/unix/bsd/Dist except for bsdtty.h and bsddir.h.
  1976. * sysdeps/unix/bsd/Dist: Remove things now in sysdeps/unix/common/Dist.
  1977. * sysdeps/unix/bsd/sun/sparc/{__brk.c,__fork.S,__pipe.S,__vfork.S}:
  1978. Moved to new directory sysdeps/unix/sparc.
  1979. * sysdeps/unix/common/Implies: New file, in new directory; implies
  1980. unix/inet only.
  1981. * sysdeps/unix/bsd/Implies, sysdeps/unix/sysv/sysv4/Implies: New
  1982. files; both imply unix/common.
  1983. * sysdeps/unix/common/Makefile: Moved from sysdeps/unix/bsd.
  1984. Changed references to unix/bsd to unix/common.
  1985. * unix/bsd/{__access.S,__adjtime.S,__fchmod.S,__fchown.S,__getgrps.c,
  1986. __getitmr.S,__getpgrp.S,__getrusag.S,__gettod.S,__lstat.S,__mkdir.S,
  1987. __readlink.S,__rmdir.S,__setitmr.S,__setpgrp.S,__symlink.S,
  1988. bsd_getgrp.S,closedir.c,ftruncate.S,getrlimit.S,glue-ctype.c,
  1989. make_siglist.c,mk-local_lim.c,opendir.c,readv.S,rename.S,rewinddir.c,
  1990. seekdir.c,setgroups.S,setrlimit.S,telldir.c,truncate.S,vhangup.S,
  1991. writev.S,__dup2.S}: Moved to sysdeps/unix/common.
  1992. * sysdeps/unix/sysv/sysv4/{__access.S,closedir.c,opendir.c,
  1993. rewinddir.c,seekdir.c,telldir.c}: Removed.
  1994. Mon Feb 22 12:19:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  1995. * sysdeps/generic/pow.c (pow): Use __isnan to test for NaN rather
  1996. than expecting "x!=x" to work.
  1997. (pow_p): When testing if Y is an integer, use long int rather than
  1998. int; they are different on some systems. Compare against
  1999. LONG_MIN+1, not LONG_MIN; (long int) (double) LONG_MIN might overflow.
  2000. * malloc/dist-Makefile (gmalloc.c): Depend on Makefile.
  2001. * malloc/Makefile (gmalloc-routines): New variable.
  2002. (dist-routines): Use it.
  2003. (malloc/Makefile): Also replace <GMALLOC-SOURCES> with
  2004. $(gmalloc-routines).
  2005. (malloc/Makefile): Make it unwritable to avoid accidental lossage.
  2006. Depend on Makefile.
  2007. * malloc/dist-Makefile (gmalloc): New variable: <GMALLOC-SOURCES>.
  2008. (gmalloc.c): Use $(gmalloc), not $(sources).
  2009. Make the file unwritable to avoid accidental lossage.
  2010. * malloc/mtrace.c: Don't #include <stdio.h> because <malloc.h> did
  2011. it for us.
  2012. * malloc/valloc.c [! __GNU_LIBRARY__]: Replace hairy conditionals
  2013. with #include "getpagesize.h".
  2014. * malloc/Makefile (distribute, malloc-dist): Add getpagesize.h.
  2015. Sun Feb 21 18:29:30 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2016. * sysdeps/sparc/Makefile (nodist-routines): Don't define.
  2017. We want to distribute the generated divrem files; otherwise anyone
  2018. building the library must have an m4 that works.
  2019. ($(divrem).S): Put these in sysdeps/sparc, not in $(objdir).
  2020. (routines): Only put this inside ifeq ($(subdir),gnulib).
  2021. * sysdeps/unix/bsd/sun/m68k/Makefile: File removed.
  2022. Sat Feb 20 16:43:55 1993 Torbjorn Granlund (tege@sics.se)
  2023. * sysdeps/i386/memset.c: Move adjustment of LEN before first stosb.
  2024. * sysdeps/i386/bzero.c: Likewise.
  2025. Thu Feb 18 14:34:00 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2026. * malloc/mcheck.c (checkhdr): Use `const', not `__const'.
  2027. Mon Feb 1 19:19:13 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2028. * sysdeps/m68k/fpu/__logb.c: Use two-operand forms of 68881 insns
  2029. rather than the one-operand source==dest form. Sun's sun3
  2030. assembler apparently doesn't grok the one-operand form.
  2031. * sysdeps/posix/getcwd.c: Call __lstat instead of stat.
  2032. We should not lose on nonexistent symlink targets.
  2033. Thu Jan 21 20:12:25 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2034. * posix/glob.c: Put #includes of <glob.h> and <fnmatch.h> after
  2035. all system includes, in case one of them has conflicting defns of
  2036. FNM_* or GLOB_*, so we will redefine. #undef FNM_* and GLOB_*
  2037. before including our headers.
  2038. Tue Jan 19 16:16:05 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2039. * mach/Makefile (routines): Removed __bcopy.
  2040. * mach/__bcopy.c: File removed.
  2041. * posix/glob.c (my_realloc): Cast result of malloc/realloc to (char *).
  2042. Sat Jan 16 14:19:07 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  2043. * manual/summary.awk: Handle single word in braces.
  2044. Thu Jan 14 13:52:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2045. * posix/glob/Makefile.in (realclean): Remove Makefile.
  2046. Mon Jan 11 18:32:56 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2047. * sysdeps/unix/bsd/sony/m68k/Implies: Imply unix/bsd/hp/m68k, not
  2048. unix/hp/m68k.
  2049. * sysdeps/unix/bsd/tcsetattr.c: Use cbreak mode if ISIG is set,
  2050. not if OPOST is set.
  2051. Fixed typo in TOSTOP frobbing.
  2052. Tue Jan 5 15:11:31 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2053. * posix/Makefile (glob.tar): Include glob/configure.in.
  2054. Mon Jan 4 17:05:44 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2055. * posix/glob/Makefile.in (RANLIB): Define to @RANLIB@.
  2056. (RANLIB_TEST): Removed.
  2057. (libglob.a): Don't use it.
  2058. Thu Dec 31 13:08:20 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2059. * sysdeps/unix/bsd/bsd4.4/{chflags,fchflags,setlogin}.S: Fix arg count.
  2060. * sysdeps/posix/Makefile (mk-stdiolim): Use $(cded-objdir-CPPFLAGS).
  2061. (cded-objdir-CPPFLAGS): Define new var.
  2062. * sysdeps/unix/Makefile ($(sys/param.h-includes)): Strip trailing
  2063. slash from directory name for mkdir.
  2064. Tue Dec 29 18:18:58 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2065. * sysdeps/posix/sysd-stdio.c (exists): Return true if stat fails
  2066. with other than ENOENT.
  2067. * sysdeps/posix/__flock.c: New file.
  2068. * malloc/Makefile (dist-headers): Define to malloc.h.
  2069. (headers): Replace malloc.h with $(dist-headers).
  2070. (malloc/Makefile): Use $(dist-headers) in place of $(headers).
  2071. (malloc-dist, distribute): Replace ChangeLog with OChangeLog.
  2072. * malloc/dist-Makefile (malloc.tar{,.Z}): Depend on FORCE.
  2073. (FORCE): Define empty target.
  2074. Tue Dec 29 16:45:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2075. * sysdeps/sparc/{umul,mul}.S: Use tege's shift+mask hack to avoid
  2076. a test and branch for sign fixup.
  2077. * limits.h [__GNUC__ >= 2]: #ifndef _GCC_LIMITS_H_, not _LIMITS_H_,
  2078. to #include_next <limits.h>.
  2079. * sysdeps/posix/getcwd.c: Call closedir after copying from the
  2080. `struct dirent' buffer, not before. That buffer is freed by closedir.
  2081. * posix/gnu/types.h (__fd_set): Renamed member to `fds_bits' for
  2082. compatibility with braindead extant code.
  2083. * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Check for BUF
  2084. being too small before doing sprintf.
  2085. * malloc/malloc.h [_MALLOC_INTERNAL], malloc/valloc.c
  2086. [HAVE_CONFIG_H]: #include "config.h".
  2087. * Makefile (doc): Removed rule.
  2088. (dvi, info): New rule.
  2089. Mon Dec 28 15:50:31 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2090. * posix/glob.c [HAVE_CONFIG_H]: Test this, not SHELL, to decide
  2091. whether or not we want to #include "config.h".
  2092. Wed Dec 16 12:01:09 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2093. * inet/Makefile (routines): Removed ruserpass. Why did it get
  2094. included in the first place? That version does not match the one
  2095. in the NET2 ftp source; whence came it?
  2096. Sat Dec 12 16:41:03 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2097. * sysdeps/unix/bsd/sun/sparc/start.c: Use .set, not GNU ld magic,
  2098. to alias asm symbol `start' to `__start'.
  2099. Fri Nov 20 18:20:50 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2100. * stdio/vfprintf.c (%p): Tests of LEFT for "(nil)" were inverted.
  2101. * stdio/tst-printf.c (main): Add `printf ("%#03x\n", 1);'.
  2102. Add a width to %p test.
  2103. * stdio/vfprintf.c (unsigned_integer): Clear SHOWSIGN and SPACE
  2104. flags before falling into `number:'. The `+' and ` ' flags are
  2105. only meaningful for signed numbers.
  2106. * string/tester.c (main): For strstr #11, correct return is first
  2107. arg, not end of first arg.
  2108. * stdlib/mbtowc.c: If S is "", return 0. How was I convinced
  2109. before that this is not what ANSI says?
  2110. * stdio/__vfscanf.c: Initialize MALLOC_STRING to zero on each
  2111. iteration (when we zero is_short et al).
  2112. * sysdeps/posix/mkstemp.c (mkstemp): New file.
  2113. * sysdeps/stub/mkstemp.c (mkstemp): New file.
  2114. * misc/Makefile (routines): Add mkstemp.
  2115. * sysdeps/posix/mktemp.c: Use `getpid ()' in place of undefined
  2116. variable PID.
  2117. #include <sys/stat.h>.
  2118. * dirent/scandir.c: If SELECT is nil, don't try to call it.
  2119. If CMP is nil, don't sort.
  2120. Wed Nov 18 13:42:09 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2121. * sysdeps/stub/__wait4.c: Changed type of 2nd arg to __WAIT_STATUS.
  2122. * posix/sys/wait.h (__WAIT_STATUS): #if 0 out gcc2 magic defn.
  2123. GCC is broken as of 2.3.1.
  2124. * signal/signal.h (__sigaction, sigaction): Fixed type in
  2125. prototype from `struct __sigaction' to `struct sigaction'.
  2126. * sysdeps/m68k/fpu/atan2.c (PI, PIo4, PIo2): Removed static vars.
  2127. (atan2): Declare PIo4 and PIo2 locally, and compute them from pi.
  2128. * Makerules (native-CFLAGS): Define as $(config-defines).
  2129. * sysdeps/unix/bsd/glue-ctype.c: Upcased all HAVE_* names in #ifdef's.
  2130. * posix/fnmatch.h (FNM_LEADING_DIR): New flag.
  2131. * posix/fnmatch.c (fnmatch): Support it.
  2132. * sysdeps/i386/bytesex.h: New file.
  2133. * sysdeps/i386/endian.h: Removed.
  2134. * sysdeps/stub/bytesex.h: New file.
  2135. * sysdeps/stub/endian.h: Removed.
  2136. * sysdeps/generic/Makefile (bytesex.h): Create with det_endian.
  2137. (endian.h): Removed old rule.
  2138. (before-compile): Replace endian.h with bytesex.h.
  2139. * string/Makefile (headers): Add bytesex.h.
  2140. * string/endian.h: New file.
  2141. * sysdeps/generic/det_endian.c: Rewritten to output just one line,
  2142. a #define of __BYTE_ORDER to 1234, or 4321, etc.
  2143. * inet/arpa/nameser.h: #include <endian.h>, rather than #ifdef'ing
  2144. on misc. things to #define BYTE_ORDER.
  2145. * sysdeps/generic/waitstatus.h: Test value of __BYTE_ORDER, not
  2146. whether __LITTLE_ENDIAN is #define'd.
  2147. * sysdeps/generic/mathimpl.h: Likewise.
  2148. * sysdeps/generic/memcopy.h: Likewise.
  2149. * sysdeps/ieee754/huge_val.h: Likewise.
  2150. * sysdeps/ieee754/nan.h: Likewise.
  2151. * sysdeps/ieee754/ieee754.h: Likewise.
  2152. Mon Nov 16 12:19:10 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2153. * Makeconfig (ARCH): Define to empty if $(..)config.make exists.
  2154. * misc/getusersh.c (initshells): malloc (STATB.st_size + 1), to
  2155. contain the terminating NUL. Pass fgets the real amount of space
  2156. left in the buffer, instead of the random number (MAXPATHLEN + 1).
  2157. * configure.in (minix*): base_os=unix/sysv.
  2158. * sysdeps/unix/sysv/minix/sigaction.h: New file.
  2159. * sysdeps/generic/sigaction.h (__SA_*): Renamed to SA_*.
  2160. [__USE_BSD]: Put all but SA_NOCLDSTOP under this #ifdef.
  2161. * signal/signal.h (SA_*): Remove #define's.
  2162. (SIG_*): Moved #define's to sigaction.h.
  2163. * sysdeps/generic/sigset.h (__sigmask): Shift ((sigset_t) 1), not
  2164. just 1.
  2165. * signal/signal.h (kill): Fix type of first arg to __pid_t, not int.
  2166. * sysdeps/unix/Makefile (errnos): Changed regexp to disallow
  2167. E[^A-Z0-9], and not to require that the defn be numeric only.
  2168. * stdlib/stdlib.h: Don't #include <huge_val.h>; ANSI doesn't say
  2169. <stdlib.h> defines HUGE_VAL.
  2170. * stdlib/stdlib.h (__compar_fn_t): Use __P around prototype.
  2171. * posix/Makefile (headers): Add utsnamelen.h, so it gets installed.
  2172. (distribute): Remove it from here.
  2173. * setjmp/setjmp.h (sigjmp_buf): Rename `__savemask' to
  2174. `__mask_was_saved' and `__sigmask' to `__saved_mask'.
  2175. * setjmp/sigjmp_save.c (__sigjmp_save): Change use.
  2176. * setjmp/siglongjmp.c (siglongjmp): Likewise.
  2177. Fri Nov 13 17:34:00 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2178. * configure.in (config.make): Write assignments for INSTALL,
  2179. INSTALL_PROGRAM, INSTALL_DATA, and RANLIB.
  2180. Thu Nov 12 17:11:18 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2181. * sysdeps/stub/stime.c: #include <stddef.h> for NULL.
  2182. * sysdeps/stub/morecore.c: Fixed arg type to ptrdiff_t.
  2183. * sysdeps/stub/ptrace.c: Fixed `va_start' uses to pass 2nd arg.
  2184. * sysdeps/unix/sysv/sysv4/fcntlbits.h: New file, modified from
  2185. unix/bsd/sun/sunos4 version.
  2186. * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: New file, modified from
  2187. unix/bsd version.
  2188. * sysdeps/unix/bsd/ultrix4/fcntlbits.h: New file, modified from
  2189. unix/bsd version.
  2190. * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: New file, modified from
  2191. unix/bsd version.
  2192. * sysdeps/unix/sysv/fcntlbits.h: Rewritten from stub version.
  2193. * sysdeps/unix/sysv/filebits.h: File removed.
  2194. * sysdeps/unix/bsd/fcntlbits.h: Rewritten from stub version.
  2195. * sysdeps/unix/bsd/filebits.h: File removed.
  2196. * io/fcntl.h: Don't #include <filebits.h>.
  2197. Removed all #define's of foo to __foo; <fcntlbits.h> now defines
  2198. the unmarked cases.
  2199. * sysdeps/stub/fcntlbits.h: Remove leading __ from all symbols.
  2200. * misc/sys/file.h (L_SET, L_INCR, L_XTND): Define to literal
  2201. values, not to __ versions. These are not system-dependent.
  2202. (LOCK_SH, LOCK_EX, LOCK_UN, LOCK_NB): Define to literal values,
  2203. not to __ versions. These are not actually system-dependent,
  2204. because no system has `flock' except for BSD compatibility, and
  2205. then they use the same numbers.
  2206. * sysdeps/stub/fcntlbits.h (__L_SET, __L_INCR, __L_XTND): Removed.
  2207. (__LOCK_SH, __LOCK_EX, __LOCK_UN, __LOCK_NB): Removed.
  2208. Tue Nov 10 17:01:11 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2209. * sysdeps/stub/fcntlbits.h: Merged in contents of filebits.h.
  2210. (struct __flock): Renamed to `struct flock'.
  2211. * sysdeps/stub/filebits.h: File removed.
  2212. * posix/unistd.h (access, lseek, close, read, write, pipe, chown,
  2213. fchown, chdir, dup, dup2, execve, pathconf, fpathconf, sysconf,
  2214. getpid, getppid, setpgrp, setpgid, setsid, getuid, getgid,
  2215. geteuid, getegid, setuid, setreuid, setgid, setregid, fork, vfork,
  2216. isatty, link, symlink, readlink, unlink, rmdir, gethostname,
  2217. getpagesize, getdtablesize): Remove #define's to __ versions.
  2218. * posix/sys/types.h: Don't #include <gnu/time.h>.
  2219. Instead, use forward decl `struct timeval;'.
  2220. (__select): Use `struct timeval', not `struct __timeval', in prototype.
  2221. Move into #ifdef __USE_BSD.
  2222. (select): Removed #define to __select; added real prototype.
  2223. * sysdeps/generic/waitstatus.h: New file.
  2224. * sysdeps/stub/waitflags.h: New file.
  2225. * sysdeps/unix/bsd/waitflags.h: New file.
  2226. * posix/sys/wait.h: Don't #include <gnu/wait.h>.
  2227. Do #include <waitflags.h> and <waitstatus.h>.
  2228. (WHOHANG, WUNTRACED): Don't #define to __ versions; <waitflags.h>
  2229. will define the unmarked cases.
  2230. (union __wait): Remove type decl and associated #define's for w_*;
  2231. `union wait' (no __) is now defined in <waitstatus.h>.
  2232. [__USE_BSD && __GNUC__ >= 2] (__WAIT_STATUS): Define as funky union.
  2233. (waitpid, wait3, wait4, wait): Removed #define's to __ versions;
  2234. added real prototypes.
  2235. * posix/gnu/wait.h: File removed.
  2236. * posix/Makefile (headers): Remove gnu/wait.h.
  2237. * posix/sys/times.h [__OPTIMIZE__] (times): Removed #define to __times.
  2238. * posix/sys/utsname.h: Removed decl of __uname_getnode.
  2239. * time/sys/time.h: Don't #include <gnu/time.h>.
  2240. Don't support __need_timeval.
  2241. (struct timeval, struct timezone, struct itimerval,
  2242. enum __itimer_which): Declare these types here.
  2243. (gettimeofday, settimeofday, adjtime, getitimer, setitimer,
  2244. utimes): Removed #define's to __ versions. Added real prototypes.
  2245. Use `struct timeval' instead of `struct __timeval', etc.
  2246. * time/gnu/time.h: File removed.
  2247. * time/Makefile (headers): Removed gnu/time.h.
  2248. * resource/sys/resource.h: Don't #include <gnu/time.h>.
  2249. Mon Nov 9 18:41:03 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2250. * socket/sys/socket.h (SO_STYLE): Define instead of SO_TYPE.
  2251. (SO_TYPE): Define as SO_STYLE.
  2252. * inet/netinet/in.h (struct ip_opts): New type.
  2253. (IP_*): New constants snarfed from 4.4's in.h.
  2254. Fri Nov 6 15:34:41 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2255. * resource/sys/resource.h (struct rusage): #include <sys/time.h>
  2256. before struct defn. Use `struct timeval', not `struct __timeval'
  2257. for `ru_utime' and `ru_stime' members.
  2258. * resource/sys/resource.h [__OPTIMIZE__] (getrusage, ulimit),
  2259. misc/sys/ioctl.h [__OPTIMIZE__] (ioctl): Remove #define's to __
  2260. versions.
  2261. * string/strings.h: Protect against multiple inclusion.
  2262. * termios/sys/termios.h: Ditto.
  2263. * string/string.h [__GNUC__ && __OPTIMIZE__] (ffs): Remove #define
  2264. to __builtin_ffs.
  2265. * stdlib/stdlib.h (comparison_fn_t): Use a typedef, not a #define.
  2266. Define this #ifdef __USE_GNU, not #ifdef __GNUC__.
  2267. [__GNUC__ && __OPTIMIZE__] (abs, labs): Remove #define's to __builtin_.
  2268. Thu Nov 5 20:01:25 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2269. * signal/Makefile (headers): Remove gnu/signal.h;
  2270. add sigaction.h, sigset.h.
  2271. * sysdeps/generic/sigaction.h: New file.
  2272. * sysdeps/generic/sigset.h: New file.
  2273. * signal/gnu/signal.h: Removed.
  2274. * signal/signal.h: Move __{BEGIN,END}_DECLS outside all the #if's
  2275. (except the outermost one that protects against multiple inclusion).
  2276. Don't #include <gnu/signal.h>. Instead #include <sigset.h>
  2277. outside of #if's, and #include <sigaction.h> inside #ifdef __USE_POSIX.
  2278. (__sighandler_t): Define here; it is not system-specific.
  2279. (kill, ssignal, gsignal, sigblock, sigsetmask, sigpause, sigvec,
  2280. sigreturn): Remove #define's to __ versions.
  2281. (sighandler_t, sigset_t): Use a typedef, not a #define.
  2282. [__OPTIMIZE__] (sig{empty,fill,add,del}set, sigismember): Make
  2283. these macros take args.
  2284. (sigaction): Remove #define.
  2285. (struct __sigvec): Renamed `struct sigvec'.
  2286. (__sigvec): Use `struct sigvec', not `struct __sigvec', in prototype.
  2287. Fri Oct 30 19:45:26 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2288. * configure.in (sco*): base_os=unix/sysv.
  2289. Thu Oct 29 16:29:26 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2290. * configure.in: New file; mostly contents of old file `configure'.
  2291. (srcdir guessing): Removed this code.
  2292. Instead, call AC_PREPARE.
  2293. Call AC_PROG_INSTALL and AC_PROG_RANLIB to find those programs.
  2294. Use AC_HAVE_FUNCS to find what sys_siglist and _ctype_ are called.
  2295. (config.make): Write new var `config-defines' with what autoconf
  2296. put in $DEFS.
  2297. Append -DHAVE_GNU_LD and -DHAVE_GNU_AS to DEFS if appropriate;
  2298. don't write gnu_ld and gnu_as variables.
  2299. * configure: Removed.
  2300. * Makefile (distribute): Add configure.in.
  2301. * Makeconfig (+defines): Include $(config-defines) before $(defines);
  2302. don't include $(gnu_as) and $(gnu_ld).
  2303. * sysdeps/unix/bsd/glue-ctype.c (TABLE): Test HAVE_* for several
  2304. different names and #define this.
  2305. (STRINGIFY): Define macro.
  2306. (main): Use TABLE instead of hardcoded name.
  2307. * configure (sysnames): Try successively less specific base os's.
  2308. * Makerules (ar-it): Define commands only ifdef objects.
  2309. * sysdeps/mips/setjmp.S: Jump to __setjmp_aux, not ___setjmp_aux.
  2310. We are NO_UNDERSCORES.
  2311. Tue Oct 27 18:11:19 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2312. * sysdeps/posix/pipestream.c, sysdeps/posix/system.c: Always use
  2313. __vfork instead of expecting FORK to be defined.
  2314. * sysdeps/unix/bsd/system.c, sysdeps/unix/bsd/pipestream.c:
  2315. Removed. sysdeps/unix versions are now what we want.
  2316. * sysdeps/unix/bsd/sun/sunos3/m68k/__wait.S: Removed.
  2317. * sysdeps/unix/bsd/hp/m68k/__wait.S: Moved to unix/bsd/m68k.
  2318. * sysdeps/unix/bsd/hp/m68k/{__pipe,sysdep}.S: Moved to unix/bsd/m68k.
  2319. * sysdeps/unix/bsd/sun/m68k/{__pipe,sysdep}.S: Removed.
  2320. * sysdeps/unix/bsd/sun/m68k/start.c: Moved to unix/bsd/m68k.
  2321. * sysdeps/unix/bsd/sony/m68k/start.c: Removed.
  2322. * sysdeps/unix/bsd/bsd4.4/__sigstmsk.c: Correct file name in #include.
  2323. * sysdeps/unix/bsd/sun/m68k/__fork.S: Removed.
  2324. * sysdeps/unix/bsd/hp/m68k/__fork.S: Removed.
  2325. * sysdeps/unix/bsd/vax/__fork.S: Moved to unix/bsd.
  2326. * sysdeps/generic/__vfork.c: New file; fn alias to __fork.
  2327. * sysdeps/stub/__vfork.c: Removed.
  2328. * limits.h: Only do #include_next #ifndef _LIMITS_H_.
  2329. * malloc/mcheck.c (mcheck): Set abortfunc to either FUNC or abort;
  2330. never leave it unchanged.
  2331. Return 0 if mcheck_used; -1 if not.
  2332. * malloc/malloc.h (mcheck): Change return type in decl.
  2333. * Makerules (+depfiles): Don't include them if there are none.
  2334. Mon Oct 26 16:30:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2335. * sysdeps/posix/fdopen.c: Use fcntl to check that FD is valid and
  2336. allows the access MODE specifies.
  2337. * sysdeps/stub/getcwd.c: #include <stddef.h>.
  2338. * sysdeps/stub/sleep.c: #include <errno.h>.
  2339. Sun Oct 25 02:24:47 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2340. * Makerules (+includes): Add $(+sysdep-includes) to this, leaving
  2341. CPPFLAGS alone.
  2342. * sysdeps/stub/stime.c: #include <time.h>.
  2343. Thu Oct 22 13:36:48 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2344. * Rules (clean): Also remove $(clean-extras).
  2345. Tue Oct 20 18:36:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2346. * configure: Write error message and lose for option with missing arg.
  2347. * stdio/__vfscanf.c: Add `a' modifier, which makes %s and %[ fill
  2348. in a char ** with a malloc'd string.
  2349. (STRING_ADD_CHAR, STRING_ARG): New macros to deal with this hair.
  2350. (%s, %[): Use them.
  2351. * posix/gnu/types.h [__GNUC__] (__fsid_t): Define as long long.
  2352. * stdio/vfprintf.c: Add %m, which is %s of strerror (errno).
  2353. Mon Oct 19 14:19:36 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2354. * socket/sys/socket.h (PF_FILE, AF_FILE): Define new macros.
  2355. (PF_UNIX, AF_UNIX): Make aliases for [PA]F_FILE.
  2356. * sysdeps/ieee754/huge_val.h: #include <sys/cdefs.h>.
  2357. [!__GNUC__]: Use __const, not CONST.
  2358. * posix/wordexp.h: Fix indentation and syntax errors.
  2359. * stdio/vasprintf.c (vasprintf): Set seen bit.
  2360. Fri Oct 16 17:18:34 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2361. * Makefile (Mcrt1.o): Create an empty .c file and compile it,
  2362. rather than creating an empty .o file.
  2363. * sysdeps/unix/Makefile (sys/param.h): Strip / from name for mkdir.
  2364. * sysdeps/m68k/fpu/atan2.c [! __GNUC__]: Include generic, not iee754.
  2365. * sysdeps/sparc/Makefile ({divrem}.S): Use $(M4) for m4 in cmds.
  2366. * Makeconfig (M4): Define it.
  2367. * stdio/newstream.c (__newstream): Link STREAM onto __stdio_head
  2368. after malloc'ing it.
  2369. * time/emkdir.c: #define unix if not already defined.
  2370. Thu Oct 15 19:55:45 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2371. * stdlib/wctomb.c: When passed 0, store a '\0' and return 1.
  2372. * stdlib/mbtowc.c: When passed "", store a 0 and return 1.
  2373. * sysdeps/generic/strstr.c: When NEEDLE is "", return HAYSTACK.
  2374. Thu Oct 15 19:25:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2375. * malloc/malloc.h (__after_morecore_hook): Declare new var.
  2376. * malloc/malloc.c (__after_morecore_hook): Define it.
  2377. (align): Call it.
  2378. Mon Oct 12 15:56:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2379. * malloc/malloc.h (r_alloc, r_alloc_free, r_re_alloc): Declare.
  2380. * Makerules (native-compile, common-objdir-compile): Pass
  2381. $(native-CFLAGS) to the compiler.
  2382. * Makeconfig (+gccwarn): Removed -Wstrict-prototypes and
  2383. -Wpointer-arith. They were not really helping, and caused extra
  2384. warnings for harmless code.
  2385. * malloc/Makefile (dist-routines): Add ralloc.
  2386. (gpl2lgpl): Add ralloc.c.
  2387. * time/zic.c: #define unix if not already defined.
  2388. * Makerules ($(gpl2lgpl)): Make output unwritable; use mv -f.
  2389. Mon Oct 12 15:27:40 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu)
  2390. * sysdeps/unix/bsd/ultrix4/mips/__set[gu]id.S: Handle returning to
  2391. the proper caller ourselves, since setre[gu]id won't be doing it.
  2392. Mon Oct 12 13:37:16 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2393. * malloc/malloc.h: Declare memory_warnings.
  2394. * malloc/Makefile (dist-routines): Add vm-limit.
  2395. (distribute): Add mem-limits.h.
  2396. (gpl2lgpl): Add vm-limit.c, mem-limits.h.
  2397. * gpl2lgpl.sed: Remove "This file is part of ..." lines.
  2398. Changed regexp to match "foo is free software", not just "This
  2399. program ...".
  2400. * Makerules (+make-deps): Put file name before options on command line.
  2401. * Makefile (install-lib): Remove libc.a from here.
  2402. * Makerules [objects] (install-lib): Append it here instead.
  2403. * io/sys/stat.h (S_IRWXO): Fixed typo.
  2404. Sun Oct 11 16:58:36 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2405. * posix/glob.c (__glob_{open,read,close}dir_hook): New vars.
  2406. (glob_in_dir): Use them.
  2407. * posix/glob.h: Declare them.
  2408. Thu Oct 8 20:03:30 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
  2409. * configure (config.make): Write comment to edit configparms instead.
  2410. Wed Oct 7 17:15:05 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2411. * sysdeps/stub/__chown.c: Fixed arg types (int -> [ug]id_t).
  2412. * sysdeps/stub/__geteuid.c: Fixed return type (int -> __uid_t).
  2413. * sysdeps/stub/__getegid.c: Fixed return type (int -> __gid_t).
  2414. * configure: Write defns in config.make for vars config-machine,
  2415. config-vendor, and config-os.
  2416. * ctype/ctype.h (__isctype, __tolower, __toupper): Cast argument
  2417. and return value to `int'.
  2418. * ctype/ctype.h (__ctype_tolower, __ctype_toupper): Changed type
  2419. to `short int *'.
  2420. (toupper, tolower): Removed inline functions; restored macros.
  2421. * ctype/ctype.c (tolower, toupper): Just call the __ macros.
  2422. * ctype/ctype-info.c: Change types here too.
  2423. * locale/localeinfo.h: And here.
  2424. * locale/C-ctype_ct.c: Ditto.
  2425. * crypt: New code from Michael Glad.
  2426. * Makefile (munch-init.c), sysdeps/unix/Makefile
  2427. ($(sys/param.h-includes), make-errnos.c, make-ioctls.c),
  2428. sysdeps/unix/bsd/Makefile (local_lim.h, ctype-glue.c),
  2429. sysdeps/posix/Makefile (stdio_lim.h): Changed rules to use a
  2430. shorter suffix than `-tmp', to avoid exceeding 14 char limit.
  2431. Tue Oct 6 15:13:57 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2432. * Makefile (README, INSTALL): Moved rules here.
  2433. * Make-dist: From here.
  2434. * sysdeps/unix/bsd/sun/m68k/{__pipe,__fork,sysdep}.S: Change uses
  2435. of sysdeps/unix/bsd/hp9k3bsd to sysdeps/unix/bsd/hp/m68k.
  2436. * sysdeps/m68k/Makefile: Put .S rule here.
  2437. * sysdeps/unix/bsd/hp/m68k/Makefile: Removed file.
  2438. Mon Oct 5 19:40:22 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2439. * sysdeps/generic/pow.c (pow_p): Changed code to KY jelly.
  2440. * sysdeps/unix/bsd/ultrix4/utsnamelen.h: New file.
  2441. * sysdeps/unix/bsd/ultrix4/uname.S: New file.
  2442. Fri Oct 2 17:43:32 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2443. * sysdeps/posix/mktemp.c: Don't use a static index and increment
  2444. it on each call. Instead, always start at the beginning and
  2445. iterate until we find a file that does not exist.
  2446. * sysdeps/unix/sysv/i386/signal.S: Use C_SYMBOL_NAME for __sigreturn.
  2447. Added comment about gas bug with `lcall' insn.
  2448. * sysdeps/unix/i386/__brk.S: Use C_SYMBOL_NAME for __curbrk and _end.
  2449. * sysdeps/unix/i386/sysdep.S: #include <sysdep.h>.
  2450. Use C_SYMBOL_NAME(errno) in place of _errno.
  2451. * sysdeps/unix/sysdep.h (___errno): Removed #define to _errno.
  2452. `errno' is an ANSI name; it doesn't need to be aliased.
  2453. * sysdeps/unix/bsd/sun/m68k/sethostid.S,
  2454. sysdeps/unix/bsd/sun/m68k/__vfork.S,
  2455. sysdeps/unix/bsd/sun/sparc/sysdep.h,
  2456. sysdeps/unix/bsd/sun/sparc/sethostid.S,
  2457. sysdeps/unix/bsd/vax/sysdep.S,
  2458. sysdeps/unix/bsd/vax/__vfork.S: Use _errno, not ___errno.
  2459. * sysdeps/unix/sysv/sysdep.h: File removed.
  2460. * sysdeps/unix/sysv/i386/sysdep.h: Don't #include it.
  2461. #define NO_UNDERSCORES before #include <sysdeps/unix/i386/sysdep.h>.
  2462. * sysdeps/unix/i386/sysdep.h (C_SYMBOL_NAME): Define new macro.
  2463. [NO_UNDERSCORES]: #define syscall_error to __syscall_error, so we
  2464. stay name space tidy.
  2465. * sysdeps/unix/sysv/sysv4/sys_getdents.S: Added missing arg count (3).
  2466. * sysdeps/unix/sysv/i386/time.S: Fixed to not use bogus addressing
  2467. mode `4(%esp,1)'; use `4(%esp)' instead. Added comments.
  2468. * sysdeps/stub/__fchmod.c (__fchmod): Fixed arg type to mode_t.
  2469. * sysdeps/posix/__wait3.c: #include <stddef.h> for NULL.
  2470. * sysdeps/unix/i386/__wait.S: Use asm label `null' instead of
  2471. `1f', and actually define the label! Added comments.
  2472. * sysdeps/i386/memchr.c: Renamed asm label to `done'; not all
  2473. assemblers support numbered labels like `1f' or `1b'.
  2474. * stdio/fseek.c (fseek): Discard char pushed back by ungetc.
  2475. * stdio/ftell.c (ftell): If we have a pushed-back char, decrement
  2476. the file position we return.
  2477. * sysdeps/unix/bsd/sun/sparc/vfork.S: New file.
  2478. Wed Sep 30 18:48:38 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2479. * limits.h (_LIBC_LIMITS_H_): Define today's name for this.
  2480. RMS said it was to be `_LIBC_LIMITS_H', but that is not what
  2481. gcc actually uses.
  2482. Tue Sep 29 18:17:12 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2483. * time/Makefile (zic-cmd): Define variable.
  2484. (tzcompile, zoneinfo/localtime, zoneinfo/posixrules): Use it for
  2485. name of `zic' command.
  2486. * sysdeps/unix/bsd/Makefile (ctype-glue.c): Make sure the command
  2487. is not an unqualified name.
  2488. * sysdeps/stub/statbuf.h (struct stat): Contain only POSIX.1
  2489. members, with the POSIX.1 types.
  2490. (_STATBUF_ST_BLKSIZE): #undef and comment.
  2491. * sysdeps/unix/bsd/statbuf.h (_STATBUF_ST_BLKSIZE): Define it.
  2492. * sysdeps/posix/stdio_init.c (__stdio_init_stream): Only try to
  2493. use st_blksize #ifdef _STATBUF_ST_BLKSIZE.
  2494. * sysdeps/unix/__getpgsz.c: #include <stddef.h> for size_t.
  2495. * sysdeps/stub/__fchown.c: Fixed arg types ([ug]id_t, not int).
  2496. * io/sys/stat.h: #include <gnu/types.h> for __mode_t et al.
  2497. * sysdeps/unix/__gete[ug]id.S [SYS_gete[ug]id]: Add arg count of 0.
  2498. [! SYS_gete[ug]id]: Fixed arg count to be 0.
  2499. * sysdeps/unix/__get[ug]id.S: Fixed arg count to be 0.
  2500. * sysdeps/unix/sysv/linux/syscall.h: #if 0'd out 2nd defn of SYS_brk.
  2501. Sun Sep 27 21:56:56 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2502. * sysdeps/unix/Makefile (sys/param.h): Depend on $(common-objpfx)sys/.
  2503. Fri Sep 25 12:47:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2504. * Makeconfig (INSTALL_DATA): Pass -m 644.
  2505. Thu Sep 24 16:13:47 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2506. * sysdeps/unix/sysv/linux/getpeername.S: Renamed to getpeernam.S.
  2507. * sysdeps/unix/sysv/linux/getsockname.S: Renamed to getsocknam.S.
  2508. * sysdeps/unix/sysv/linux/setsid.S: Renamed to __setsid.S;
  2509. function renamed to __setsid.
  2510. * Version 1.05.
  2511. * Makefile (dist): Depend on $(distribute).
  2512. * stdio/__vfscanf.c (%c): Fixed DO_ASSIGN case loop condition to
  2513. not write one char too many.
  2514. Wed Sep 23 16:32:18 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2515. * stdlib/qsort.c (_quicksort): Return immediately if TOTAL_ELEMS==0.
  2516. Tue Sep 22 19:10:59 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2517. * Makerules [! OUTPUT_OPTION && objpfx]: Define OUTPUT_OPTION.
  2518. Mon Sep 21 22:40:55 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2519. * sysdeps/unix/bsd/mk-local_lim.c: Use MAXNAMLEN for NAME_MAX,
  2520. rather than hard-wiring 255.
  2521. [! MAXNAMLEN]: Define it to 255.
  2522. [LINK_MAX && ! MAXLINK]: #define MAXLINK LINK_MAX.
  2523. * sysdeps/unix/bsd/glue-ctype.c [ultrix]: #define _ctype_ _ctype__.
  2524. * configure: Rename var `gas' to `gnu_as' and use consistently.
  2525. Fri Sep 18 16:32:16 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2526. * sys/errno.h: New file.
  2527. * Makefile (headers): Add it.
  2528. * Makeconfig (+make-deps): Use = not define.
  2529. * time/Makefile (zones-%): Don't clobber zonenames; append to it.
  2530. Depend on Makefile so we rebuild when the rule changes.
  2531. Changed implicit rule from zoneinfo/%/... to zone%/... so it will
  2532. actually match.
  2533. * sysdeps/unix/Makefile (syscall.h): Filter out "#ident" lines.
  2534. * Makeconfig (+link): Use $(gnulib) instead of -lgcc.
  2535. (gnulib): Define to -lgcc.
  2536. * posix/glob/Makefile.in (AR, ARFLAGS): Define.
  2537. (libglob.a): Use those vars instead of hardcoding.
  2538. * Makeconfig (ARCH) [machine]: Don't define if $(..)config.make exists.
  2539. * Makerules (compile.S): Include $(asm-CPPFLAGS).
  2540. (S-CPPFLAGS): Define = $(asm-CPPFLAGS).
  2541. (+make-deps): Include $(sfx-CPPFLAGS), where `sfx' is S or c.
  2542. * Makeconfig (asm-CPPFLAGS): Define (empty) and comment.
  2543. * sysdeps/unix/Makefile ($(sys/param.h-includes)): Filter out
  2544. decls or macros for host<->net conversion (htonl et al).
  2545. Thu Sep 17 17:33:51 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2546. * sysdeps/unix/sysv/statbuf.h: Define __S_*.
  2547. * misc/Makefile (headers): syslog.h -> sys/syslog.h.
  2548. * misc/syslog.h: Moved to misc/sys/syslog.h.
  2549. * limits.h [__GNUC__ >= 2]: #define _LIBC_LIMITS_H before
  2550. #include_next <limits.h>.
  2551. Define _LIMITS_H unconditionally.
  2552. Wed Sep 16 17:43:59 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  2553. * sysdeps/unix/Makefile (syscall.h): Don't use \< in sed commands.
  2554. Some seds don't seem to grok it.
  2555. * Makerules (+install-dirs): Sort them.
  2556. * Makeconfig (stdarg.h): Use $(wildcard va-*.h) instead of va-*.h,
  2557. and := instead of =.
  2558. * Makeconfig (prefix): Default to $(exec_prefix), not /usr/local.
  2559. * Makeconfig (+link): Use $(common-objpfx) rather than $(objpfx)
  2560. to find start.o; use $(libc.a) instead of $(objpfx)libc.a.
  2561. * sysdeps/sparc/Makefile: crypt subdir is not called uf-crypt.
  2562. * sysdeps/unix/Makefile (sys/param.h-includes): Fixed filtering
  2563. out of existent glibc headers to remove $(..) pfx after wildcard.
  2564. * misc/paths.h: New file, snarfed from 4.4 BSD.
  2565. * misc/Makefile (headers): Add paths.h.
  2566. Tue Sep 15 14:55:11 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2567. * Makerules (+sysdir_pfx): Define as $(common-objpfx).
  2568. * MakeTAGS (TAGS) [subdir && ! tags_sources]: Create an empty
  2569. file, rather than no commands at all.
  2570. * string/string.h [__GNUC__ && __OPTIMIZE__] (ffs): Take arg.
  2571. * sysdeps/unix/sysv/linux/__wait4.S: New file.
  2572. * sysdeps/unix/sysv/linux/syscall.h: New version from hlu.
  2573. * sysdeps/unix/Makefile (syscall.h): Upcase `sys_' in input.
  2574. * sysdeps/unix/bsd/ultrix4/mips/sysdep.h (MOVE): Insn is `move',
  2575. not `movl'.
  2576. * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Deansideclized.
  2577. * sysdeps/unix/ioctls-tmpl.c [DIOCGETPT, DEVGETGEOM]: Include
  2578. headers for these.
  2579. [ultrix]: Mondo cruft.
  2580. Sat Sep 12 12:08:29 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
  2581. * misc/Makefile (routines): Add ttyslot, syslog.
  2582. * misc/ttyslot.c, misc/syslog.[ch]: New, snarfed from 4.4 BSD.
  2583. (headers): Add syslog.h
  2584. * misc/getttyent.c (getttyent): Parse _TTYS_TRUSTED keyword and
  2585. set TTY_TRUSTED bit.
  2586. * misc/ttyent.h (TTY_TRUSTED): New bit in ty_status.
  2587. (_TTYS_TRUSTED): New keyword.
  2588. (_TTYS_CONSOLE): New keyword.
  2589. (TTY_CONSOLE): New bit in ty_status.
  2590. * dirent/scandir.c (scandir): Don't keep using V after realloc'ing
  2591. it. Use the returned new ptr instead.
  2592. Thu Sep 10 18:59:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2593. * stdlib/div.c, stdlib/ldiv.c: Rewritten from Berkeley code that works.
  2594. * Makeconfig (stdarg.h): Add va-*.h.
  2595. * stdlib/Makefile (dont_distribute): Define: testsort.input.
  2596. * sysdeps/mach/hurd/i386/_hurd_start_sigthread.c,
  2597. sysdeps/stub/_hurd_start_sigthread.c: Renamed to .../startsig.c.
  2598. * sysdeps/mach/hurd/sys_errlist.awk: Renamed to .../errlist.awk.
  2599. * sysdeps/mach/hurd/Makefile (sys_errlist.c): Change dep.
  2600. * sysdeps/unix/bsd/make-local_lim.c: Renamed to .../mk-local_lim.c.
  2601. * sysdeps/unix/bsd/Makefile (local_lim.h): Change dep.
  2602. (make-local_lim): Change target and dep.
  2603. * hurd/_hurd_dead_recv.c: Renamed to hurd/dead_recv.c.
  2604. * hurd/setdtablesize.c: Renamed to hurd/setdtsz.c.
  2605. * hurd/Makefile (routines): Change references.
  2606. * stdio/tstgetline.c: Renamed to stdio/tstgetln.c.
  2607. * stdio/tstgetline.input: Renamed to stdio/tstgetln.input.
  2608. * stdio/Makefile (tests): Change ref.
  2609. * README.template: Remove note about long file names.
  2610. * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h (_UTSNAME_LENGTH):
  2611. Define here, rather than #include'ing sysv/utsnamelen.h.
  2612. This file gets installed.
  2613. Wed Sep 9 17:06:14 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  2614. * Makeconfig (localtime-file): Put in $(prefix)/etc, not /etc.
  2615. * setjmp/Makefile (routines): Remove sigsetjmp.
  2616. * sysdeps/posix/Makefile (objdir-CPPFLAGS) [! subdir]: Rewrote
  2617. totally broken defn.
  2618. * sysdeps/unix/Makefile (syscall.h): Keep lines starting
  2619. with #, not only those starting with #define.
  2620. We want to preserve any #ifdef in the original.
  2621. * Makerules (install): Dep $(+install-dirs), not $(dir $(+install)).
  2622. (+install-dirs): Define to get two levels of dirs.
  2623. * time/Makefile (tz-cc): Use = instead of define directive.
  2624. * sysdeps/unix/bsd/sun/sparc/start.c (_start): Give ARGC, ARGV,
  2625. and ENVP `register' storage class; can then clear the FP early.
  2626. Sat Sep 5 13:14:09 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
  2627. * Makerules (sysdirs): Pass sysdep_dir in child's environment.
  2628. Fri Sep 4 15:37:23 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
  2629. * Makeconfig (common-objpfx): Add trailing slash.
  2630. Move comment to prev line to avoid extra whitespace.
  2631. See ChangeLog.1 for earlier changes.