This is the mail archive of the systemtap-cvs@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.8-23-gd917e52


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 <jistone@redhat.com>
Date:   Wed Jun 17 18:23:39 2009 -0700

    Refactor common code in the tokenize test

commit 7f12f9a3f6aeb2452acedced5a54c66c4a19382b
Author: Przemyslaw Pawelczyk <przemyslaw@pawelczyk.it>
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 <jistone@redhat.com>

-----------------------------------------------------------------------

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]