From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2683 invoked by alias); 18 Jun 2009 01:24:21 -0000 Received: (qmail 2659 invoked by uid 9586); 18 Jun 2009 01:24:21 -0000 Date: Thu, 18 Jun 2009 01:24:00 -0000 Message-ID: <20090618012421.2648.qmail@sourceware.org> From: jistone@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.8-23-gd917e52 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 44b73c9d467fe0383d33dce5f1217e023f3b203b X-Git-Newrev: d917e520b1bd36e2230312ab25c61e6161cdc372 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: 2009-q2/txt/msg00328.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 d917e520b1bd36e2230312ab25c61e6161cdc372 (commit) via 7f12f9a3f6aeb2452acedced5a54c66c4a19382b (commit) from 44b73c9d467fe0383d33dce5f1217e023f3b203b (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 d917e520b1bd36e2230312ab25c61e6161cdc372 Author: Josh Stone Date: Wed Jun 17 18:23:39 2009 -0700 Refactor common code in the tokenize test commit 7f12f9a3f6aeb2452acedced5a54c66c4a19382b Author: Przemyslaw Pawelczyk Date: Thu Jun 18 01:50:31 2009 +0200 Fix tokenize function and test. Previous implementation was error-prone, because allowed returning empty tokens (mimiced strsep()), which is fine if there is a NULL semantic. Unfortunately SystemTap doesn't provide it in scripts and has only blank string (""), therefore testing against it was misleading. The solution is to return only non-empty tokens (mimic strtok()). * tapset/string.stp: Fix tokenize. * testsuite/systemtap.string/tokenize.stp: Improve and add case with more than one delimiter in the delim string. * testsuite/systemtap.string/tokenize.exp: Ditto. * stapfuncs.3stap.in: Update tokenize description. * doc/langref.tex: Ditto. Signed-off-by: Josh Stone ----------------------------------------------------------------------- Summary of changes: doc/langref.tex | 4 +- stapfuncs.3stap.in | 6 ++-- tapset/string.stp | 23 ++++++++---- testsuite/systemtap.string/tokenize.exp | 19 ++++++++++- testsuite/systemtap.string/tokenize.stp | 54 +++++++++++-------------------- 5 files changed, 56 insertions(+), 50 deletions(-) hooks/post-receive -- systemtap: system-wide probe/trace tool