rdiff-backup-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Rdiff-backup-bugs] [bug #24100] Can't specify the root directory ('c:\'


From: Anders Hellstrand
Subject: [Rdiff-backup-bugs] [bug #24100] Can't specify the root directory ('c:\') as src in native win32 binary.
Date: Tue, 19 Aug 2008 01:01:19 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

URL:
  <http://savannah.nongnu.org/bugs/?24100>

                 Summary: Can't specify the root directory ('c:\') as src in
native win32 binary.
                 Project: rdiff-backup
            Submitted by: ahd71
            Submitted on: tis 19 aug 2008 01.01.16
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The native win32 binary, release 1.2, can't use the root directory of a
windows file system as source directory without a exception on execution.

Exception 'Unexpected end to file description c:\' raised of class '<class
'rdiff_backup.SetConnections.SetConnectionsException'>':
  File "rdiff_backup\Main.pyc", line 302, in error_check_Main
  File "rdiff_backup\Main.pyc", line 317, in Main
  File "rdiff_backup\SetConnections.pyc", line 59, in get_cmd_pairs
  File "rdiff_backup\SetConnections.pyc", line 107, in parse_file_desc
  File "rdiff_backup\SetConnections.pyc", line 98, in check_len 

The function 'parse_file_desc()' in 'SetConnection.py' works with 'c:\dir'
but not with 'c:\' or 'c:\dir1\'

The problem is strings which ends with a backslash (as the logic thinks that
it is a escape character which it isn't in this case and that will generate an
index out of bound error)





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?24100>

_______________________________________________
  Meddelandet skickades via/av Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]