FreeBSD Bugzilla – Attachment 223468 Details for
Bug 254455
BSD diff(1) compares same files and dirs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
diff.patch (text/plain), 1.35 KB, created by
Andre Albsmeier
on 2021-03-21 09:31:47 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Andre Albsmeier
Created:
2021-03-21 09:31:47 UTC
Size:
1.35 KB
patch
obsolete
>--- diffdir.c.ORI 2020-11-12 16:47:34.108327000 +0100 >+++ diffdir.c 2021-03-21 10:21:09.922401000 +0100 >@@ -55,6 +55,18 @@ > > edp1 = edp2 = NULL; > >+ if( stb1.st_ino == stb2.st_ino && >+ stb1.st_dev == stb2.st_dev && >+ stb1.st_mode == stb2.st_mode && >+ stb1.st_nlink == stb2.st_nlink && >+ stb1.st_uid == stb2.st_uid && >+ stb1.st_gid == stb2.st_gid && >+ stb1.st_size == stb2.st_size && >+ stb1.st_mtime == stb2.st_mtime && >+ stb1.st_ctime == stb2.st_ctime >+ ) >+ goto closem; >+ > dirlen1 = strlcpy(path1, *p1 ? p1 : ".", sizeof(path1)); > if (dirlen1 >= sizeof(path1) - 1) { > warnc(ENAMETOOLONG, "%s", p1); >--- diffreg.c.ORI 2021-03-06 10:43:28.000000000 +0100 >+++ diffreg.c 2021-03-21 10:26:12.094429000 +0100 >@@ -334,6 +334,23 @@ > goto closem; > } > >+ if( ( ( stb1.st_ino == stb2.st_ino && stb1.st_dev == stb2.st_dev ) || >+ ( stb1.st_rdev == stb2.st_rdev && >+ ( (S_ISBLK( stb1.st_mode ) && S_ISBLK( stb2.st_mode )) || >+ (S_ISCHR( stb1.st_mode ) && S_ISCHR( stb2.st_mode )) >+ ) >+ ) >+ ) && >+ stb1.st_mode == stb2.st_mode && >+ stb1.st_nlink == stb2.st_nlink && >+ stb1.st_uid == stb2.st_uid && >+ stb1.st_gid == stb2.st_gid && >+ stb1.st_size == stb2.st_size && >+ stb1.st_mtime == stb2.st_mtime && >+ stb1.st_ctime == stb2.st_ctime >+ ) >+ goto closem; >+ > if (lflag) > pr = start_pr(file1, file2); >
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 254455
: 223468