home *** CD-ROM | disk | FTP | other *** search
- Subject: emx 0.8f patch #4: _ea_get()
-
-
- I forgot to add eatest to /emx/test/makefile. As result, a bug in
- _ea_get() wasn't found.
-
- Here's a patch for /emx/lib/io/eaget.c:
-
- *** eaget.c~ Tue Jan 12 00:48:04 1993
- --- eaget.c Tue Jan 12 00:48:04 1993
- ***************
- *** 83,89 ****
- errno = ENOMEM;
- return (-1);
- }
- ! memcpy (dst->value, pfea->szName + pfea->cbName, pfea->cbValue);
- }
- dst->flags = pfea->fEA;
- dst->size = pfea->cbValue;
- --- 83,89 ----
- errno = ENOMEM;
- return (-1);
- }
- ! memcpy (dst->value, pfea->szName + pfea->cbName + 1, pfea->cbValue);
- }
- dst->flags = pfea->fEA;
- dst->size = pfea->cbValue;
-
- Here's a patch for /emx/test/makefile:
-
- *** makefile.~ Tue Jan 12 00:44:16 1993
- --- makefile Tue Jan 12 00:45:18 1993
- ***************
- *** 47,54 ****
-
- dosonly: hw_mem.exe vmode.exe
-
- ! os2only: dlltest1 far16.exe fork.exe idle.exe kbd.exe msgtest \
- ! os2test.exe pm1.exe pipe.exe popen.exe read_kbd.exe \
- select.exe showmem.exe testdll1.dll threads.exe thunk.exe \
- vio.exe
-
- --- 47,54 ----
-
- dosonly: hw_mem.exe vmode.exe
-
- ! os2only: dlltest1 far16.exe eatest.exe fork.exe idle.exe kbd.exe \
- ! msgtest os2test.exe pm1.exe pipe.exe popen.exe read_kbd.exe \
- select.exe showmem.exe testdll1.dll threads.exe thunk.exe \
- vio.exe
-
- ***************
- *** 107,112 ****
- --- 107,114 ----
- $(I)io.h
- idle.o: idle.c $(I)stdio.h $(I)process.h $(I)string.h $(I)os2emx.h \
- $(I)stdlib.h
- + eatest.o: eatest.c $(I)stdio.h $(I)stdlib.h $(I)string.h $(I)getopt.h \
- + $(I)io.h $(I)sys/ea.h
- eatool.o: eatool.c $(I)stdio.h $(I)stdlib.h $(I)string.h $(I)sys/ead.h \
- $(I)getopt.h $(I)sys/nls.h $(I)os2.h
- math.o: math.c $(I)stdio.h $(I)stdlib.h $(I)math.h
- ***************
- *** 274,279 ****
- --- 276,284 ----
-
- kbd.exe: kbd.c $(LIBS) $(LIBOS2)
- $(CC) -o kbd.exe kbd.c -Zomf -Zsys -T 0x10000
- +
- + eatest.exe: eatest.o $(LIBS) $(LIBOS2)
- + $(CC) -o eatest.exe eatest.o
-
- eatool.exe: eatool.o $(LIBS) $(LIBOS2)
- $(CC) -o eatool.exe eatool.o
-
- Eberhard Mattes (mattes@azu.informatik.uni-stuttgart.de)
-