Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to The Linux/FreeBSD MBSE BBS Suppo... <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
Deon George | Andrew Leary | Re: TIC files |
September 17, 2018 12:03 AM * |
|||
Hey Andrew, So this was bugging me - so I made a quick workaround. --- a/mbfido/tic.c +++ b/mbfido/tic.c @@ -116,7 +116,9 @@ rewinddir(dp); while ((de = readdir(dp))) { - if ((strlen(de->d_name) == 12) && (strncasecmp(de->d_name+8, ".tic", 4) == 0)) { + Syslog('?', "Found file %s", de->d_name); + if ((strlen(de->d_name) >= 5) && (strlen(de->d_name) <= 12) && (strncasecmp(de->d_name+strlen(de->d_name)-4, ".tic", 4) == 0)) { + Syslog('?', "Added file %s", de->d_name); stat(de->d_name, &sbuf); fill_fdlist(&fdl, de->d_name, sbuf.st_mtime); } I know if the standard is that a tic file needs to be 12 chars in length (I think it would be good if it was - but I'm not sure that that is the standard), then it would be good if on a node by node (or global config?) that you can "override" the standard. "Allow Non Standard TIC [YES|NO]" What do you think? ...deon --- Mystic BBS v1.12 A39 2018/04/21 (Raspberry Pi/32) * Origin: Chinwag | MysticBBS in Docker! (3:633/509.1) |
||||||
|
Previous Message | Next Message | Back to The Linux/FreeBSD MBSE BBS Suppo... <-- <--- | Return to Home Page |
Execution Time: 0.0807 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |