home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Spezial
/
SPEZIAL2_97.zip
/
SPEZIAL2_97.iso
/
UPDATE
/
EMXFIX04
/
emxfix04.doc
next >
Wrap
Text File
|
1997-10-08
|
6KB
|
186 lines
===============================================================================
emxfix04.doc emx 0.9c FIX 04 30-Sep-1997
===============================================================================
Copyright (c) 1997 by Eberhard Mattes
Introduction
------------
emxfix04.zip is a fix package for emx 0.9c. It contains all fixes and
new features of emxfix01.zip through emxfix03.zip, and new fixes.
If you are a programmer who uses emx for creating applications,
install emxfix04.zip. If you just use applications which use emx,
install the emxrt.zip corresponding to emxfix04.zip (see the ZIP
comment). You don't have to install both.
License
-------
emx is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
emx is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with emx; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
See \emx\doc\COPYING.EMX and \emx\doc\COPYING for details.
In consequence, emxfix04.zip can be distributed only if distributed
with emxsrcr.zip and gbinusrc.zip.
Caveat
------
Do not install this fix package unless you have installed emx 0.9c.
It does not work with any other release of emx. Do not install
emxfix04.zip if you have already installed a later fix package.
Problems solved by this fix package
-----------------------------------
[emxfix04.zip]
o Sockets don't work properly with TCP/IP 4.1 and/or SOCKS
o A semicolon is missing in <netinet/if_ether.h>
o The value of S_IFMT defined in <sys/stat.h> is wrong
o fgets() does not return NULL if a read error occurs
o fgets() does not leave the array unchanged if EOF occurs without
any character read
[emxfix03.zip]
o ld traps if PATH contains a single \ (see emxfix01)
o emxbind does not accept more than one -R option for RSX
o The %s conversion of printf() with precision specified does not
correctly handle buffers which are not null-terminated
o Enlarging the file descriptor table in _fd_init() isn't thread-safe
[emxfix02.zip]
o The output of printf()'s %f format is not correctly rounded for
numbers with magnitude between 0 and 1.
o emxfix01.zip does not contain emxlibcm.dll and emxlibcs.dll.
[emxfix01.zip]
o pmgdb cannot cope with invalid display expressions.
o emxupd displays a bogus warning ("emx 0.9c or later required").
o ld does not correctly handle references from the data segment to
imported symbols.
o In <netinet/ip.h>, the test for TCPIPV4 is backwards.
o tzname[0] and tzname[1] are NULL if TZ is invalid.
o timezone is not correctly set.
o TZ=XYZ (without offset) is not accepted.
o stat(), opendir() etc. trap if the file name is "/" or "\\".
Features added by this fix package
----------------------------------
[emxfix03.zip]
o malloc() etc. of the single-thread libraries no longer use
semaphores. This results in slightly smaller executables and
should fix a problem with the RSX option -RO for single-thread
programs (multithread programs still don't work with -RO)
[emxfix02.zip]
o New trivial C++ sample program (hello.cc) for showing how to link
with the standard C++ library.
[emxfix01.zip]
o emxbind now can export variables from DLLs (that is, symbols from
the .data and .bss segments).
o emxexp now supports long member names.
Revision indexes
----------------
emx.dll 51
emx.exe 50
emxio.dll 50
emxlibc.dll 50 (or 53; no change except for revision index)
emxlibcm.dll 54
emxlibcs.dll 54
emxwrap.dll 50
Installing this fix package
---------------------------
1. Stop all processes which use emxlibcm.dll or emxlibcs.dll. Use
emxload -qw
to stop preloaded programs under OS/2.
2. Unpack emxfix04.zip or emxrt.zip (see introduction) in the root
directory of the drive where you have installed emx:
cd \
unzip -o emxfix04 (or `unzip -o emxrt')
Do not use the -f and -u options of unzip -- the time stamp of
header files has not been updated.
If you get an error message such as
error: cannot create emx/dll/emx.dll
about not being able to create a DLL file, create a temporary
directory and run emxuzdll.cmd in that directory, giving the path
name of emxfix04.zip or emxrt.zip and the path name of the emx DLL
directory on the command line:
mkdir \emxtmp
chdir \emxtmp
emxuzdll a:\emxfix04.zip c:\emx\dll
chdir ..
rmdir emxtmp
This will replace the DLLs in c:\emx\dll with the DLLs in
emxfix04.zip even if the DLLs are in use. The new versions of the
DLLs become active as soon as the last process referencing them is
terminated, or on the next reboot. Therefore, you should reboot
after running emxuzdll, otherwise you won't know if and when the
new versions become active. (Actually, you don't need a temporary
directory, any directory not containing any DLL files will do.)
To take advantage of the library fixes, relink your programs.
You should keep the file \emx\doc\emxfix04.doc as it shows what fixes
you have installed.
--------------------------- END OF EMXFIX04.DOC ------------------------------