align the face patch to the FreeBSD version

master
KatolaZ 6 years ago
parent eef8eb23fe
commit 487ea2c184
  1. 1
      debian/changelog
  2. 5
      debian/patches/add_face_support.patch

1
debian/changelog vendored

@ -1,6 +1,7 @@
bsd-finger (0.17-15.2+kz1) unstable; urgency=medium
* add support for ~/.face
* align the "face" patch to the FreeBSD version
-- Vincenzo (KatolaZ) Nicosia <katolaz@freaknet.org> Fri, 08 Feb 2019 05:29:08 +0000

@ -11,12 +11,13 @@ Author: Vincenzo 'KatolaZ' Nicosia <katolaz@freaknet.org>
void
lflag_print(void)
@@ -99,6 +100,8 @@
@@ -99,6 +100,9 @@
* shell
* office, office phone, home phone if available
*/
+ show_text(pn->dir, _PATH_FACE, "~~~~~~~~~~~~~~~~~~~~\n");
+ xprintf("~~~~~~~~~~~~~~~~~~~~\n");
+ if(show_text(pn->dir, _PATH_FACE, ""))
+ xprintf("~~~~~~~~~~~~~~~~~~~~\n");
xprintf("Login: %-15s\t\t\tName: %s\nDirectory: %-25s",
pn->name, pn->realname ? pn->realname : "", pn->dir);
xprintf("\tShell: %-s\n", *pn->shell ? pn->shell : _PATH_BSHELL);

Loading…
Cancel
Save