Changeset 2398 in Sophya for trunk/ArchTOIPipe/Kernel
- Timestamp:
- Jun 5, 2003, 10:15:47 AM (22 years ago)
- Location:
- trunk/ArchTOIPipe/Kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Kernel/Makefile.in
r2385 r2398 39 39 endif 40 40 ifeq ($(CXX), CC) 41 # CXXFLAGS = -O -prelink -ptused -64 42 CXXFLAGS = -O -prelink -64 41 # CXXFLAGS = -O -prelink -ptused -64 42 CXXFLAGS = -O -prelink -64 -DIRIX64 43 43 44 CFLAGS = -O -64 44 CFLAGS = -O -64 -DIRIX64 45 45 # CXXFLAGS = -LANG:std -woff 1171,1174,1552 -O -OPT:Olimit=0 46 46 # CFLAGS = -O -OPT:Olimit=0 -
trunk/ArchTOIPipe/Kernel/piotoirdr.cc
r2397 r2398 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: piotoirdr.cc,v 1. 9 2003-06-05 02:18:06aubourg Exp $5 // $Id: piotoirdr.cc,v 1.10 2003-06-05 08:15:47 aubourg Exp $ 6 6 7 7 #include "piotoirdr.h" … … 28 28 void PIOTOIReader::init() { 29 29 fits_lock(); 30 pioGroup = PIOOpenTOI(const_cast<char*>(group.c_str()), "r"); 30 char groupname[128]; 31 strcpy(groupname, group.c_str()); 32 pioGroup = PIOOpenTOI(groupname, "r"); 33 34 if (pioGroup == NULL) { 35 cerr << " ERROR in PIOOpenTOI cannnot open " << groupname << endl; 36 abort(); 37 } 31 38 fits_unlock(); 39 cout << "pioGroup : "<< pioGroup << endl; 32 40 readBounds(); 33 41 bufferSize = 1000; 34 cout << "PIOTOIReader : opened " << group 35 << " " << snBegin << " - " << snEnd << endl;42 cout << "PIOTOIReader : opened " << groupname 43 << " " << snBegin << " - " << snEnd << ": " << pioGroup << endl; 36 44 if (flagdef != "") { 37 45 cout << " with flagdef = " << flagdef << endl;
Note:
See TracChangeset
for help on using the changeset viewer.