CompuServe Messages

MPWC & fopen

    21-Jul-93 06:37:37
Sb: #132376-MPWC & fopen
Fm: Douglas Yoon 71673,2477
To: Fritz Anderson 70050,172
Fritz: Thanks for the reply. No, just compiling the fopen() code would not help. The number 20 seems to be hardcoded throughout the stdio library. For instance, sprintf uses the file id 20, so when open() uses this id, the file is not written to. Instead lots of memory gets trashed. I am pretty sure of this, after decompiling the libraries and editing the binaries (lots o' fun, I recommend this to everyone with nothing better to do…). Anyway, the reason for fopen was for portability reasons (stupid UNIX utility, needed on multiple platforms). thanks again, =Douglas Yoon Philips Interactive Media of America Washington, DC