1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-18 19:47:06 +00:00
termux-packages/packages/screen/attacher.c.patch
Leonid Pliushch 6d33f94a5f fix packages that require getpass()
Changed packages:

  * alpine
  * dropbear
  * emacs
  * isync
  * lftp
  * msmtp
  * newsboat
  * rsync
  * screen
  * texlive-bin
  * unrar
  * w3m
2018-09-11 00:55:00 +02:00

11 lines
357 B
Diff

--- ../cache/screen-4.4.0/attacher.c 2016-06-19 19:41:03.000000000 +0000
+++ ./attacher.c 2016-12-20 06:59:46.351839178 +0000
@@ -921,7 +933,6 @@
#endif
debug("screen_builtin_lck looking in gcos field\n");
- strncpy(fullname, ppp->pw_gecos, sizeof(fullname) - 9);
fullname[sizeof(fullname) - 9] = 0;
if ((cp1 = index(fullname, ',')) != NULL)