home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / dev / gcc / ixemulsrc.lha / ixemul / NEWS < prev    next >
Text File  |  1997-01-01  |  29KB  |  691 lines

  1. ============
  2. VERSION 45.1
  3. ============
  4.  
  5. Fixed a bug in the Unix Domain socket code that would occasionally cause a
  6. client to wait indefinately for a connection to be granted, while in fact
  7. the server had already accepted the connection.
  8.  
  9. getdtablesize() now returns FD_SETSIZE instead of NOFILE (256 instead of
  10. 512). The result of this function was used by several X clients to discover
  11. the number of filehandles select() can test. And if that value is to large,
  12. you'll get unexpected and hard to find crashes. The same change was made to
  13. sysconf(_SC_OPEN_MAX).
  14.  
  15. shutdown() could close down the whole Unix domain socket, causing a
  16. crash when the socket was closed a second time by the 'real' close.
  17.  
  18. rename() now tests for a rename across devices and returns the correct
  19. error code.
  20.  
  21. Applied patch from Norbert Pueschel to improve delayed unlink.
  22.  
  23. Closing of Unix domain sockets is now atomic (between Forbid/Permit),
  24. otherwise the Amiga could crash if the X server was running at a higher
  25. priority than the client.
  26.  
  27. Fixed a bug in ixemul.trace that caused Enforcer hits in gcc.
  28.  
  29. Fixed a bug with 'du -ks /volume'. The convert_dir() function stored the
  30. directory name in Amiga format instead of Unix format.
  31.  
  32. Norbert Pueschel greatly improved uid/gid handling in ixemul.library. See
  33. the README for detailed information.
  34.  
  35. Fixed a bug in handling volumes/devices named "dev:". Ixemul handles the
  36. volume /dev specially (e.g., /dev/console is translated to console:) and
  37. that interfered with the handling of the DEV:  device or any volume named
  38. DEV:.  To circumvent the /dev handling you can now use "dev:" instead of
  39. "/dev" or write "DEV" instead of "dev" (in other words, the open() function
  40. tests for the string "/dev/" in a case-sensitive way).
  41.  
  42. Due to a clumsy design of the ENV: notification a signal was occasionally
  43. left unfreed. WShell gives warnings for that, so I changed the design and
  44. that should take care of the warning. The unfreed signal warning was
  45. harmless, but annoying.
  46.  
  47. Now fill the file type in the dirent struct. Thanks to Lars Hecking for
  48. reporting this.
  49.  
  50. Some AmigaOS programs started from an ixemul program set Signals that were
  51. allocated by ixemul. This can happen because ixemul resets the allocated
  52. signal mask in the Task structure.  Because of that a handshake between the
  53. child and the parent when the child process is dying failed, and Enforcer
  54. hits (usually followed by a crash) were the result.  Fixed by resetting all
  55. Signals.
  56.  
  57. Fixed a bug in the trap.s supervisor() code: you cannot safely pass data on
  58. the stack to the function to be executed in supervisor mode. In fact, this
  59. failed with a beta version of the 68060.library from Phase 5. Now pass the
  60. data through registers.
  61.  
  62. Fixed bug in frexp(0.0, &i) where i was set to 1 instead of 0.
  63.  
  64. Fixed 32 Kb memory leak.
  65.  
  66. Added tty CRMOD support.
  67.  
  68. Fixed serious bug in unix domain sockets where a kind of deadlock situation
  69. could occur.
  70.  
  71. system() now searches the whole path for 'sh' and doesn't use /bin/sh only.
  72. Also the paths in paths.h have been ADE-dified. Thanks to Robert Davis for
  73. pointing out the system() problem.
  74.  
  75. select() on a small file that was stored in memory if the user selected a
  76. non-zero Membuf size in ixprefs didn't produce the expected results. Thanks
  77. to Stefan Grosse Pawig for reporting this.
  78.  
  79. ============
  80. VERSION 45.0
  81. ============
  82.  
  83. Moved popen() and pclose() into ixemul.library from libc.a. These functions
  84. are used regularly by libraries, and having them in ixemul.library makes
  85. the conversion of those static libraries into shared libraries easier.
  86. Besides, these functions are used frequently enough to warrant their
  87. integration into ixemul.library.
  88.  
  89. Added a patch from Kamil Iskra that fixes problems with -mstackextend and
  90. vfork2(). However, such programs *must* call vfork_setup_child().
  91.  
  92. Thanks to Lars Hecking, a new fnmatch(3) with extended functionality is
  93. available. The fnmatch code is copied from the NetBSD sources.
  94.  
  95. Added new manual pages.
  96.  
  97. Upgraded ixemul to the new structure passing scheme of gcc (A1 contains a
  98. pointer to the return structure). This involved ldiv(), div() and
  99. inet_makeaddr(). Thanks to Kamil Iskra for providing me with patches to
  100. implement this.
  101.  
  102. Upgraded the timezone stuff to the latest version.
  103.  
  104. Implemented Unix Domain sockets. Missing features: datagrams aren't
  105. (yet?) supported, and connect() doesn't have a timeout.
  106.  
  107. Removed stack watcher code. It was seldom used, and it was never very
  108. reliable.
  109.  
  110. Implemented sessions. This improves Ctrl-C handling, and is required to
  111. make full use of xterm.
  112.  
  113. Fixed an unlink bug (it has to check all open files for the given filename)
  114. and a bug in ix_lock_base/ix_unlock_base: if these calls were nested, the
  115. signal masked was restored to ~0 instead of the original value.
  116.  
  117. Added a new utility, ixstack, and a new global variable, __stack, to allow
  118. the user and programmer to specify a minimum stacksize. If the current
  119. stack is too small, a new stack is automatically allocated. Thanks to Kamil
  120. Iskra for implementing this.
  121.  
  122. ioctl(fd, TIOCGPGRP, ...) now returns something useful. NcFtp didn't show
  123. the progress bar anymore because of this.
  124.  
  125. Added large-baserel libraries and startup-code.
  126.  
  127. ============
  128. VERSION 44.0
  129. ============
  130.  
  131. Kriton Kyrimis updated ixprefs.
  132.  
  133. David Zaroski updated ixtrace.
  134.  
  135. Fixed link count for directories. Thanks to Norbert Pueschel.
  136.  
  137. umask implemented for for open() and mkdir(). Thanks to Norbert Pueschel.
  138.  
  139. Added muFIBB_SET_GID, which will be implemented in the next version
  140. of MultiUser. The old way of handling setgid was confusing and even
  141. potentially dangerous.  Thanks to Norbert Pueschel.
  142.  
  143. Added the translation unix sticky bit -> AmigaOS h bit. This one is
  144. more for aestaethical reasons, as the h bit is no longer supported in 3.x.
  145. Thanks to Norbert Pueschel.
  146.  
  147. Added a field 'void *u_user;' near the beginning of the user struct which
  148. everybody is free to (ab)use. It can be handy to store task private data
  149. in the user struct, at least, I had to use it recently.
  150.  
  151. Added an ix_amiga.h header, which will contain all amiga specific functions
  152. and macros in ixemul.library and libc.a, together with a description.
  153.  
  154. Profiling has been enhanced. Ixprefs adds a new profiling preference:
  155. either take samples only while your program is running and the PC is within
  156. your program, or take samples while your program is running and if the PC
  157. is outside your program code (e.g. in ixemul or in intuition.library), use
  158. the last function your program entered before calling ixemul or whatever,
  159. or always take samples, even if other programs are running.  Again, the
  160. last recorded function gets the hit in those cases.
  161.  
  162. An array of 100 longs to store the A4 register of shared libraries has been
  163. added to the user struct. This array can be easily increased in future
  164. releases, should the need arise. The first 20 slots are for your own free
  165. use, the other slots should be registered. See the file REGISTRY in the
  166. ixemul source distribution for more details.
  167.  
  168. Fixed yet another path bug. Running a shell script that's placed somewhere
  169. in your PATH from 'make' failed, unless the filename of the script was
  170. absolute.
  171.  
  172. Added vfork_setup_child to libc.a. This is a wrapper intended to make life
  173. just a little bit easier for those who need to use the vfork2()/vfork_resume()
  174. trick. It replaces the old 'ix_resident()/ix_get_vars2()' pair.
  175.  
  176. Fixed more problems with the routines that start a shell script. This time
  177. problems with symbolic links have been fixed.
  178.  
  179. Fixed problems when parsing a pathname of a shell script, preventing the
  180. execution of that script.
  181.  
  182. Replaced the stdio-sources by the NetBSD 44.0 versions, which incidentally
  183. fixed the broken fgetpos function. This change also adds printf() and scanf()
  184. support for the 'long long' datatype.
  185.  
  186. Added support for the O_CASE open() flag: this will open an existing file
  187. only if the filenames match using a case-sensitive comparison.
  188.  
  189. fstat() didn't compensate the file time for the current timezone offset.
  190.  
  191. Ixemul now supports the 68010 CPU. Thanks to Pascal Eeftinck for pointing
  192. out that the 68010 uses a 68020-like stackframe.
  193.  
  194. Build the version.[ch] files in the build directory instead of in the
  195. source directory.
  196.  
  197. Fixed fchdir().
  198.  
  199. Changed the machine name as returned by uname() to "m68k". Thanks to Lars
  200. Hecking for this.
  201.  
  202. O_ASYNC I/O is now partially supported: select() will test for this
  203. situation.
  204.  
  205. /dev/tty is now translated to console:.
  206.  
  207. Implemented pseudo-terminals support using the FIFO device.
  208.  
  209. Many, mostly small, changes to become more NetBSD compatible. Where
  210. possible, I've replaced the old sources with the NetBSD 1.1 sources.
  211.  
  212. The select() function has been improved: it is now much faster and works
  213. much better.
  214.  
  215. Using F_SETFL with fcntl() failed if the file wasn't a regular file. It now
  216. also works for pipes and sockets.
  217.  
  218. Requesters that are from ixemul.library or ixnet.library now have the name
  219. of the library as their title, so that you can see that they are from the
  220. library, and not from the application. Thanks to Udo Schnurpfeil for
  221. suggesting this.
  222.  
  223. The tty database functions unfortunately slipped through and weren't
  224. included with 43.1. They are back in 44.0.
  225.  
  226. Implemented mmap() and friends. Of course, any mmap feature that actually
  227. requires a MMU will return an error. But if mmap() is used to load a file
  228. into memory, then it works fine.
  229.  
  230. ============
  231. VERSION 43.2
  232. ============
  233.  
  234. Applied patch from Kamil Iskra to improve ixemul stack extension
  235. handling.
  236.  
  237. ============
  238. VERSION 43.1
  239. ============
  240.  
  241. Ixemul no longer uses async writes. All I/O is now synchronous. This
  242. allowed me to remove several Disable()/Enable() pairs, and actually made
  243. ixemul faster. Apparently the overhead in handling async I/O was
  244. substantial.
  245.  
  246. Applied patches from Jeff Shepherd fixing various problems in the
  247. ixnet.library. Among them improved AS225 passwd handling.
  248.  
  249. Moved the resolver functions out of ixnet.library into libc.a. All programs
  250. that used these functions will have to be recompiled. Very few programs use
  251. these functions, and since they are really higher level functions and do
  252. not belong in a low level library like ixnet, I've moved them.
  253.  
  254. Also moved tty database functions (getttyent() and friends, ttyname() and
  255. ttyslot()) to libc.a, for much the same reason.
  256.  
  257. Added the NetBSD DB sources to libc.a and removed the hacked versions from
  258. ixnet.
  259.  
  260. Replaced various headers with the NetBSD versions. Important for certain
  261. socket-related ioctl defines that were incorrect in the old headers.
  262.  
  263. Added ptrace(GETA4, pid, 0, 0) to obtain the value of the a4 register if
  264. this executable was compiled with -fbaserel or -resident. Needed by gdb to
  265. find out where the data section is.
  266.  
  267. Added ptrace(GETEXENAME, pid, 0, 0) to obtain the name of the current
  268. executable. Useful in scripts that start with '#!/bin/sh' or something
  269. similar. 'argv[0]' as seen by sh is the name of the script, but if you want
  270. to get the pathname of 'sh' itself, you can use this ptrace call.
  271.  
  272. Added setlocale() and ctermid() to libc.a.
  273.  
  274. It is now possible to unlink() a file that is owned by another process
  275. (just like Unix). Gcc uses this to remove temporary files that are actually
  276. owned by cpp (or as). Of course, on the Amiga this is implemented as a
  277. delayed delete, i.e. a flag is set in the 'struct file' to tell ixemul to
  278. delete the file when it is closed by the owner process.
  279.  
  280. Added support for a root ('/') directory. This will only work for programs
  281. that use ixemul.library. So if you start pdksh, 'cd' to the root (cd /) and
  282. use the AmigaOS command 'list' to view this directory, then you won't get
  283. what you expect. If you use the Unix ls command however, then you will see
  284. all the volumes that you have as top level directories.
  285.  
  286. Removed an old hack in __wait_packet.c that interfered with Ctrl-F
  287. handling.
  288.  
  289. Fixed a bug in fnctl(), F_SETFL.
  290.  
  291. Added AFS, AFSFloppy and PFS support.  Many thanks to the AFS author,
  292. Michiel Pelt, who provided me with the necessary technical information, and
  293. to Kriton Kyrimis for giving some very useful suggestions.
  294.  
  295. Added MultiUserFileSystem support, contributed by Mike Krings. Thanks Mike!
  296.  
  297. Added new function ix_warning: similar to ix_panic, but allows the user to
  298. choose between "Continue" and "Abort". This to work around a case like:
  299.  
  300.     for (;;) crypt();
  301.  
  302. where one couldn't break out of the program because the requester kept
  303. popping up.
  304.  
  305. Fixed -mstackcheck support and fixed buggy baserel-stackextend support.
  306.  
  307. The call socket(AF_UNIX, SOCK_STREAM, 0) no longer crashes if ixnet.library
  308. is not installed.
  309.  
  310. Reorganized Makefiles. I've removed the option to compile each source
  311. separately, instead they are always catenated together. Also, 'make' no
  312. longer starts itself two more times in order to make the library. I've
  313. used GNU make wizardry to let 'make' figure out all the targets by itself.
  314.  
  315. Sigsetjmp and siglongjmp were broken. Fixed.
  316.  
  317. Replaced the old man pages with the new NetBSD manual pages in the original
  318. troff form.
  319.  
  320. Replaced the nice() stub in ix_stub with nice.c from NetBSD.
  321.  
  322. Removed a Delay(100) that was called just before a vfork()ed program finally
  323. terminated.
  324.  
  325. Made h_errno a global variable like errno.
  326.  
  327. At several places in the library the errno variable was reset to 0.
  328. However, the library should (almost) never set errno to 0. This caused
  329. problems with the 'ping' program, where recvfrom set errno to 4, but the
  330. library changed it back to 0 before 'ping' got to see it.
  331.  
  332. Now sets st_uid and st_gid from a 'stat' structure to the effective UID and
  333. GID. Some programs tested these fields and they failed when using
  334. networking support. These fields used to be 0.
  335.  
  336. Reread the global environment variables only when 1) a new program is
  337. started, and 2) the ENV: directory has been changed (i.e., a new setting
  338. was added to ENV:). ENV: used to be read every time a program was started,
  339. whether it was needed or not.
  340.  
  341. Given the shell script s.sh in /ram/t:
  342.  
  343.     #!/bin/sh
  344.     /bin/echo $0
  345.  
  346. 'sh /ram/t/s.sh' produced '/ram/t/s.sh', while typing '/ram/t/s.sh' from
  347. within the pdksh shell produced 'Ram:t/s.sh'. Fixed.
  348.  
  349. Removed a dubious CurrentDir() to a *file* instead of a directory.  While
  350. this is apparently supported for the standard AmigaOS filesystems, not all
  351. third-party filesystems supported this.
  352.  
  353. When you try to use a >68020 ixemul.library on a 68000 Amiga, you now get a
  354. decent message instead of a crash.
  355.  
  356. ============
  357. VERSION 43.0
  358. ============
  359.  
  360. Integrated Jeff Shepherd's networking code. If ixnet.library is installed,
  361. then ixemul.library will use the networking functions from the
  362. ixnet.library, instead of the default dummy implementation. Ixnet.library
  363. works with AS225 and with AmiTCP. It supports both clients and daemons.
  364. A program that uses networking functions is completely shielded from the
  365. AS225 and AmiTCP differences by ixnet.library. That library will take care
  366. of all the details for you. That means that there is no longer any need to
  367. provide two different binaries, one for AS225 and one for AmiTCP.
  368. Furthermore, it is relatively easy to add support for other network
  369. packages. Thanks, Jeff!
  370.  
  371. Added stackchecking and extension code, thanks to Matthias Fleischer.
  372.  
  373. Finalized GDB support.
  374.  
  375. ============
  376. VERSION 42.1
  377. ============
  378.  
  379. Fixed bugs when running non-ixemul programs from tools like pdksh or make.
  380. You could get Enforcer hits and the Ctrl-C support also crashed the Amiga.
  381.  
  382. Use the NetBSD code for the system() function instead of using the Amiga
  383. kernel function SystemTagList. This was the cause of several
  384. incompatibilities when porting Unix programs.
  385.  
  386. Improved termios support (added OPORT and ONLCR flags and the INLCR flag).
  387.  
  388. Fixed ptrace handling. Almost none of Leonard's code has survived, I used a
  389. completely different method.
  390.  
  391. Fixed a problem where the name of the current directory, as is visible
  392. by the shell, wasn't changed when a program terminated and ixemul reset the
  393. current directory to its original place.
  394.  
  395. Improved performance somewhat by no longer going through address 4 to get
  396. to the ExecBase structure. Instead, it's copied once to the SysBase
  397. variable, and thereafter only that variable is used. The Enforcer manual
  398. warned against accessing address 4 too often, and ixemul.library did that
  399. a lot.
  400.  
  401. Also improved performance by fixing a busy wait. At one point in the
  402. ixemul, the program cannot continue until a context switch has taken place.
  403. So ixemul waits until the dispatch count of ExecBase has changed,
  404. indicating that a context switch has taken place. By installing a small,
  405. high priority (9) task with body "for (;;) Wait(1 << 31);" and signalling
  406. that task whenever a context switch is needed, I was able to circumvent the
  407. busy wait loop. Because of the high priority of the Task, a context switch
  408. would take place immediately. The task itself goes back to sleep at once,
  409. so there is no time lost there.
  410.  
  411. ============
  412. VERSION 42.0
  413. ============
  414.  
  415. Installed patch in arith.c to work around bug in IEEEDPCmp.  If the first
  416. 32 bits of both doubles are equal, and both doubles are negative, then
  417. the result can no longer be trusted.  Discovered by Bart Van Assche.
  418.  
  419. Ixtrace has been updated to recognize all 42.0 syscalls, thanks to David
  420. Zaroski.
  421.  
  422. Ctrl-C handling worked with KingCON, but not with the standard AmigaOS
  423. CON-handler (since I use KingCON I never noticed this until it was pointed
  424. out to me by Fred Fish :-). This has now been fixed. See the comments in
  425. library/__read.c for more information.
  426.  
  427. Added the uname() function, written by Lars Hecking.
  428.  
  429. The termios code now properly recognizes the ICRNL input flag for '\r' to
  430. '\n' translation.
  431.  
  432. Fixed a bug in the fcntl() function (actually, in the fcntl.h and
  433. sys/fcntl.h headers).
  434.  
  435. Moved several static variables to user.h, so they are now process-specific.
  436.  
  437. Added profiling support. It was always there, but it was never actually
  438. used.
  439.  
  440. The write() function writes its buffer line-by-line instead of in one big
  441. chunk if the filehandle is the handle of an interactive stream (for
  442. example, a console window). This allows the user to interrupt the output by
  443. pressing a key and it also allows the use of Ctrl-C to break the program.
  444. In previous versions you were unable to stop the output if you forgot to
  445. redirect it to a file. E.g., 'cat /libs/ixemul.library' would essentially
  446. take over the computer.
  447.  
  448. Changed default stack size handling when a new process is launched. It is
  449. either the value of the environment variable IXSTACK, or it inherits the
  450. size from its parent, but if that size is less than 16384, it uses a stack
  451. of 16384 bytes instead.
  452.  
  453. Replaced ixconfig by ixprefs (written by Kriton Kyrimis).
  454.  
  455. Integrated the partial ptrace support from Leonard Norrgard.
  456.  
  457. Removed the gnulib, gnulib-68881 and gnulib-soft-float directories.
  458.  
  459. Compiled with -Wall and fixed (nearly) all warnings. Some warnings are
  460. inevitable and cannot be avoided. -Wall already caught one illegal memory
  461. access bug in __Close()!
  462.  
  463. Added functions to set and get ixemulbase-private information. This will
  464. break older ixconfig's but is much cleaner. Nearly all of the ixemulbase
  465. structure is now off-limits and liable to change without notice! You are
  466. warned! In fact, the structure has been changed already. The library will
  467. complain if a program called 'ixconfig' tries to use it to prevent the user
  468. from using an old ixconfig with the new library.
  469.  
  470. Removed several arithmetic functions dealing with 'long long' types. They
  471. didn't belong in the library, link with libgcc.a instead. Also removed some
  472. arithmetic functions that are never called because they are compiled
  473. directly in 68000 assembly. Don't know why they were ever added.
  474.  
  475. Fixed gen_glue.c so that it no longer generates glue for obsolete functions.
  476.  
  477. Removed ssystem(). ssystem() was the precursor of vfork/execve, and is no
  478. longer needed. NOTE: it is still used in gcc. But this fails spectacularly
  479. once you use Ctrl-C! Delete gcc and replace it by gccv, this one uses
  480. vfork/execve as it should and works perfectly.
  481.  
  482. ixemul.library now uses the new-style inlines.
  483.  
  484. qsort() is now re-entrant and no longer uses the horrible Semaphore hack.
  485.  
  486. Moved general/fts.c to the static library. These directory-tree traversal
  487. functions are rarely, if ever used, so they belong in libc.a and not in a
  488. shared library.
  489.  
  490. Reorganized the Makefiles. The makefiles now use several GNU make-only
  491. features to make them smaller and easier to maintain.  'make clean' and
  492. 'make clobber' now work correctly.  It is also no longer nessecary to add
  493. the -srcdir option to 'sh configure' in order to create valid Makefiles.
  494.  
  495. The top level Makefile contains the line 'export CATENATE = 1'. If this
  496. line is present, the compilation speed is greatly improved by catenating
  497. several small C-sources together into one bigger C-source, and then the
  498. bigger one is compiled. By commenting this line each separate source is 
  499. compiled. Note that besides improving compilation speed, the library also
  500. gets smaller as the compiler can now determine whether a call can be made
  501. relative or should remain absolute.
  502.  
  503. Fixed a symlink-bug (ln -s /ram/t created a symlink to /am/t, removing the
  504. first character of the volumename).
  505.  
  506. Moved ixtrace to the new utils directory, together with the small ixrun
  507. utility.  ixrun can be used to run Amiga batch files from /bin/sh (just put
  508. ';!ixrun' at the second line (!) of the batch file).  Also added manual
  509. page for ixrun.
  510.  
  511. Cleaned up the static directory:  removed xmalloc.c and alloca.c as they do
  512. not belong in the standard C library.  Also replaced the ctime.c source by
  513. the version from elsie.nci.nih.gov, which is the official version used by
  514. NetBSD and Linux, among others.  Finally, errlst.c and siglist.c now just
  515. include their counterparts in the general directory.
  516.  
  517. The version information is placed in the version.in file in the
  518. top-level directory. The version.c and version.h sources are created from
  519. this file.
  520.  
  521. The print_base_size.c and print_user.c sources have been replaced by
  522. create_header.c, which creates a header containing a few defines that are
  523. used by start.s and trap.s. These used to be hard-coded, but now they are
  524. generated, preventing future mistakes.
  525.  
  526. Added the raise function. For some reason, raise.c was never compiled into
  527. the library. It is now.
  528.  
  529. Removed ALL sources that were not needed for compilation.
  530.  
  531. Added timezone handling. The timezone databases from elsie.nci.nih.gov are
  532. used and installed in etc:zoneinfo. The new ixtimezone utility should be
  533. added to the startup-sequence. This utility determines the correct offset
  534. for Greenwich Mean Time. Read the manual page (Yes! Documentation at last!)
  535. for more information.
  536.  
  537. Merged the ixpipe-handler into the ixemul-distribution. It has been placed
  538. in the utils-directory.
  539.  
  540. Added hack to allow ixemul to run AmigaOS scripts without breaking them
  541. when run from the AmigaOS shell. The problem is that the ".KEY" string
  542. must be at the first line of the script, while ixemul also looks for "#!"
  543. and ";!" in the first line. If a file starts with ".KEY", ixemul will now
  544. skip the first line, before checking for "#!" and ";!".
  545.  
  546. ============
  547. VERSION 41.4
  548. ============
  549.  
  550. Integrated patches from Hans Verkuil that fix CTRL-C handling, fix another
  551. signal bug, fix problem with "rm -f", prepare for proper timezone handling,
  552. and remove '@' hack in argument parsing.
  553.  
  554. Applied patch from Kamil Iskra to avoid incompatibility between ixemul
  555. and the popular KingCON 1.3.  This is KingCON's fault because it makes
  556. invalid assumptions about the nature of reply port contained in "dp_Port"
  557. of packets sent to it.  Also applied patch (duplicated in Hans' patches)
  558. to crt0.c that fixes bug where the revision requester was not working
  559. properly if the current revision is 0.
  560.  
  561. Applied patch from Rask Lambertsen (duplicated in Hans' patches) that makes
  562. ixemul.library open "CONSOLE:" instead of "*".
  563.  
  564. Added implementation from Kriton Kyrimis for srand48, seed48, lcong48,
  565. lrand48, nrand48, mrand48, jrand48, drand48, and erand48.
  566.  
  567. Added "#include <sys/types.h>" to <dirent.h> to be more compatible
  568. with most current systems that do this inclusion for you.  This change
  569. should be backwards compatible with code that does the inclusion
  570. explicitly.  Suggested by Lars Hecking.
  571.  
  572. Changed prototype in <unistd.h> for getpgrp() to take a pid_t argument,
  573. which matches the implementation in library/getcrap.c.  Suggested by
  574. Lars Hecking.
  575.  
  576. Made change to <math-68881.h> in pow() so that if x<0 the code does
  577. log(-x) rather than log(x).  Suggested by Thomas Radtke and implemented
  578. by Lars Hecking.
  579.  
  580. Disable definitions of F_GETLK, F_SETLK, F_SETLKW, F_RDLCK, F_UNLCK, and
  581. F_WRLCK in <fcntl.h> since they are unimplemented and thus might have misled
  582. autoconfiguration schemes into thinking they were available.  Also fix
  583. ixtrace.c so it will still compile without these defined.  Suggested by
  584. Robert Ramiega.
  585.  
  586. Integrated patch from Joop van de Wege (duplicated in Hans' patches) for
  587. setting up fpu on 68060.
  588.  
  589. ============
  590. VERSION 41.3
  591. ============
  592.  
  593. Updated DBL_MIN and DBL_MAX in float.h to include one additional digit
  594. of precision.  Enclose negative constants in parens to avoid unexpected
  595. conversion to subtraction via cpp macros.
  596.  
  597. Applied patch from Hans Verkuil to fix serious bug in signal handling,
  598. to reset all signal handlers after an execve, except for those which are
  599. being ignored (SIG_IGN).
  600.  
  601. Applied patch from Joop van de Wege to trap.s to set 68881 rounding mode
  602. back to truncation instead of "round to nearest", as required by the
  603. ANSI C standard which specifies truncation.
  604.  
  605. Integrated ixtrace into source tree and arranged for it to be built and
  606. installed.
  607.  
  608. ============
  609. VERSION 41.2
  610. ============
  611.  
  612. Added "#include <sys/types.h>" to <sys/stat.h> to be more compatible
  613. with most current systems that do this inclusion for you.  This change
  614. should be backwards compatible with code that does the inclusion
  615. explicitly.
  616.  
  617. Changed version string to be style guide compliant.  Also arranged that
  618. version.o gets linked in, since it has the $VER: string and is otherwise
  619. unreferenced by any ixemul.library code.
  620.  
  621. Merged patches from Hans Verkuil to fix execve environment passing,
  622. always open the console for stderr if no other file handle is provided,
  623. move AmigaOS style filename matching into glob(), and fix a small problem
  624. with "open(NULL,...) that caused enforcer hits.
  625.  
  626. ============
  627. VERSION 41.1
  628. ============
  629.  
  630. A 68040 version of the library with soft floating point is now built,
  631. since there are apparently systems that use the versions of the 68040
  632. without FPUs.
  633.  
  634. Fixed crt0 files to use "jra _ENTRY" as first instruction rather than
  635. "jmp pc@(_ENTRY)" which was getting assembled by gas 2.5.2 as a 68020+
  636. instruction.  Note "jmp pc@(_ENTRY:W)" seems to generate the 68000
  637. instruction but a bad jump offset.  Added corresponding change to
  638. execve.c to recognize ixemul using executables with this change.
  639.  
  640. Fixed cpu.h, machdep.c, trap.s to avoid pc relative assembly instruction
  641. that was getting compiled as 68020+ instruction and causing crashes on
  642. 68000 machines.
  643.  
  644. Fixed numerous files that did "#include" of "DEFS.H" rather than "defs.h".
  645. This is an innocuous bug on the Amiga, which is case independent, but
  646. it kills cross compilations.
  647.  
  648. ============
  649. VERSION 41.0
  650. ============
  651.  
  652. No significant changes since the 40.6 beta release other than the
  653. mechanism (and macros) for building debug versions has been cleaned
  654. up and the version number has been bumped to 41.0.
  655.  
  656. Did include the cat'able man pages back in the source tree, but no
  657. work has been done yet to track down the sources for the man pages
  658. and arrange for them to be properly integrated into the tree and
  659. have the cat'able versions generated from those sources.
  660.  
  661. ============
  662. VERSION 40.6
  663. ============
  664.  
  665. Many bugs have been fixed since the 40.4 release, including a serious
  666. one that was causing memory corruption and many enforcer or mungwall
  667. hits.
  668.  
  669. Network support has been reintegrated into the library, however it is
  670. still mostly untested.  In particular, many functions are only
  671. available for static linking from the libnet.a library.  By the next
  672. release, it is expected that libnet.a will be incorporated in libc.a.
  673.  
  674. Work is underway to merge the best features from at least two
  675. different strains of the ixemul library.  Many more changes are
  676. expected by the 41.0 release.
  677.  
  678. An environment variable called "IXSTACK" is now used to control the
  679. stack size of programs started by system().  If the current stack is
  680. smaller than the value in IXSTACK, the stack is raised to the value
  681. specified in IXSTACK.  So IXSTACK is a minimum value.
  682.  
  683. Automatic stack checking, with a requestor if the stack overflows, is
  684. available for executables compiled with a version of gcc that supports
  685. the -mstackcheck option.  This also requires linking with new crt0 and
  686. libc.a.
  687.  
  688. Automatic stack extension as necessary is available for executables
  689. compiled with a version of gcc that supports the -mstackextend option.
  690. This also requires linking with new crt0 and libc.a.
  691.