Date: Sun, 15 Dec 2002 19:02:39 -0800 From: "Bob Frazier" <bobf@mrp3.com> To: <freebsd-bugs@FreeBSD.org> Subject: problem in fdimage.exe (fixed) Message-ID: <000501c2a4af$989ea100$1000a8c0@SFT>
next in thread | raw e-mail | index | archive | help
I found a problem in fdimage.exe which I was able to correct. The updated source 'fdimage.c' is attached to this e-mail. It (essentially) had trouble reading the command line arguments, and this prevented it from functioning at all. In short, pointers, structures, and other variables "passed by reference" should be 'nulled' before being used with the MSVC 16-bit compiler (this is generally good practice anyway). When I made the trivial changes and re-compiled it using MSVC 1.2c (MS's last 16-bit compiler) it worked perfectly, whereas the one in the 4.7 CD image failed to operate (as did the compiled unmodified 'fdimage.c' included on the CD image). The original EXE file was in the /tools sub-directory on CD #1, and its source file in /tools/src Since this is a mailing list I'm not including the compiled binary, nor the source. It is available on-line at the following web addresses: http://www.mrp3.com/webutil/fdimage.c http://www.mrp3.com/webutil/fdimage.exe If anyone wants to bug/submit this on my behalf, please feel free to do so. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000501c2a4af$989ea100$1000a8c0>