FreeBSD Bugzilla – Attachment 21729 Details for
Bug 37964
Fix build on -current: net/gnu-finger --- bento error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.26 KB, created by
obraun
on 2002-05-11 23:10:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
obraun
Created:
2002-05-11 23:10:03 UTC
Size:
1.26 KB
patch
obsolete
>diff -ruN gnu-finger.old/files/patch-ag gnu-finger/files/patch-ag >--- gnu-finger.old/files/patch-ag Mon Feb 2 04:38:32 1998 >+++ gnu-finger/files/patch-ag Sat May 11 23:42:30 2002 >@@ -1,6 +1,22 @@ >---- src/fingerd.c.orig Sun Oct 29 00:12:52 1992 >-+++ src/fingerd.c Sun Jan 15 19:19:46 1998 >-@@ -145,7 +145,7 @@ >+--- src/fingerd.c.orig Wed Oct 28 15:12:52 1992 >++++ src/fingerd.c Sat May 11 23:41:11 2002 >+@@ -110,7 +110,7 @@ >+ int nofork = 0; >+ >+ /* The output stream for debugging. */ >+-FILE *debug_output = stderr; >++FILE *debug_output = NULL; >+ >+ /* Our in RAM database of user/host mappings. */ >+ FINGER_PACKET **host_packets = (FINGER_PACKET **)NULL; >+@@ -139,13 +139,13 @@ >+ char *serverhost, *this_host; >+ int arg_index = 1, optc; >+ >+- >++ debug_output = stderr; >+ allow_time_outs = 1; >+ > default_error_handling (argv[0]); > > /* Parse arguments. */ >@@ -9,3 +25,16 @@ > switch (optc) > { > case 'd': >+@@ -670,8 +670,11 @@ >+ >+ for (i = 0; packets[i]; i++) >+ { >+- if (debugging) >++ if (debugging) { >++ if (debug_output == NULL) >++ debug_output = stderr; >+ print_packet (packets[i], debug_output); >++ } >+ >+ if (packets[i]->idle_time < machine_idle_time) >+ machine_idle_time = packets[i]->idle_time;
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 37964
: 21729