Changeset 2698 for trunk/gsdl


Ignore:
Timestamp:
2001-08-13T15:50:33+12:00 (23 years ago)
Author:
jrm21
Message:

Now also gives error message under win32.

Location:
trunk/gsdl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/packages/mg/src/text/text.pass1.c

    r2540 r2698  
    4444#endif
    4545
    46 /*
    47    $Log$
    48    Revision 1.2  2001/06/12 23:59:40  jrm21
    49    we now print out the system error message if the first pass cannot create the
    50    index file.
    51 
    52    Revision 1.1  1999/08/10 21:18:25  sjboddie
    53    renamed mg-1.3d directory mg
    54 
    55    Revision 1.2  1998/12/17 09:12:54  rjmcnab
    56 
    57    Altered mg to process utf-8 encoded Unicode. The main changes
    58    are in the parsing of the input, the casefolding, and the stemming.
    59 
    60    Revision 1.1  1998/11/17 09:35:46  rjmcnab
    61    *** empty log message ***
    62 
    63    * Revision 1.4  1994/11/25  03:47:47  tes
    64    * Committing files before adding the merge stuff.
    65    *
    66    * Revision 1.3  1994/10/20  03:57:09  tes
    67    * I have rewritten the boolean query optimiser and abstracted out the
    68    * components of the boolean query.
    69    *
    70    * Revision 1.2  1994/09/20  04:42:13  tes
    71    * For version 1.1
    72    *
    73  */
    74 
    75 static char *RCSID = "$Id$";
    76 
    77 
    7846#define POOL_SIZE 1024*1024
    7947#define INITIAL_HASH_SIZE 7927
    80 
    81 
    82 
    83 
    84 
    8548
    8649
     
    415378              MAGIC_STATS_DICT, MG_MESSAGE)))  /* [RPAP - Feb 97: WIN32 Port] */
    416379    {
    417 #ifdef HAVE_STRERROR
    418       fprintf(stderr,"Couldn't create file %s:%s\n",
    419           file_name,
     380      fprintf(stderr,"Couldn't create file %s%s:%s\n",
     381          file_name, TEXT_STATS_DICT_SUFFIX,
     382#if defined(HAVE_STRERROR) || defined(__WIN32__)
    420383          strerror(errno)
     384#else
     385          " "
     386#endif
    421387          );
    422 #endif
    423388      return COMPERROR;
    424389    }
  • trunk/gsdl/src/mgpp/text/text.pass1.cpp

    r2541 r2698  
    357357              MAGIC_STATS_DICT, MG_MESSAGE)))  /* [RPAP - Feb 97: WIN32 Port] */
    358358    {
    359 #ifdef HAVE_STRERROR
    360       fprintf(stderr,"Couldn't create file %s:%s\n",
    361               file_name,
     359      fprintf(stderr,"Couldn't create file %s%s:%s\n",
     360              file_name, TEXT_STATS_DICT_SUFFIX,
     361#if defined(HAVE_STRERROR) || defined(__WIN32__)
    362362              strerror(errno)
     363#else
     364          " "
     365#endif
    363366              );
    364 #endif
    365367      return COMPERROR;
    366368    }
Note: See TracChangeset for help on using the changeset viewer.