home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / SYSTEM / MIRFIX.ZIP / READ.ME < prev   
Encoding:
Text File  |  1991-09-16  |  1.8 KB  |  51 lines

  1. DOS5/MIRROR users - caution!
  2.  
  3.    There is a bug in MIRROR.COM that comes with DOS 5.0
  4. that may cause programs to hang "randomly". After investigation,
  5. we were able to track the originator of this bug:
  6.  
  7.       Int 21h, AH=41h (delete file with ASCIIZ)
  8.   and Int 21h, AH=13h (delete file with FCB)
  9.  
  10.    are the sinners: when deleting a file with size 0 (zero),
  11. the DOS interrupt returns with interrupts clear. This may
  12. cause programs to hang.
  13.  
  14. How to use MIRFIX:
  15.    Load MIRFIX immediately after loading MIRROR /Tx in your
  16. AUTOEXEC.BAT file. MIRFIX can be kept quiet appending any
  17. command line parameter, e.g.:
  18.  
  19.       MIRFIX shutup
  20.    or MIRFIX x
  21.  
  22.  
  23. How we detected this bug:
  24.  
  25.    one of our programs uses a temp file to buffer data. This temp
  26. file is deleted after the operation has completed, and the program
  27. reenters an event loop (keyboard, mouse). At times there is no
  28. need to use the temp file so its size remains zero. In this case
  29. DOS (to be exact: MIRROR) leaves the interrupt flag clear, and after
  30. reentering the event loop, no more events can be processed since CLI
  31. disables keyboard, timer, and mouse as well. In that case, you simply
  32. have to cold reboot the machine.
  33.  
  34.    Since we believe this problem could affect a lot of programs, we
  35. give this bug fix TSR away for free public use. Anyone may include
  36. the compiled TSR as well as the source to distribution and sample disks,
  37. as long as our developer's notice is not removed.
  38.  
  39. When devloping a program it would be a good idea not to rely on proper
  40. OS processing, but to enable interrupts after a call to the OS has been
  41. made. (we cannot assure that we found all bugs in DOS 5.x !!!)
  42.  
  43. Hope the guys at Central Point and Microsoft will keep their eyes open to
  44. create bug free OS software sometimes !!!
  45.  
  46.  
  47.    Ernest Vogelsinger,
  48.    EDP-Services
  49.    Vienna, Austria
  50.  
  51.