TIP: Click on subject to list as thread! ANSI
echo: qedit
to: GEORGE DE BRUIN
from: LEWIN EDWARDS
date: 1994-12-11 08:31:00
subject: QEdit`s file saving

/*
 GDB> |But although every other package falls over most promisingly when
 GDB> |my software is loaded, QEdit still saves successfully.
 GDB> That's strange!  Our process is fairly simple:
Tell me about it 8-) But when you're dealing with bugreports from 
/schoolteachers/, most anything is possible, or even probable 8-)
 GDB>     - Write a temp file containing the contents of the edited file.
Yes, seen it : this is the xxxxxxxx.QQQ file.
[other steps].
This is what I thought QEdit did. I just don't understand why it got 
through.. the int 21h hook portion of our program FORBIDS renaming (from,to), 
deleting, opening for writing [all via FCBs or handles] of AUTOEXEC.BAT, 
CONFIG.SYS and WIN.INI.
However, the problem appears to be solved - I went through the code and found 
a small bug in our routine to prevent copying of EXE, COM and SYS files - and 
now it's fixed, QEdit meeps and says "Cannot rename or delete original file". 
Most promising.
 GDB> turned off.  All of this is done with standard DOS calls, so there
 GDB> shouldn't be anything strange going on.
Under MS-DOS ? You /must/ be joking 8-)
Thanks for your help here.
-- Lewin A.R.W. Edwards (melancholy, the male equivalent of Miss Havisham)
*/
--- GoldED 2.41+
---------------
* Origin: ZWSBBS 61-3-8276881 28800bps 24 Hours (3:634/396)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.