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.

   MAKENL_NG      MakeNL Next Generation.      1,725 messages   

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

   Message 1,003 of 1,725   
   andrew clarke to All   
   Debugging MakeNL   
   24 Aug 13 01:43:06   
   
   Here's the bug:   
      
   -+- makenl.c    2012/10/14 15:24:21     1.14   
   +++ makenl.c    2013/01/30 21:58:10     1.15   
   @@ -1,4 +1,4 @@   
   -/* $Id: makenl.c,v 1.14 2012/10/14 15:24:21 ozzmosis Exp $ */   
   +/* $Id: makenl.c,v 1.15 2013/01/30 21:58:10 ajleary Exp $ */   
      
    #include    
    #include    
   @@ -189,7 +189,7 @@   
        mklog(LOG_INFO, "Cmdline: %s", cmdline_to_str(argv));   
        mklog(LOG_INFO, "Using '%s' in '%s'", CfgFile, CurDir);   
      
   -    for (OldWeeks = 3; OldWeeks >= 0; OldWeeks--)   
   +    for (OldWeeks = 7; OldWeeks >= 0; OldWeeks--)   
        {   
            searchdow(NewExtWDay, -7 * OldWeeks + 6, &SplitTimePtr);   
            sprintf(OldExtensions[OldWeeks], "%03d",   
      
   The first iteration of the loop is writing to OldExtensions[7], but the array   
   is too small in fileutil.c:   
      
   char OldExtensions[4][MYMAXEXT];   
      
   This is now fixed in CVS.   
      
   If everyone could build the latest version from CVS and test it, that would be   
   great.   
      
   --- GoldED+/BSD 1.1.5-b20110223-b20110223   
    * Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)   

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


(c) 1994,  bbs@darkrealms.ca