Using large-file extension version of fopen.
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 17 Oct 2009 09:46:35 +0000 (09:46 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 17 Oct 2009 09:46:35 +0000 (09:46 +0000)
MONITOR/deroot.cxx

index f0835a0..1772b46 100644 (file)
@@ -34,7 +34,7 @@ int deroot(const char *rootFileName, const char *dateFileName, const char *ddlFi
  t->SetBranchAddress("rawevent", &rootEvent);
 
  FILE *dateFile;
- if(!(dateFile=fopen(dateFileName, "wb"))) {
+ if(!(dateFile=fopen64(dateFileName, "wb"))) {
   cerr << "Error opening DATE file" << endl;
   return(1);
  }