Bug 25307
Summary: | [patch] `/sbin/pidof: -c: line 2: syntax error: unexpected end of file | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Tim Waugh <twaugh> | ||||
Component: | kdebase | Assignee: | Bernhard Rosenkraenzer <bero> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Aaron Brown <abrown> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.1 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | Florence RC-1 | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2001-02-06 18:19:01 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Tim Waugh
2001-01-30 16:09:45 UTC
This defect is considered MUST-FIX for Florence Release-Candidate #1 There's some _very_ suspicious code in KRun::shellQuote that could be the cause of it. I've ranted about this in another bug, but here's how Exec= lines _ought_ to be expanded: Replace %x with ${x} for each type of x replacement. Set up the environment appropriately to reflect this. Call wordexp. Be happy. This will do quoting for you, and tilde expansion, and parameter expansion, and arithmetic expansion, and even command substitution if you want (optional). Created attachment 8562 [details]
kdelibs-esc.patch
The above patch fixes this behaviour for me. KDE should just use wordexp. ;-) Now autorun actually starts, and prompts me for the root password when I put a Red Hat Linux CD in the drive. Woohoo! Fixed in CVS. 20010205 package still has this bug. Is the patch applied? Yes, the patch is in and applied. It's Patch #3 in the current kdelibs source RPM. Found the problem... is_escaped isn't set in PARSE_DBLQUOTED mode. Fixing. Fixed in 20010206 |