What version of unit.c are you referring to? Looks like this issue has been fixed by Jan Engelhard in 2017, see this commit: https://sourceforge.net/p/libdbi-drivers/libdbi-drivers/ci/470b58e15dc6f406899b1695aec7fc98986b8f14/
updated for release 1.0.3
updated PHP interface setup
initialize ELVALUE to silence a boatload of overzealous warnings; minor code cleanup
fixed old http:// URLs
oops - XIncludes must not use https
updated documentation for 1.0.3
removed debug printf() call
added support for mysql_sql_mode config option
removed leftover question about MySQL versions pre 4.1
added MariaDB info; added mysql_sql_mode default value
updated MySQL info; added MariaDB info; fixed old http:// URLs
removed commented out lines
removed MYSQL_LDCONFIG
removed reentrant libmysqlclient cruft; moved MySQL configuration from mysql_config to pkg-config; removed LDFLAGS from MySQL configuration as MYSQL_LIBS provides all we need
fixed URLs; added MariaDB; added some hints for using pkg-conf
fixed NetBSD setenv typo
updated installation instructions for FreeBSD
updated autotools-related files
bumped version to 1.03
J.Vasc.Res. style overhaul
added Vancouver SAGE style
added Eur.J.Anaesthesiol. style
added Cardiovasc.Drugs Ther. style
authoronly citations are now limited to the first author
major overhaul
slightly less outdated upstream versions
use autoreconf instead of calling each autotool
slightly newer upstream versions
simplified instructions to run configure
use instead of mysql_config;patch provided by Herve Codina
Merge branch 'master' of ssh://git.code.sf.net/p/libdbi-drivers/libdbi-drivers
removed leftover global variable
use proper refdbdrc template for PostgreSQL
skip Investigator element as it screws up the author strings
re-enabled a call to _error_handler() that was commented out for no obvious reason
removed reference to variable of a now obsolete FreeBSD malloc interface
more MySQL server configurations to make things...
added InnoDB settings to the MySQL db engine se...
allow either tidy5 or tidy for cleaning up html
amended required Perl module info
removed deprecated defined(@array) call
replaced obsolete AC_PROG_LD with LT_PATH_LD
replaced AC_PROG_LD with LT_PATH_LD
changed hardcoded perl invocation to env
use env to invoke perl; change http to https
added Anesth.Analg. style
added Thrombosis and Haemostasis style
use warnings instead of perl -w
use env in perl shebangs
added ns directory mangling to xhtml and fo scr...
added Eur.J.Cardiothorac.Surg. style
fix path to namespaced stylesheet in import sta...
dbi_conn_close(): do not return early if conn->...
added Oliver
Oliver's patch to add even more weird character...
removed svn_dist_version from BUILT_SOURCES as ...
avoid removing the trailing space of the RIS en...
check authorlist items for NULL to avoid spurio...
print_authors(): fixed possible segfault in fir...
removed erroneous p tags and end-tags which cre...
remove surplus processing instruction from XML ...
work around session_is_registered being depreca...
fixed permission problem of PHP interface for A...
fixed erroneous unix epoch -1 dates in RP field...
_dbd_decode_binary(): fixed possible access to ...
fixed memory leak if not connected. Fixes Debia...
Oliver's fixes for PHP later than 5.3
fixed a bunch of printf format abuses
finished migration to current readline interface
moved away from deprecated custom function inte...
get_unique_citekey(), update_dateinfo(): fixed ...
process_ris_set(): insert 0 for refdb_pubyear a...
dbd_quote_binary(): fixed possible buffer overf...
final touches for 1.0.2
risx_end_handler(): fixed tofield size to avoid...
reverted removal of gcc black magic
reverted removal of gcc black magic
replaced deprecated atoll() calls with strtoll(...
replaced deprecated atol() calls with strtol() ...
replaced deprecated atoll() calls with strtoll(...
final touches
bumped version number to 1.0.0
main(): fixed strncpy size mismatch
request_notes_by_ref(): changed %d to %zd as th...
added a couple of new words
instruct automake to copy files rather than sym...
replaced hard-coded /usr/local path with PREFIX
fixed bashisms in redirections
fixed DocBook namespaced stylesheet build errors
No rule to make target `citationlistx/*.html', needed by `al
status: open --> closed-fixed Group: --> all
This problem seems to be fixed now, see revision 769. I can build the code from svn...
suppress echoing the password