~ubuntu-branches/ubuntu/utopic/unrar-nonfree/utopic-updates

« back to all changes in this revision

Viewing changes to arcread.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Martin Meredith
  • Date: 2008-10-17 13:31:48 UTC
  • mfrom: (1.1.9 upstream) (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20081017133148-gey9fz11lui8oy79
Tags: 1:3.8.4-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
589
589
    // ':' in file names is allowed in Unix, but not in Windows.
590
590
    // Even worse, file data will be written to NTFS stream on NTFS,
591
591
    // so automatic name correction on file create error in extraction 
592
 
    // routine does not work. Let's better replace ':' now.
593
 
    if (NewLhd.HostOS==HOST_UNIX && *s==':')
 
592
    // routine does not work. In Windows and DOS versions we better 
 
593
    // replace ':' now.
 
594
    if (*s==':')
594
595
      *s='_';
595
596
#endif
596
597
 
605
606
    // ':' in file names is allowed in Unix, but not in Windows.
606
607
    // Even worse, file data will be written to NTFS stream on NTFS,
607
608
    // so automatic name correction on file create error in extraction 
608
 
    // routine does not work. Let's better replace ':' now.
609
 
    if (NewLhd.HostOS==HOST_UNIX && *s==':')
 
609
    // routine does not work. In Windows and DOS versions we better 
 
610
    // replace ':' now.
 
611
    if (*s==':')
610
612
      *s='_';
611
613
#endif
612
614
  }