libosmocore.git branch master updated. 0.10.2-7-g0f7bcb5f

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Fri Nov 10 16:45:19 UTC 2017


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 "An utility library for Open Source Mobile Communications".

The branch, master has been updated
       via  0f7bcb5f17f18682f7f9dc41e2d0fc73c4c08318 (commit)
      from  c0fc7940df40de07320c9b2cdd5525659d16805a (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 -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=0f7bcb5f17f18682f7f9dc41e2d0fc73c4c08318

commit 0f7bcb5f17f18682f7f9dc41e2d0fc73c4c08318
Author: Pau Espin Pedrol <pespin at sysmocom.de>
Date:   Thu Nov 2 19:08:14 2017 +0100

    vty: Fix bad use of vector_slot()
    
    Commit in e9e9e427b78271941a25a63567fc2ec2bb9e4433 attempted to fix a
    compilation warning but introduced a regression documented in OS#2613.
    
    The commit was reverted in 4aa0258269296f078e685e21fb08b115567e814.
    
    After closer lookup and testing, it seems vector_slot(vline, index) is
    expected to be NULL in this case as set by vty_complete_command:
            /* In case of 'help \t'. */
            if (isspace((int)vty->buf[vty->length - 1]))
                    vector_set(vline, NULL);
    
    As a result, the correct fix for the compilation warning is to test
    against NULL instead of testing for empty string.
    
    Change-Id: Id9e02bbf89e0a94e1766b1efd236538712415c8a

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

Summary of changes:
 src/vty/command.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
An utility library for Open Source Mobile Communications



More information about the osmocom-commitlog mailing list