freebsd-dev/lib/libuutil
наб 722b7f9a4c
libuutil: purge unused functions
Remove vestigial uu_open_tmp().  The problems with this implementation
are many, but the primary one is the TMPPATHFMT macro, which is
unused, and always has been.

Searching around for any users leads only to earlier imports of the
same, identical file, i.a. into an apple repository (which does patch
gethrtime() into it and gives us a copyright date of 2007),
and a MidnightBSD one from 2008.

Searching illumos-gate, uu_open_tmp appears, in current HEAD, three
times: in the header, libuutil's mapfile ABI, and the implementation.

This slowly grows up to eight occurrences as one moves back to the root
"OpenSolaris Launch" commit: the header, implementation, twice in
libuutil's spec ABI, twice (with multilib and non-multilib paths) in
libuutil.so's i386 and SPARC binary db ABIs.

That's 2005, and this file was abandonware even then, it's dead code.

The situation is similar for the uu_dprintf() family of functions and
uu_dump().  Nothing in accessibly recorded history has ever used them.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #11873
2021-04-12 09:32:43 -07:00
..
libuutil.abi libuutil: purge unused functions 2021-04-12 09:32:43 -07:00
libuutil.suppr Library ABI tracking with abigail 2020-11-17 09:18:52 -08:00
Makefile.am libuutil: purge unused functions 2021-04-12 09:32:43 -07:00
uu_alloc.c Update to onnv_147 2010-08-26 14:24:34 -07:00
uu_avl.c Fix a resource leak in uu_avl_pool_destroy 2021-01-26 19:39:28 -08:00
uu_ident.c Fix gcc ident pragma warnings 2010-08-27 15:34:02 -07:00
uu_list.c Fix gcc ident pragma warnings 2010-08-27 15:34:02 -07:00
uu_misc.c libuutil: purge unused functions 2021-04-12 09:32:43 -07:00
uu_pname.c Fix gcc ident pragma warnings 2010-08-27 15:34:02 -07:00
uu_string.c Remove unused headers from uu_string.c 2019-10-25 13:53:50 -07:00