home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Spezial / SPEZIAL2_97.zip / SPEZIAL2_97.iso / UPDATE / EMXFIX04 / emxfix04.doc next >
Text File  |  1997-10-08  |  6KB  |  186 lines

  1. ===============================================================================
  2. emxfix04.doc      emx 0.9c     FIX 04                               30-Sep-1997
  3. ===============================================================================
  4.                                           Copyright (c) 1997 by Eberhard Mattes
  5.  
  6. Introduction
  7. ------------
  8.  
  9. emxfix04.zip is a fix package for emx 0.9c.  It contains all fixes and
  10. new features of emxfix01.zip through emxfix03.zip, and new fixes.
  11.  
  12. If you are a programmer who uses emx for creating applications,
  13. install emxfix04.zip.  If you just use applications which use emx,
  14. install the emxrt.zip corresponding to emxfix04.zip (see the ZIP
  15. comment).  You don't have to install both.
  16.  
  17.  
  18. License
  19. -------
  20.  
  21. emx is free software; you can redistribute it and/or modify it
  22. under the terms of the GNU General Public License as published by
  23. the Free Software Foundation; either version 2, or (at your option)
  24. any later version.
  25.  
  26. emx is distributed in the hope that it will be useful,
  27. but WITHOUT ANY WARRANTY; without even the implied warranty of
  28. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  29. GNU General Public License for more details.
  30.  
  31. You should have received a copy of the GNU General Public License
  32. along with emx; see the file COPYING.  If not, write to
  33. the Free Software Foundation, 59 Temple Place - Suite 330,
  34. Boston, MA 02111-1307, USA.
  35.  
  36. See \emx\doc\COPYING.EMX and \emx\doc\COPYING for details.
  37.  
  38. In consequence, emxfix04.zip can be distributed only if distributed
  39. with emxsrcr.zip and gbinusrc.zip.
  40.  
  41.  
  42. Caveat
  43. ------
  44.  
  45. Do not install this fix package unless you have installed emx 0.9c.
  46. It does not work with any other release of emx.  Do not install
  47. emxfix04.zip if you have already installed a later fix package.
  48.  
  49.  
  50. Problems solved by this fix package
  51. -----------------------------------
  52.  
  53. [emxfix04.zip]
  54.  
  55. o    Sockets don't work properly with TCP/IP 4.1 and/or SOCKS
  56.  
  57. o    A semicolon is missing in <netinet/if_ether.h>
  58.  
  59. o    The value of S_IFMT defined in <sys/stat.h> is wrong
  60.  
  61. o    fgets() does not return NULL if a read error occurs
  62.  
  63. o    fgets() does not leave the array unchanged if EOF occurs without
  64.      any character read
  65.  
  66. [emxfix03.zip]
  67.  
  68. o    ld traps if PATH contains a single \ (see emxfix01)
  69.  
  70. o    emxbind does not accept more than one -R option for RSX
  71.  
  72. o    The %s conversion of printf() with precision specified does not
  73.      correctly handle buffers which are not null-terminated
  74.  
  75. o    Enlarging the file descriptor table in _fd_init() isn't thread-safe
  76.  
  77. [emxfix02.zip]
  78.  
  79. o    The output of printf()'s %f format is not correctly rounded for
  80.      numbers with magnitude between 0 and 1.
  81.  
  82. o    emxfix01.zip does not contain emxlibcm.dll and emxlibcs.dll.
  83.  
  84. [emxfix01.zip]
  85.  
  86. o    pmgdb cannot cope with invalid display expressions.
  87.  
  88. o    emxupd displays a bogus warning ("emx 0.9c or later required").
  89.  
  90. o    ld does not correctly handle references from the data segment to
  91.      imported symbols.
  92.  
  93. o    In <netinet/ip.h>, the test for TCPIPV4 is backwards.
  94.  
  95. o    tzname[0] and tzname[1] are NULL if TZ is invalid.
  96.  
  97. o    timezone is not correctly set.
  98.  
  99. o    TZ=XYZ (without offset) is not accepted.
  100.  
  101. o    stat(), opendir() etc. trap if the file name is "/" or "\\".
  102.  
  103.  
  104. Features added by this fix package
  105. ----------------------------------
  106.  
  107. [emxfix03.zip]
  108.  
  109. o    malloc() etc. of the single-thread libraries no longer use
  110.      semaphores.  This results in slightly smaller executables and
  111.      should fix a problem with the RSX option -RO for single-thread
  112.      programs (multithread programs still don't work with -RO)
  113.  
  114. [emxfix02.zip]
  115.  
  116. o    New trivial C++ sample program (hello.cc) for showing how to link
  117.      with the standard C++ library.
  118.  
  119. [emxfix01.zip]
  120.  
  121. o    emxbind now can export variables from DLLs (that is, symbols from
  122.      the .data and .bss segments).
  123.  
  124. o    emxexp now supports long member names.
  125.  
  126.  
  127. Revision indexes
  128. ----------------
  129.  
  130.     emx.dll         51
  131.     emx.exe         50
  132.     emxio.dll       50
  133.     emxlibc.dll     50 (or 53; no change except for revision index)
  134.     emxlibcm.dll    54
  135.     emxlibcs.dll    54
  136.     emxwrap.dll     50
  137.  
  138.  
  139. Installing this fix package
  140. ---------------------------
  141.  
  142. 1.  Stop all processes which use emxlibcm.dll or emxlibcs.dll.  Use
  143.  
  144.         emxload -qw
  145.  
  146.     to stop preloaded programs under OS/2.
  147.  
  148. 2.  Unpack emxfix04.zip or emxrt.zip (see introduction) in the root
  149.     directory of the drive where you have installed emx:
  150.  
  151.         cd \
  152.         unzip -o emxfix04               (or `unzip -o emxrt')
  153.  
  154.     Do not use the -f and -u options of unzip -- the time stamp of
  155.     header files has not been updated.
  156.  
  157.     If you get an error message such as
  158.  
  159.         error:  cannot create emx/dll/emx.dll
  160.  
  161.     about not being able to create a DLL file, create a temporary
  162.     directory and run emxuzdll.cmd in that directory, giving the path
  163.     name of emxfix04.zip or emxrt.zip and the path name of the emx DLL
  164.     directory on the command line:
  165.  
  166.         mkdir \emxtmp
  167.         chdir \emxtmp
  168.         emxuzdll a:\emxfix04.zip c:\emx\dll
  169.         chdir ..
  170.         rmdir emxtmp
  171.  
  172.     This will replace the DLLs in c:\emx\dll with the DLLs in
  173.     emxfix04.zip even if the DLLs are in use.  The new versions of the
  174.     DLLs become active as soon as the last process referencing them is
  175.     terminated, or on the next reboot.  Therefore, you should reboot
  176.     after running emxuzdll, otherwise you won't know if and when the
  177.     new versions become active.  (Actually, you don't need a temporary
  178.     directory, any directory not containing any DLL files will do.)
  179.  
  180. To take advantage of the library fixes, relink your programs.
  181.  
  182. You should keep the file \emx\doc\emxfix04.doc as it shows what fixes
  183. you have installed.
  184.  
  185. --------------------------- END OF EMXFIX04.DOC ------------------------------
  186.