public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/7051] New: printf %n directive broken
@ 2008-11-25 16:50 fche at redhat dot com
  2008-12-02  9:47 ` [Bug runtime/7051] " prerna at linux dot vnet dot ibm dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: fche at redhat dot com @ 2008-11-25 16:50 UTC (permalink / raw)
  To: systemtap

ksebasti found several issues with this widget:

printf ("%n%4d", 0) prints 0x04 0x00 0x00 0x00 0x00
printf ("%n%n%n") prints junk
printf ("%n") prints junk

If we keep %n around at all, it needs to compose sensibly.
We could make it mean "total record length", so that the
previous three cases would print

printf ("%n%4d", 0) would print 0x05 0x00 0x00 0x00 0x00
printf ("%n%n%n") would print 0x03 0x03 0x03
printf ("%n") would print 0x01

-- 
           Summary: printf %n directive broken
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=7051

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug runtime/7051] printf %n directive broken
  2008-11-25 16:50 [Bug runtime/7051] New: printf %n directive broken fche at redhat dot com
@ 2008-12-02  9:47 ` prerna at linux dot vnet dot ibm dot com
  2008-12-02  9:49 ` prerna at linux dot vnet dot ibm dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: prerna at linux dot vnet dot ibm dot com @ 2008-12-02  9:47 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From prerna at linux dot vnet dot ibm dot com  2008-12-02 09:45 -------
Waiting for feedback on whether %n directive should be continued with...

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=7051

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug runtime/7051] printf %n directive broken
  2008-11-25 16:50 [Bug runtime/7051] New: printf %n directive broken fche at redhat dot com
  2008-12-02  9:47 ` [Bug runtime/7051] " prerna at linux dot vnet dot ibm dot com
@ 2008-12-02  9:49 ` prerna at linux dot vnet dot ibm dot com
  2008-12-02 18:06 ` [Bug runtime/7051] remove broken printf %n directive support fche at redhat dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: prerna at linux dot vnet dot ibm dot com @ 2008-12-02  9:49 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From prerna at linux dot vnet dot ibm dot com  2008-12-02 09:41 -------
I'm not too sure if %n is useful enough to be retained..

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


http://sourceware.org/bugzilla/show_bug.cgi?id=7051

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug runtime/7051] remove broken printf %n directive support
  2008-11-25 16:50 [Bug runtime/7051] New: printf %n directive broken fche at redhat dot com
  2008-12-02  9:47 ` [Bug runtime/7051] " prerna at linux dot vnet dot ibm dot com
  2008-12-02  9:49 ` prerna at linux dot vnet dot ibm dot com
@ 2008-12-02 18:06 ` fche at redhat dot com
  2008-12-05 19:12 ` ksebasti at redhat dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: fche at redhat dot com @ 2008-12-02 18:06 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-12-02 18:03 -------
If there is no dissent, let's get rid of it.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
   Last reconfirmed|0000-00-00 00:00:00         |2008-12-02 18:03:43
               date|                            |
            Summary|printf %n directive broken  |remove broken printf %n
                   |                            |directive support


http://sourceware.org/bugzilla/show_bug.cgi?id=7051

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug runtime/7051] remove broken printf %n directive support
  2008-11-25 16:50 [Bug runtime/7051] New: printf %n directive broken fche at redhat dot com
                   ` (2 preceding siblings ...)
  2008-12-02 18:06 ` [Bug runtime/7051] remove broken printf %n directive support fche at redhat dot com
@ 2008-12-05 19:12 ` ksebasti at redhat dot com
  2008-12-29 19:23 ` prasad at linux dot vnet dot ibm dot com
  2008-12-29 19:24 ` prasad at linux dot vnet dot ibm dot com
  5 siblings, 0 replies; 7+ messages in thread
From: ksebasti at redhat dot com @ 2008-12-05 19:12 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From ksebasti at redhat dot com  2008-12-05 19:09 -------
removed as of commit 89b011d52e247d9a3933b5d37af72de4d44212bd

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=7051

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug runtime/7051] remove broken printf %n directive support
  2008-11-25 16:50 [Bug runtime/7051] New: printf %n directive broken fche at redhat dot com
                   ` (3 preceding siblings ...)
  2008-12-05 19:12 ` ksebasti at redhat dot com
@ 2008-12-29 19:23 ` prasad at linux dot vnet dot ibm dot com
  2008-12-29 19:24 ` prasad at linux dot vnet dot ibm dot com
  5 siblings, 0 replies; 7+ messages in thread
From: prasad at linux dot vnet dot ibm dot com @ 2008-12-29 19:23 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From prasad at linux dot vnet dot ibm dot com  2008-12-29 18:34 -------
Table-1 in langreg.pdf needs to be corrected to indicate the absence of %n 
printf specifier.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=7051

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug runtime/7051] remove broken printf %n directive support
  2008-11-25 16:50 [Bug runtime/7051] New: printf %n directive broken fche at redhat dot com
                   ` (4 preceding siblings ...)
  2008-12-29 19:23 ` prasad at linux dot vnet dot ibm dot com
@ 2008-12-29 19:24 ` prasad at linux dot vnet dot ibm dot com
  5 siblings, 0 replies; 7+ messages in thread
From: prasad at linux dot vnet dot ibm dot com @ 2008-12-29 19:24 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |prasad at linux dot vnet dot
                   |                            |ibm dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=7051

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-12-29 18:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-25 16:50 [Bug runtime/7051] New: printf %n directive broken fche at redhat dot com
2008-12-02  9:47 ` [Bug runtime/7051] " prerna at linux dot vnet dot ibm dot com
2008-12-02  9:49 ` prerna at linux dot vnet dot ibm dot com
2008-12-02 18:06 ` [Bug runtime/7051] remove broken printf %n directive support fche at redhat dot com
2008-12-05 19:12 ` ksebasti at redhat dot com
2008-12-29 19:23 ` prasad at linux dot vnet dot ibm dot com
2008-12-29 19:24 ` prasad at linux dot vnet dot ibm 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).