]> Savannah Git Hosting - gnulib.git/commit
getlogin_r tests: Remove xalloc dependency.
authorBruno Haible <bruno@clisp.org>
Fri, 18 Apr 2025 13:05:10 +0000 (15:05 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 18 Apr 2025 13:05:10 +0000 (15:05 +0200)
commita5009b0c65c11829cedeeb2b63ec6a4261d6bddb
treeb190a65e349a2411a0121ea82616a6e4e5da0eab
parent8c6c35c71b703ea0765b2db0089b681b99ae0ef9
getlogin_r tests: Remove xalloc dependency.

* tests/test-getlogin.c (main): Don't assume the putenv argument is
unmodified.
* tests/test-getlogin_r.c: Do not include xalloc.h.
(main): Use a static rather than heap storage.
* modules/getlogin_r-tests (Depends-on): Remove xalloc.
(test_getlogin_LDADD): Remove @LIBINTL@.
ChangeLog
modules/getlogin_r-tests
tests/test-getlogin.c
tests/test-getlogin_r.c