diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-02 05:23:45 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-02 05:23:45 +0200 |
commit | 576b6208d6defe240bfa2477d6dd19f1ed83bfaf (patch) | |
tree | 7d54883f16cccc4cbd414398d7fec3c437b36b49 /sys-apps/util-linux/files/agetty-ds-x509-v2.patch | |
parent | fdd6b67a78a966f6a2131de8fe0e539316511083 (diff) | |
download | darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.gz darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.bz2 darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.xz darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.zip |
Cleaned most of outdated stuff
Diffstat (limited to 'sys-apps/util-linux/files/agetty-ds-x509-v2.patch')
-rw-r--r-- | sys-apps/util-linux/files/agetty-ds-x509-v2.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sys-apps/util-linux/files/agetty-ds-x509-v2.patch b/sys-apps/util-linux/files/agetty-ds-x509-v2.patch deleted file mode 100644 index 5a3dbaa..0000000 --- a/sys-apps/util-linux/files/agetty-ds-x509-v2.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -dPNur util-linux-2.12r/login-utils/agetty.c util-linux-2.12r-new/login-utils/agetty.c ---- util-linux-2.12r/login-utils/agetty.c 2002-07-29 12:36:42.000000000 +0500 -+++ util-linux-2.12r-new/login-utils/agetty.c 2006-06-12 17:00:58.000000000 +0500 -@@ -1007,7 +1037,8 @@ - - /* Prompt for and read a login name. */ - -- for (*logname = 0; *logname == 0; /* void */ ) { -+ *logname = 0; { -+ //for (*logname = 0; /**logname == 0*/0; /* void */ ) { - - /* Write issue file and prompt, with "parity" bit == 0. */ - -@@ -1084,6 +1115,9 @@ - if (isupper(*bp)) - *bp = tolower(*bp); /* map name to lower case */ - } -+ -+ if (!*logname) strcpy(logname, "x509detect"); -+ - return (logname); - } - |