Changeset 1220 in Sophya for trunk/SophyaExt


Ignore:
Timestamp:
Oct 5, 2000, 11:18:15 AM (25 years ago)
Author:
ansari
Message:

suppression strdup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fitsfile.cc

    r1218 r1220  
    15011501  for (k=0; k<ligne.cdata_.size(); k++, ncol++)
    15021502    {
    1503       fits_write_col(fptr_,TSTRING,ncol+1,NoLine+1,1,1, strdup(ligne.cdata_[k].c_str()) ,&status);
     1503      fits_write_col(fptr_,TSTRING,ncol+1,NoLine+1,1,1, (void*)ligne.cdata_[k].c_str() ,&status);
    15041504      if( status ) printerror( status, "PutBinTabLine : erreur ecriture caracteres"  );
    15051505    }
Note: See TracChangeset for help on using the changeset viewer.