Linux File Channel problems
Status: Alpha
Brought to you by:
mikecurry1974
I am still working at trying to track down where exactly this
problem starts. It has a chicken and egg feel to it.
First. if I do chan =unt chan always comes out to 1. If I then open
a file on chan I am given error 12: Duplicate or undefined channel.
This error is thrown by line 1188 in runtime.c But I feel the error is
a symptom of the channel problem (though this only a slightly
educated guess).
This is running on a Red Hat 9 system with GCC 3.2.2
Logged In: YES
user_id=467807
I am looking at a lot of things pertaining to this and have
some ideas. One idea is that I will have a channel struct
that will save data based on open, call, load and run
commands. This structure would get the fid, the file name
and also the type (ie called program, text file etc...). I
would then in addition to using the traditional fid(chan)
which will return the filename I will also write an ftype
function -> ? ftype(fid(4)) which will return the file
type. I am not sure I am still trying to see how the file
name is currently stored and accessed.
Logged In: YES
user_id=467807
struct filetbl already exists in mybb.h so I guess I should
look at it from there.
Logged In: YES
user_id=467807
struct filetbl already exists in mybb.h so I guess I should
look at it from there.