bugQuilt - Bugs: bug #10902, patches command output broken

 
 

bug #10902: patches command output broken

Submitter:  None
Submitted:  Thu 04 Nov 2004 12:16:01 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 08 Nov 2004 01:53:29 PM UTC, comment #2: 

Patch applied. Thanks.

Andreas Gruenbacher <agruen>
Group administrator
Thu 04 Nov 2004 12:19:15 AM UTC, comment #1: 

Hmm. Patch didn't survive mangling.  Attachment added.

-email is unavailable-

Anonymous
Thu 04 Nov 2004 12:16:01 AM UTC, original submission:  

A bug crept into version 0.37 that breaks the output of the "patches" command.  In two places a dereference of the shell variable "patch" was omitted.

The patch to fix this is:

--- quilt/quilt/patches.in 17 Oct 2004 20:58:42 -0000 1.15
+++ quilt/quilt/patches.in 4 Nov 2004 00:14:59 -0000
@@ -45,7 +45,7 @@
  do
   if [ -f "$QUILT_PC/$patch/$file" ]
   then
-   echo "$prefix$(print_patch patch)"
+   echo "$prefix$(print_patch $patch)"
   fi
  done
 }
@@ -61,7 +61,7 @@
   if touched_by_patch $(patch_strip_level $patch) $patch \
      | grep -q "^$file_bre\$"
   then
-   echo "$prefix$(print_patch patch)"
+   echo "$prefix$(print_patch $patch)"
   fi
  done
 }

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #917:  quilt.patch added by None (586B - application/octet-stream - Patch to fix broken "patches" command)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-11-08 agruen Open/ClosedOpen Closed
2004-11-08 agruen StatusNone Fixed
2004-11-04 None Attached File- Added quilt.patch, #1834

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code