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 284 of 1,725   
   Wilfred van Velzen to All   
   Bug found in osmscfnd.c   
   08 Nov 12 20:24:02   
   
   Hi,   
      
   In line 15 of osmscfnd.c it says:   
      
       if (pff->handle == 0)   
      
   This should be:   
      
       if (pff->handle == -1)   
      
   Because _findfirst() returns a -1 on error:   
      
   http://msdn.microsoft.com/en-us/library/zyzxfzac%28v=vs.71%29.aspx   
      
   The bug hit me when I was testing with the AmigaNet nodelist creation on   
   Windows (I normally use the linux version for this, which isn't affected by   
   it). And had specified an empty update directory it would ignore the segments   
   in the master directory. So with this bug, when it doesn't find a file in the   
   first directory it scans it won't scan the other subsequent directories either.   
      
   Wilfred.   
      
   --- FMail-W32-1.64-B20111120   
    * Origin:  point@work  (2:280/464.112)   

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


(c) 1994,  bbs@darkrealms.ca