So, I spent "some time" today creating this little "diddy" in Baja and just thought I'd post the source here since it's probably the most intense Baja coding I've done since QNET.SRC (QWK networking module for SBBS v2). I'll be putting this on Vertrauen for download too.
RE: TYPEHTML.SRC
BY: Digital Man to All on Mon Oct 09 2000 06:41 pm
So, I spent "some time" today creating this little "diddy" in Baja and ju thought I'd post the source here since it's probably the most intense Baj coding I've done since QNET.SRC (QWK networking module for SBBS v2). I'll putting this on Vertrauen for download too.
Any reason why I can't FTP this file?
I can't seem to get Z-Modem working on this box, and when I tried to connect the FTP server it kept refusing to allow me online. I get "530 not logged i as soon as I put in the password.
Any reason why I can't FTP this file?
I don't know. Other people (and myself) have been able to login just fine. I it possible you forgot the "user" command?
Any reason why I can't FTP this file?
I don't know. Other people (and myself) have been able to login just fine it possible you forgot the "user" command?
alfred:~$ ftp ftp.synchro.net
I had to change line 44 of TYPEHTML.SRC to:
fopen file O_RDONLY|O_DENYNONE filename
to make it compile without an error......
RE: TYPEHTML.SRC
BY: Plunder Point to Digital Man on Sat Oct 14 2000 12:54 am
I had to change line 44 of TYPEHTML.SRC to:
fopen file O_RDONLY|O_DENYNONE filename
to make it compile without an error......
Duuuh... You changed it
FROM: fopen file O_RDONLY|O_DENYNONE filename
TO: fopen file O_RDONLY|O_DENYNONE filename
And it corrected the error??? Mow THAT is a feat of debugging skill, the li of which has not been seen for many a day.....
How long did it take you to figure out the changes?
Digital Man: SHAME on you for leaving such an obvious bug in your code! ;-)
fopen file O_RDONLY|O_DENYNONE filename
I had to change line 44 of TYPEHTML.SRC to:
fopen file O_RDONLY|O_DENYNONE filename
to make it compile without an error. Was that a typo on your part, or do I have an outdated version of the BAJA compiler that just wouldn't accept what you had in your source code?
fopen file O_RDONLY|O_DENYNONE filename
That's O_RDONLY followed by a pipe and then O_DENYNONE. Apparently the pipe gets itself garbled when posted here? That would explain it.
fopen file O_RDONLY|O_DENYNONE filename
That's O_RDONLY followed by a pipe and then O_DENYNONE. Apparently the p gets itself garbled when posted here? That would explain it.
I'm seeing a pipe in the original and in both your "corrections". Hmmm I wonder if those pesky colour codes (is it WWIV?) are to blame?
fopen file O_RDONLY|O_DENYNONE filename
That's O_RDONLY followed by a pipe and then O_DENYNONE. Apparently th gets itself garbled when posted here? That would explain it.
I'm seeing a pipe in the original and in both your "corrections". Hmmm I wonder if those pesky colour codes (is it WWIV?) are to blame?
They're Celerity and Renegade color codes, and I have them disabled here on Vertrauen. :-)
They're Celerity and Renegade color codes, and I have them disabled here on Vertrauen. :-)And they're going to be disabled here on Cannonia in just a few minutes... Sorry to bother you with a typo that didn't really exist. :)
FROM: fopen file O_RDONLY|O_DENYNONE filename
TO: fopen file O_RDONLY|O_DENYNONE filename
And it corrected the error??? Mow THAT is a feat of debugging skill, the li of which has not been seen for many a day.....
How long did it take you to figure out the changes?
Digital Man: SHAME on you for leaving such an obvious bug in your code! ;-)
fopen file O_RDONLY|O_DENYNONE filename
That's O_RDONLY followed by a pipe and then O_DENYNONE. Apparently the pipe gets itself garbled when posted here? That would explain it.
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,043 |
Nodes: | 15 (0 / 15) |
Uptime: | 47:16:01 |
Calls: | 500,902 |
Calls today: | 5 |
Files: | 109,370 |
D/L today: |
6,504 files (810M bytes) |
Messages: | 304,283 |