Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 330674 Details for
Bug 444838
net-misc/netkit-fingerd-0.17-r3: man finger says ~/.project file has a limit of one line of string
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
netkit-fingerd-0.17-obey-man-pages.patch
netkit-fingerd-0.17-obey-man-pages.patch (text/plain), 556 bytes, created by
Dag Erik Vikan
on 2012-11-26 19:08:33 UTC
(
hide
)
Description:
netkit-fingerd-0.17-obey-man-pages.patch
Filename:
MIME Type:
Creator:
Dag Erik Vikan
Created:
2012-11-26 19:08:33 UTC
Size:
556 bytes
patch
obsolete
>--- bsd-finger-0.17/finger/lprint.c.old 2012-11-26 19:06:22.000000000 +0100 >+++ bsd-finger-0.17/finger/lprint.c 2012-11-26 19:17:05.000000000 +0100 >@@ -330,6 +330,7 @@ > static int > show_text(const char *directory, const char *file_name, const char *header) > { >+ int is_printing_project = strcmp(file_name, _PATH_PROJECT); > int ch, lastc = 0, fd; > FILE *fp; > struct stat sbuf1, sbuf2; >@@ -350,6 +351,7 @@ > > xprintf("%s", header); > while ((ch = getc(fp)) != EOF) { >+ if (is_printing_project == 0 && ch == '\n') break; > xputc(ch); > lastc = ch; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 444838
: 330674 |
330676