FreeBSD Bugzilla – Attachment 16812 Details for
Bug 30685
Patch for usr.bin/hexdump
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 706 bytes, created by
simon
on 2001-09-20 15:30:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
simon
Created:
2001-09-20 15:30:03 UTC
Size:
706 bytes
patch
obsolete
>diff -ru /usr/src/usr.bin/hexdump/parse.c hexdump/parse.c >--- /usr/src/usr.bin/hexdump/parse.c Sat Aug 28 04:02:03 1999 >+++ hexdump/parse.c Thu Sep 20 17:01:09 2001 >@@ -413,7 +413,7 @@ > * If, rep count is greater than 1, no trailing whitespace > * gets output from the last iteration of the format unit. > */ >- for (fu = fs->nextfu;; fu = fu->nextfu) { >+ for (fu = fs->nextfu; fu != NULL; fu = fu->nextfu) { > if (!fu->nextfu && fs->bcnt < blocksize && > !(fu->flags&F_SETREP) && fu->bcnt) > fu->reps += (blocksize - fs->bcnt) / fu->bcnt; >@@ -426,8 +426,6 @@ > if (p2) > pr->nospace = p2; > } >- if (!fu->nextfu) >- break; > } > #ifdef DEBUG > for (fu = fs->nextfu; fu; fu = fu->nextfu) {
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 30685
: 16812