FreeBSD Bugzilla – Attachment 43028 Details for
Bug 66936
[maintainer] fix signed int problem in display
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 1.34 KB, created by
Dmitry Morozovsky
on 2004-05-20 13:20:13 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Dmitry Morozovsky
Created:
2004-05-20 13:20:13 UTC
Size:
1.34 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># files/patch-ehnt.h ># files/patch-ehnt__display.c ># >echo x - files/patch-ehnt.h >sed 's/^X//' >files/patch-ehnt.h << 'END-of-files/patch-ehnt.h' >X >X$FreeBSD$ >X >X--- ehnt.h.orig Thu Oct 4 22:18:29 2001 >X+++ ehnt.h Thu May 20 16:07:24 2004 >X@@ -93,7 +93,7 @@ >X int ProcessFlow(struct flow_ver5_rec *, struct in_addr *, struct ehnt_struct *); >X int Init_ASN_Lookups(void); >X char * ASN_Lookup(int); >X-char * prettybytes(int); >X+char * prettybytes(unsigned); >X void DisplayReport(time_t, struct ehnt_data *); >X >X /* these EM_ defines are for the mode config variable */ >END-of-files/patch-ehnt.h >echo x - files/patch-ehnt__display.c >sed 's/^X//' >files/patch-ehnt__display.c << 'END-of-files/patch-ehnt__display.c' >X >X$FreeBSD$ >X >X--- ehnt_display.c.orig Thu Oct 4 22:18:29 2001 >X+++ ehnt_display.c Thu May 20 16:06:07 2004 >X@@ -246,7 +246,7 @@ >X >X static char str[100]; >X >X-char * prettybytes(int bytes) { >X+char * prettybytes(unsigned bytes) { >X >X if (bytes < 1024) sprintf(str,"%4d", bytes); >X else if (bytes < (1024*1024)) sprintf(str,"%4dK",(bytes/1024)); >END-of-files/patch-ehnt__display.c >exit
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 Raw
Actions:
View
Attachments on
bug 66936
:
43027
| 43028