Diff for /parser3/src/main/pa_dir.C between versions 1.14.2.3 and 1.18

version 1.14.2.3, 2003/02/04 12:08:56 version 1.18, 2003/11/20 17:48:28
Line 5 Line 5
         Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)          Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
 */  */
   
 static const char* IDENT_DIR_C="$Date$";  static const char * const IDENT_DIR_C="$Date$";
   
 #include "pa_common.h"  #include "pa_common.h"
 #include "pa_dir.h"  #include "pa_dir.h"
   
 #ifdef WIN32  #ifdef WIN32
   
 bool findfirst(const char* _pathname, struct ffblk *_ffblk, int _attrib) {  bool findfirst(const char* _pathname, struct ffblk *_ffblk, int /*_attrib*/) {
         char mask[MAXPATH];          char mask[MAXPATH];
         snprintf(mask, MAXPATH, "%s/*.*", _pathname);          snprintf(mask, MAXPATH, "%s/*.*", _pathname);
   
Line 29  void findclose(struct ffblk *_ffblk) { Line 29  void findclose(struct ffblk *_ffblk) {
   
 #else  #else
   
 bool findfirst(const char* _pathname, struct ffblk *_ffblk, int _attrib) {  bool findfirst(const char* _pathname, struct ffblk *_ffblk, int /*_attrib*/) {
     strncpy(_ffblk->filePath, _pathname, MAXPATH-1); _ffblk->filePath[MAXPATH-1]=0;      strncpy(_ffblk->filePath, _pathname, MAXPATH-1); _ffblk->filePath[MAXPATH-1]=0;
         if(!(_ffblk->dir=opendir(_ffblk->filePath)))          if(!(_ffblk->dir=opendir(_ffblk->filePath)))
         return true;          return true;

Removed from v.1.14.2.3  
changed lines
  Added in v.1.18


E-mail: