FreeBSD Bugzilla – Attachment 8976 Details for
Bug 18597
cmp(1) failure
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 593 bytes, created by
mellon
on 2000-05-16 13:20:05 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
mellon
Created:
2000-05-16 13:20:05 UTC
Size:
593 bytes
patch
obsolete
>Index: regular.c >=================================================================== >RCS file: /freebsd/cvs/src/usr.bin/cmp/regular.c,v >retrieving revision 1.9 >diff -u -r1.9 regular.c >--- regular.c 2000/05/15 08:43:25 1.9 >+++ regular.c 2000/05/16 15:12:42 >@@ -65,15 +65,15 @@ > off_t pagemask, off1, off2; > size_t pagesize; > >- if (sflag && len1 != len2) >- exit(1); >- > if (skip1 > len1) > eofmsg(file1); > len1 -= skip1; > if (skip2 > len2) > eofmsg(file2); > len2 -= skip2; >+ >+ if(sflag && len1 != len2) >+ exit(DIFF_EXIT); > > pagesize = getpagesize(); > pagemask = (off_t)pagesize - 1;
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 18597
: 8976