Bug 41956 - popt can't reuse result of !#:+
Summary: popt can't reuse result of !#:+
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: popt
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-23 11:27 UTC by Artur Frysiak
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-05-23 12:29:15 UTC
Embargoed:


Attachments (Terms of Use)

Description Artur Frysiak 2001-05-23 11:27:07 UTC
Description of Problem:
popt can't handle CVSed version of rpmpopt.in
problem in line like: 
rpmb    alias --with        --define "_with_!#:+       --with-!#:+"

Steps to Reproduce:
1. put: 
rpm alias --with --define "_with_!#:+ --with-!#:+"
in ~/.popt
2. run:
rpm --with 1 2 --eval '%_with_1'

Actual Results:
--with-2

Expected Results:
--with-1

Comment 1 Jeff Johnson 2001-05-23 12:29:11 UTC
I've verified, no idea what's rotted since I added --with.

popt makes my head hurt sometimes ... :-)

Comment 2 Jeff Johnson 2001-05-29 20:01:11 UTC
Fixed (by retrieving next arg only once) in rpm-4.0.3-0.28.


Note You need to log in before you can comment on or make changes to this bug.