History log of /openbsd-current/lib/libc/asr/getnameinfo.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.11 27-Dec-2022 jmc

spelling fixes; from paul tagliamonte
any changes not taken noted on tech, but chiefly here i did not take the
cancelation - cancellation changes;


Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.10 21-Dec-2020 eric

Always call endservent_r() after getservbyport_r().
Fix a memory leak when no entry is matched.

ok florian


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.9 03-Jul-2019 deraadt

snprintf/vsnprintf return < 0 on error, rather than -1.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.8 02-Oct-2015 deraadt

make a && && & block more readable. no binary change.
discussed with otto


# 1.7 14-Sep-2015 guenther

Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak


Revision tags: OPENBSD_5_8_BASE
# 1.6 25-May-2015 eric

getnameinfo(3) doesn't need to initialize the resolver when it's only used
for address/port formatting (e.g. NI_NUMERICHOST).

ok deraadt@ jca@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.5 26-Mar-2014 eric

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 1.4 25-Mar-2014 eric

Cleanup and simplify the API to be exposed. Use better names for
structures, functions and defines.

discussed with and ok deraadt@ guenther@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.3 12-Jul-2013 eric

Make some symbols static and prefix all visible symbols with asr_
to prevent collisions with third-party programs.

suggested by sthen@, ok theo@


# 1.2 27-May-2013 eric

Add minimal support for _res setup and update.

Change res_init() to initialize the _res structure on first call, and
udpate the global async context if changes were made by the user. All
resolver functions now call res_init() internally.

fixes issue spotted by otto@


Revision tags: OPENBSD_5_3_BASE
# 1.1 08-Sep-2012 eric

split asr_resolver.c into different files to overlay the libc/net
resolver implementation.


# 1.10 21-Dec-2020 eric

Always call endservent_r() after getservbyport_r().
Fix a memory leak when no entry is matched.

ok florian


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.9 03-Jul-2019 deraadt

snprintf/vsnprintf return < 0 on error, rather than -1.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.8 02-Oct-2015 deraadt

make a && && & block more readable. no binary change.
discussed with otto


# 1.7 14-Sep-2015 guenther

Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak


Revision tags: OPENBSD_5_8_BASE
# 1.6 25-May-2015 eric

getnameinfo(3) doesn't need to initialize the resolver when it's only used
for address/port formatting (e.g. NI_NUMERICHOST).

ok deraadt@ jca@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.5 26-Mar-2014 eric

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 1.4 25-Mar-2014 eric

Cleanup and simplify the API to be exposed. Use better names for
structures, functions and defines.

discussed with and ok deraadt@ guenther@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.3 12-Jul-2013 eric

Make some symbols static and prefix all visible symbols with asr_
to prevent collisions with third-party programs.

suggested by sthen@, ok theo@


# 1.2 27-May-2013 eric

Add minimal support for _res setup and update.

Change res_init() to initialize the _res structure on first call, and
udpate the global async context if changes were made by the user. All
resolver functions now call res_init() internally.

fixes issue spotted by otto@


Revision tags: OPENBSD_5_3_BASE
# 1.1 08-Sep-2012 eric

split asr_resolver.c into different files to overlay the libc/net
resolver implementation.


# 1.9 03-Jul-2019 deraadt

snprintf/vsnprintf return < 0 on error, rather than -1.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.8 02-Oct-2015 deraadt

make a && && & block more readable. no binary change.
discussed with otto


# 1.7 14-Sep-2015 guenther

Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak


Revision tags: OPENBSD_5_8_BASE
# 1.6 25-May-2015 eric

getnameinfo(3) doesn't need to initialize the resolver when it's only used
for address/port formatting (e.g. NI_NUMERICHOST).

ok deraadt@ jca@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.5 26-Mar-2014 eric

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 1.4 25-Mar-2014 eric

Cleanup and simplify the API to be exposed. Use better names for
structures, functions and defines.

discussed with and ok deraadt@ guenther@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.3 12-Jul-2013 eric

Make some symbols static and prefix all visible symbols with asr_
to prevent collisions with third-party programs.

suggested by sthen@, ok theo@


# 1.2 27-May-2013 eric

Add minimal support for _res setup and update.

Change res_init() to initialize the _res structure on first call, and
udpate the global async context if changes were made by the user. All
resolver functions now call res_init() internally.

fixes issue spotted by otto@


Revision tags: OPENBSD_5_3_BASE
# 1.1 08-Sep-2012 eric

split asr_resolver.c into different files to overlay the libc/net
resolver implementation.