[Swan-commit] Changes to ref refs/heads/master

Andrew Cagney cagney at vault.libreswan.fi
Fri Jul 5 18:03:58 UTC 2019


New commits:
commit 7de7829274e4ddc49754086c0ea5175a07c970dc
Author: Andrew Cagney <cagney at gnu.org>
Date:   Fri Jul 5 12:49:38 2019 -0400

    logging: replace lswlog_source_line(func, file, line) with where_t et.al.
    
    Replace pexpect and passert code passing around func+basename+line
    parameters with an encapsulated where_t type, and use PRI_WHERE +
    pri_where() for logging.
    
    As a contrived example:
    
       void where_its_at(where_t where)
       {
           dbg("this is where it's at! "PRI_WHERE, pri_where(where))
       }
    
       where_its_at(HERE);
    
    Eliminate lswlog_source_line(); eliminate LSWLOG_PASSERT_SOURCE();
    eliminate libreswan_pexpect_fail(); mostly eliminate
    LSWLOG_PEXPECT_SOURCE(); replace librewan_pexpect_log() with
    log_pexpect(where, ...); rename PASSERT_BASENAME to HERE_BASENAME;
    update fd_t; update passert(); update bad_case(); update cur_*; update
    v2_msgid*.



More information about the Swan-commit mailing list