shadow/shadow-4.16.0-econf.patch
Michael Vetter 826df7f957 - Update to 4.16.0:
* The shadow implementations of id(1) and groups(1) are deprecated
    in favor of the GNU coreutils and binutils versions.
    They will be removed in 4.17.0.
  * The rlogind implementation has been removed.
  * The libsubid major version has been bumped, since it now requires
    specification of the module's free() implementation.
- Update shadow-login_defs-suse.patch
- Add shadow-4.16.0-econf.patch:
  Replace deprecated econf_readDirs with econf_readConfig

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=176
2024-06-19 07:13:11 +00:00

14 lines
487 B
Diff

Index: shadow-4.16.0/lib/getdef.c
===================================================================
--- shadow-4.16.0.orig/lib/getdef.c
+++ shadow-4.16.0/lib/getdef.c
@@ -482,7 +482,7 @@ static void def_load (void)
*/
def_loaded = true;
- error = econf_readDirs (&defs_file, vendordir, sysconfdir, "login", "defs", " \t", "#");
+ error = econf_readConfig (&defs_file, vendordir, sysconfdir, "login", "defs", " \t", "#");
if (error) {
if (error == ECONF_NOFILE)
return;