* [Bug runtime/9851] New: dtrace: Incorrect file extension replacement
@ 2009-02-16 12:31 eugen at debian dot org
2009-02-16 14:18 ` [Bug runtime/9851] " mjw at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: eugen at debian dot org @ 2009-02-16 12:31 UTC (permalink / raw)
To: systemtap
dtrace uses the following code to remove probes file extension:
filename = s_filename.replace(".d","")
This remove not only extension but all other occurrences of .d in
the file name.
--
Summary: dtrace: Incorrect file extension replacement
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: eugen at debian dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=9851
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug runtime/9851] dtrace: Incorrect file extension replacement
2009-02-16 12:31 [Bug runtime/9851] New: dtrace: Incorrect file extension replacement eugen at debian dot org
@ 2009-02-16 14:18 ` mjw at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: mjw at redhat dot com @ 2009-02-16 14:18 UTC (permalink / raw)
To: systemtap
------- Additional Comments From mjw at redhat dot com 2009-02-16 12:31 -------
Thanks for noticing. Fixed in:
commit bf611ccca84bc4a49de8444303540dd778e0e50c
Author: Mark Wielaard <mjw@redhat.com>
Date: Mon Feb 16 13:30:18 2009 +0100
PR 9851, use os.path.splitext instead of string.replace.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=9851
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-16 12:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-16 12:31 [Bug runtime/9851] New: dtrace: Incorrect file extension replacement eugen at debian dot org
2009-02-16 14:18 ` [Bug runtime/9851] " mjw at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).