Hash :
90840606
Author :
Date :
2025-03-09T10:16:58
getlogin: Work around musl bug. * lib/unistd.in.h (getlogin): Consider REPLACE_GETLOGIN. * lib/getlogin.c: Change license header to GPL. (getlogin): Add implementation for Linux. * m4/getlogin.m4 (gl_FUNC_GETLOGIN): Test whether getlogin works. * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize REPLACE_GETLOGIN. * modules/unistd-h (Makefile.am): Substitute REPLACE_GETLOGIN. * modules/getlogin (Depends-on): Add readutmp. (configure.ac): Consider REPLACE_GETLOGIN. (License): Change to GPL. * tests/test-getlogin.c (main): Add another test. * doc/posix-functions/getlogin.texi: Mention the workaround.
This directory contains metainformation about the gnulib modules, one or two
files per module. These files are used by gnulib-tool.
For every module,
- the file <module> is the metainformation about the library code of the
module,
- the file <module>-tests is the metainformation about the unit test of
the module (optional but recommended).
All the files in this directory are distributed under the following copyright:
Copyright (C) 2002-2025 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
in any medium, are permitted without royalty provided the copyright
notice and this notice are preserved.