Changes between Version 33 and Version 34 of BasicApi


Ignore:
Timestamp:
May 26, 2011, 10:40:49 PM (13 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BasicApi

    v33 v34  
    6868retval = boinc_resolve_filename_s("my_file", resolved_name);
    6969if (retval) fail("can't resolve filename");
    70 f = fopen(resolved_name.c_str(), "r");
    71 }}}
    72 
    73 `boinc_resolve_filename()` doesn't need to be used for temporary files;
    74 only for the input or output files specified in the job templates,
    75 or files part of the application version.
     70f = boinc_fopen(resolved_name.c_str(), "r");
     71}}}
     72
     73Don't use `boinc_resolve_filename()` for files with the '''copy_file''' attribute,
     74or for temporary files.
     75It must be used for all other input or output files specified in the job templates,
     76or files that are part of the application version.
    7677
    7778== I/O wrappers == #fopen