Changeset 15423

Show
Ignore:
Timestamp:
13.05.2008 16:48:52 (12 years ago)
Author:
mdewsnip
Message:

Removed the unused read-grs.cpp file.

Location:
gsdl/trunk/src/colservr
Files:
1 removed
3 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/colservr/Makefile.in

    r15416 r15423  
    143143INCLUDES += -I../../packages/yaz/include -I../../packages/d2m 
    144144Z3950HEADERS =  
    145 Z3950SOURCES = z3950parser.cpp z3950explain.cpp z3950_to_gsdl.cpp \ 
    146            z3950server.cpp read-grs.cpp 
    147 Z3950OBJECTS = z3950parser.o   z3950explain.o   z3950_to_gsdl.o   \ 
    148            z3950server.o   read-grs.o 
     145Z3950SOURCES = z3950parser.cpp z3950explain.cpp z3950_to_gsdl.cpp z3950server.cpp 
     146Z3950OBJECTS = z3950parser.o   z3950explain.o   z3950_to_gsdl.o   z3950server.o 
    149147else 
    150148Z3950HEADERS =  
  • gsdl/trunk/src/colservr/win32.mak

    r15416 r15423  
    8080INCLUDES = $(INCLUDES) -I"$(GSDLHOME)\packages\yaz\yaz-2.1.4\include" -I"$(GSDLHOME)\packages\d2m" 
    8181Z3950HEADERS =  
    82 Z3950SOURCES = z3950parser.cpp z3950explain.cpp z3950_to_gsdl.cpp \ 
    83            z3950server.cpp read-grs.cpp 
    84 Z3950OBJECTS = z3950parser.obj   z3950explain.obj   z3950_to_gsdl.obj   \ 
    85            z3950server.obj   read-grs.obj 
     82Z3950SOURCES = z3950parser.cpp z3950explain.cpp z3950_to_gsdl.cpp z3950server.cpp 
     83Z3950OBJECTS = z3950parser.obj z3950explain.obj z3950_to_gsdl.obj z3950server.obj 
    8684Z3950LIB = gsdlz3950.lib 
    8785!ELSE 
  • gsdl/trunk/src/colservr/z3950server.cpp

    r15413 r15423  
    484484} 
    485485 
    486 // *** don't think we want this *** 
    487 static Z_GenericRecord *dummy_grs_record (int num, ODR o) 
    488 { 
    489   if (z3950_verbosity_>1) { 
    490     cerr << "Entering dummy_grs_record" << endl; 
    491   } 
    492  
    493   FILE *f = fopen("dummy-grs", "r"); 
    494   char line[512]; 
    495   Z_GenericRecord *r = 0; 
    496   int n; 
    497    
    498   if (!f) 
    499     return 0; 
    500   while (fgets(line, 512, f)) 
    501     if (*line == '#' && sscanf(line, "#%d", &n) == 1 && n == num) 
    502       { 
    503     r = read_grs1(f, o); 
    504     break; 
    505       } 
    506   fclose(f); 
    507   return r; 
    508 } 
    509486 
    510487bool get_sutrs_record (int recnum, text_t &MetadataResult, text_t &CollectionName)