From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9677 invoked by alias); 12 Jul 2010 20:20:48 -0000 Received: (qmail 9639 invoked by uid 9586); 12 Jul 2010 20:20:46 -0000 Date: Mon, 12 Jul 2010 20:20:00 -0000 Message-ID: <20100712202046.9628.qmail@sourceware.org> From: jistone@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.2-470-gba316a5 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 6e9c532dd5b5ed64c6ba2e5d919e81ad03333abe X-Git-Newrev: ba316a59c2efe957635ff6702ffcae4526187e2d Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: Reply-To: systemtap@sourceware.org X-SW-Source: 2010-q3/txt/msg00055.txt.bz2 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "systemtap: system-wide probe/trace tool". The branch, master has been updated via ba316a59c2efe957635ff6702ffcae4526187e2d (commit) from 6e9c532dd5b5ed64c6ba2e5d919e81ad03333abe (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit ba316a59c2efe957635ff6702ffcae4526187e2d Author: Josh Stone Date: Mon Jul 12 13:01:51 2010 -0700 Add all the weirdness to compat-%p I thought the old %p behavior was as simple as %#.8x or %#.16x, but it was even weirder than that, as the ptr.exp test reveals. The compat path is now able to pass that test, and a new test makes sure of the new code behaves as expected too. * runtime/vsprintf.c (_stp_vsnprintf): compat-%p is better preserved. * testsuite/systemtap.printf/ptr.exp -> ptr-1.2.exp: Keep as a compat test, and add a check that %.Np precision is ignored. * testsuite/systemtap.printf/ptr-1.3.exp: New, make sure that %p really does act like %#x now, with various field_width.precision combos. ----------------------------------------------------------------------- Summary of changes: runtime/vsprintf.c | 42 +++++++-- .../systemtap.printf/{ptr.exp => ptr-1.2.exp} | 20 ++++- .../systemtap.printf/{ptr.stp => ptr-1.2.stp} | 8 ++ testsuite/systemtap.printf/ptr-1.3.exp | 69 +++++++++++++++ testsuite/systemtap.printf/ptr-1.3.stp | 90 ++++++++++++++++++++ 5 files changed, 215 insertions(+), 14 deletions(-) rename testsuite/systemtap.printf/{ptr.exp => ptr-1.2.exp} (78%) rename testsuite/systemtap.printf/{ptr.stp => ptr-1.2.stp} (83%) create mode 100644 testsuite/systemtap.printf/ptr-1.3.exp create mode 100644 testsuite/systemtap.printf/ptr-1.3.stp hooks/post-receive -- systemtap: system-wide probe/trace tool