Package: plptools
Version: 0.15-1
Severity: important

plpbackup can't restore any more because it uses a wildcard in the
file pattern it gives to tar.

The following diff fixes it:

--- cut here ----
diff -c -r1.19 -r1.20
*** plpbackup.cc        4 Oct 2004 16:04:26 -0000       1.19
--- plpbackup.cc        10 Sep 2006 14:07:59 -0000      1.20
***************
*** 863,869 ****
      struct timeval start_tv, end_tv, cstart_tv, cend_tv;
  
      for (i = 0; i < archList.size(); i++) {
!       tarcmd << "tar --to-stdout -xzf " << archList[i]
               << " 'KPsion*Index'" << ends;
        char backupType = '?';
        FILE *f = popen(tarcmd.str().c_str(), "r");
--- 863,869 ----
      struct timeval start_tv, end_tv, cstart_tv, cend_tv;
  
      for (i = 0; i < archList.size(); i++) {
!       tarcmd << "tar --to-stdout --wildcards -xzf " << archList[i]
               << " 'KPsion*Index'" << ends;
        char backupType = '?';
        FILE *f = popen(tarcmd.str().c_str(), "r");
--- cut here ----
-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to