home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   MBSE      The Linux/FreeBSD MBSE BBS Support Echo      2,445 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,675 of 2,445   
   Vince Coen to Andrew Leary   
   mbfile adopt with -virus option   
   12 Dec 17 19:25:40   
   
   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)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca