Metropoli BBS
VIEWER: emxfix01.doc MODE: TEXT (ASCII)
===============================================================================
emxfix01.doc      emx 0.9c     FIX 01                               28-Oct-1996
===============================================================================
                                          Copyright (c) 1996 by Eberhard Mattes

Introduction
------------

emxfix01.zip is a fix package for emx 0.9c.

If you are a programmer who uses emx for creating applications,
install emxfix01.zip.  If you just use applications which use emx,
install the emxrt.zip corresponding to emxfix01.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, emxfix01.zip can be distributed only if distributed
with emxsrcr.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
emxfix01.zip if you have already installed a later fix package.


Problems solved by this fix package
-----------------------------------

[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
----------------------------------

[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         50
    emx.exe         50
    emxio.dll       50
    emxlibc.dll     50
    emxlibcm.dll    51
    emxlibcs.dll    51
    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 emxfix01.zip or emxrt.zip (see introduction) in the root
    directory of the drive where you have installed emx:

        cd \
        unzip -o emxfix01               (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 emxfix01.zip or emxrt.zip and the path name of the emx DLL
    directory on the command line:

        mkdir \emxtmp
        chdir \emxtmp
        emxuzdll a:\emxfix01.zip c:\emx\dll
        chdir ..
        rmdir emxtmp

    This will replace the DLLs in c:\emx\dll with the DLLs in
    emxfix01.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\emxfix01.doc as it shows what fixes
you have installed.

--------------------------- END OF EMXFIX01.DOC ------------------------------
[ RETURN TO DIRECTORY ]