mirror of https://github.com/getdnsapi/getdns.git
mk-symfiles.sh improvent
to filter out #defines as intended. Thanks Zero King
This commit is contained in:
parent
014ac3d368
commit
a4020a6841
|
@ -1,3 +1,7 @@
|
||||||
|
* 2019-01-??: Version 1.5.1
|
||||||
|
* Issue #415: Filter out #defines etc. when creating
|
||||||
|
symbols file. Thanks Zero King
|
||||||
|
|
||||||
* 2018-12-21: Version 1.5.0
|
* 2018-12-21: Version 1.5.0
|
||||||
* RFE getdnsapi/stubby#121 log re-instantiating TLS
|
* RFE getdnsapi/stubby#121 log re-instantiating TLS
|
||||||
upstreams (because they reached tls_backoff_time) at
|
upstreams (because they reached tls_backoff_time) at
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
* if
|
||||||
getdns_address
|
getdns_address
|
||||||
getdns_address_sync
|
getdns_address_sync
|
||||||
getdns_cancel_callback
|
getdns_cancel_callback
|
||||||
getdns_context_
|
|
||||||
getdns_context_config
|
getdns_context_config
|
||||||
getdns_context_create
|
getdns_context_create
|
||||||
getdns_context_create_with_extended_memory_functions
|
getdns_context_create_with_extended_memory_functions
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
write_symbols() {
|
write_symbols() {
|
||||||
OUTPUT=$1
|
OUTPUT=$1
|
||||||
shift
|
shift
|
||||||
grep 'getdns_[0-9a-zA-Z_]*(' $* | grep -v '^#' | grep -v 'INLINE' | grep -v 'getdns_extra\.h\.in: \* if' \
|
grep -h 'getdns_[0-9a-zA-Z_]*(' $* | grep -v '^#' | grep -v 'INLINE' | grep -v 'getdns_extra\.h\.in: \* if' \
|
||||||
| sed -e 's/(.*$//g' -e 's/^.*getdns_/getdns_/g' | LC_ALL=C sort | uniq > $OUTPUT
|
| sed -e 's/(.*$//g' -e 's/^.*getdns_/getdns_/g' | LC_ALL=C sort | uniq > $OUTPUT
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue