New commits:
commit 7de7829274e4ddc49754086c0ea5175a07c970dc
Author: Andrew Cagney <cag...@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*.

_______________________________________________
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit

Reply via email to