~ubuntu-branches/ubuntu/hardy/vice/hardy

« back to all changes in this revision

Viewing changes to src/vdrive/vdrive-command.c

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2007-10-07 07:05:46 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20071007070546-81yy0twlka7p2t0e
Tags: 1.22-1
* New upstream version (closes: #428280).
* Correct link to HTML documentation in manpage (closes: #409567).
* Fix most packaging mistakes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
466
466
    log_debug("COPY: dest= '%s', orig= '%s'.", dest, files);
467
467
#endif
468
468
 
469
 
    if (vdrive_iec_open(vdrive, (BYTE *)dest, strlen(dest), 1))
 
469
    if (vdrive_iec_open(vdrive, (BYTE *)dest, strlen(dest), 1, NULL))
470
470
        return CBMDOS_IPE_FILE_EXISTS;
471
471
 
472
472
    p = name = files;
481
481
#ifdef DEBUG_DRIVE
482
482
        log_debug("searching for file '%s'.", name);
483
483
#endif
484
 
        if (vdrive_iec_open(vdrive, (BYTE *)name, strlen(name), 0)) {
 
484
        if (vdrive_iec_open(vdrive, (BYTE *)name, strlen(name), 0, NULL)) {
485
485
            vdrive_iec_close(vdrive, 1);
486
486
            return CBMDOS_IPE_NOT_FOUND;
487
487
        }