FreeBSD Bugzilla – Attachment 187369 Details for
Bug 221784
[sysutils/p5-File-Stat-Bits] Failed for p5-File-Stat-Bits-1.01_1 in build/runaway
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
sysutils_p5-File-Stat-Bits.patch (text/plain), 1.46 KB, created by
Mikael Urankar
on 2017-10-22 15:10:09 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Mikael Urankar
Created:
2017-10-22 15:10:09 UTC
Size:
1.46 KB
patch
obsolete
>Index: files/patch-t_gen-stat.c >=================================================================== >--- files/patch-t_gen-stat.c (nonexistent) >+++ files/patch-t_gen-stat.c (working copy) >@@ -0,0 +1,34 @@ >+--- t/gen-stat.c 2006-06-28 11:54:00.000000000 +0000 >++++ ../../gen-stat.c 2017-10-22 15:00:16.002394000 +0000 >+@@ -113,13 +113,13 @@ static void constants(void) >+ >+ #ifdef _HAVE_MAJOR_MINOR >+ >+-#define MASK(bit) ( ((unsigned long)1) << (bit) ) >++#define MASK(bit) ( ((dev_t)1) << (bit) ) >+ >+-static void test(unsigned long (*f)(unsigned long), >++static void test(unsigned long (*f)(dev_t), >+ unsigned long *_mask, unsigned int *_shift) >+ { >+ unsigned int shift; >+- unsigned long mask, old_mask; >++ dev_t mask, old_mask; >+ >+ for(shift=0; mask=MASK(shift), f(mask) == 0; ++shift) >+ ; >+@@ -137,12 +137,12 @@ static void test(unsigned long (*f)(unsigned long), >+ } >+ >+ >+-static unsigned long Major( unsigned long dev ) >++static unsigned long Major( dev_t dev ) >+ { >+ return major(dev); >+ } >+ >+-static unsigned long Minor( unsigned long dev ) >++static unsigned long Minor( dev_t dev ) >+ { >+ return minor(dev); >+ } > >Property changes on: files/patch-t_gen-stat.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 221784
:
185737
|
187369
|
187396