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 293 of 1,725   
   Wilfred van Velzen to andrew clarke   
   Re: Bug found in osmscfnd.c   
   09 Nov 12 14:11:05   
   
   Hi,   
      
   On 09 Nov 12 21:50, andrew clarke wrote to Wilfred van Velzen:   
     about: "Bug found in osmscfnd.c":   
      
    WV>>     if (pff->handle == 0)   
      
    WV>> This should be:   
      
    WV>>     if (pff->handle == -1)   
      
    WV>> Because _findfirst() returns a -1 on error:   
      
    WV>> http://msdn.microsoft.com/en-us/library/zyzxfzac%28v=vs.71%29.aspx   
      
    ac> Well spotted. :)   
      
   It took some debugging time, because the symptoms weren't pointing straight to   
   this part of the code...   
      
    ac> Incidentally this is consistent with the documentation for   
    ac> _findfirst() on   
    ac> OpenWatcom 1.9 (2010) and MSVC 2.0 (1994).   
      
   Good...   
      
   Bye, Wilfred.   
      
      
   --- FMail-W32-1.64-B20111120   
    * Origin: Amiga Offline BBS Lisse (2:280/464)   

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


(c) 1994,  bbs@darkrealms.ca