TIP: Click on subject to list as thread! ANSI
echo: mbse
to: Andrew Leary
from: Vince Coen
date: 2017-12-12 19:25:40
subject: mbfile adopt with -virus option

Hello Andrew!

Sunday December 10 2017 16:56, you wrote to me:

 > Hello Vince!

 > 10 Dec 17 18:27, you wrote to all:

 VC>> Anyone use mbfile adopt area "description" -virus   ?

 VC>> I cannot seem to get it to NOT do a virus check.

 VC>> Worse, I cannot see anything wrong in the code.

 VC>> [ code is in mbfido directory. ]

 > It looks like the command line parsing code in mbfile.c is only
 > checking for the -virus option when doing the import operation, not
 > the adopt operation.  I should be able to add it for the adopt
 > operation fairly easily; I'll work on it tonight.

As a follow on from the bug report #20 for this :

I remarked out the line with break as :

--
                cmd = xstrcat(cmd, argv[i]);
                if (argc > (i + 1)) {
                    i++;
                    cmd = xstrcat(cmd, (char *)" ");
                    cmd = xstrcat(cmd, argv[i]);
                    if (!strncasecmp(argv[i], "-a", 2)) {
                        do_annon = TRUE;
                    } else if (!strncasecmp(argv[i], "-v", 2)) {
                                do_novir = TRUE;
                            } else {
                        Description = xstrcpy(argv[i]);
                    }
                }
/*              break;    */
            }
--

and it now works as v1.0.7.5.

Can you give me the commands for hg to do (similar to svn etc) :

1.  diff against my code and repo.
2.  commit my changes.
Not for now but

3.  Update my copy of the sources to current repo with any changes.

I have updated :
Changelog and
version to 1.0.7.5

I have also in my copy of this version  also updated mbfido/filefind.c :

--
/*
 *  The next constants are to prevent overflowing the echomail areas
 *  with huge replies. MAX_DESC_LINES limits the number of file description
 *  lines, 5 should be enough. The other two are the maximum files to report
 *  if in the same area or different area.
 *  For netmail replies there is a different limit.
 */
#define MAX_DESC_LINES          10
#define MAX_FILES_SAMEBOARD     100
#define MAX_FILES_OTHERBOARD    200
#define MAX_FILES_NETMAIL       500
--

Why?  the limited are very small in a internet age in consideration of the 
very
low volume of such requests these days.


Thanks,


Vince

--- Mageia Linux v5.1/Mbse v1.0.7.4/GoldED+/LNX 1.1.501-b20150715
* Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
SEEN-BY: 15/0 19/36 34/999 90/1 116/18 120/331 123/140 128/2 153/7715 218/700
SEEN-BY: 220/60 229/426 230/150 240/1120 250/1 261/38 100 266/404 512 267/155
SEEN-BY: 275/100 280/464 282/1031 1056 291/1 292/908 320/119 219 340/400
SEEN-BY: 342/13 393/68 396/45 633/0 267 280 281 412 640/384 712/620 848 770/1
SEEN-BY: 801/161 189 2320/100 3634/12 5020/1042
@PATH: 250/1 261/38 712/848 633/280 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.