if (freek(exdrv(status^.msgpath))<status^.minspaceforpost) then begin
I've successfully ported Impuluse BBS from DOS to Linux. HOWEVER, there are still some bugs that need to be worked out. One of those bugs involves posting messages. This is a function i'm currently having troubles with.
I get the following error, "Not enough disk space to save a message." I believe it has to do with Linux not handling drives like DOS does. If someone could take a look at this, i'd really appreciate it.
write a simple couple of lines testing program using this status^.minspaceforpost routine and see what it returns... or go deeper into that routine and break out the main part of it that does the available space lookup and see what that returns...
It doesn't return anything. :(
write a simple couple of lines testing program using this status^.minspaceforpost routine and see what it returns... or go deep into that routine and break out the main part of it that does the available space lookup and see what that returns...
It doesn't return anything. :(
It doesn't return anything. :(
On a related note, what is a good substitute for the "diskfree" function under Linux? I believe this may be the root of my problems.
what language?
what language?
Free Pascal.
interesting... i'll take a look since that's one of my areas of play... what OS are you compiling for?
On a related note, what is a good substitute for the "diskfree" function under Linux? I believe this may be the root of my problems.
Sysop: | Chris Crash |
---|---|
Location: | Huntington Beach, CA. |
Users: | 578 |
Nodes: | 8 (0 / 8) |
Uptime: | 28:43:42 |
Calls: | 10,737 |
Files: | 5 |
Messages: | 443,806 |