Convert utmp{x}name to int, return useful value. Define _PATH_UTMPX
* syscalls.cc (utmpname): Convert to int. Return 0 if strdup worked, -1 otherwise. * include/utmpx.h (_PATH_UTMPX): Define as _PATH_UTMP. (utmpxname): Declare as int function. * include/sys/utmp.h (utmpname): Ditto. * include/cygwin/version.h: Bump API minor version. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@@ -42,6 +42,9 @@ What changed:
|
||||
- Fix (numeric and monetary) decimal point and thousands separator in
|
||||
fa_IR and ps_AF locales to be aligned with Linux.
|
||||
|
||||
- utmpname/utmpxname are now defined as int functions as on Linux.
|
||||
Addresses: https://cygwin.com/ml/cygwin/2015-12/msg00320.html
|
||||
|
||||
|
||||
Bug Fixes
|
||||
---------
|
||||
|
Reference in New Issue
Block a user