- Update to 1.00

PR:		ports/99455
Submitted by:	aaron
Reviewed by:	maintainer
Approved by:	maintainer, tobez (implicit)
This commit is contained in:
Aaron Dalton 2006-06-27 01:25:15 +00:00
parent abc02d356f
commit 8bfa82a29e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166416
3 changed files with 30 additions and 4 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= File-Stat-Bits
PORTVERSION= 0.18
PORTVERSION= 1.00
CATEGORIES= sysutils perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File

View file

@ -1,3 +1,3 @@
MD5 (File-Stat-Bits-0.18.tar.gz) = e2cdccb316a06bb4d28d7c69f121ef9e
SHA256 (File-Stat-Bits-0.18.tar.gz) = d03004fa39ae8a9817a7bbefcec29fdcfd19e5a497214009f4d21c59ccc14e78
SIZE (File-Stat-Bits-0.18.tar.gz) = 9128
MD5 (File-Stat-Bits-1.00.tar.gz) = 47d6b70c25f26b0bde98d047bf803045
SHA256 (File-Stat-Bits-1.00.tar.gz) = 013d3506e9ac029a255be952dcf87cdd466c7c696634e588baae861692075a7a
SIZE (File-Stat-Bits-1.00.tar.gz) = 9256

View file

@ -0,0 +1,26 @@
--- t/gen-stat.c.orig Sun May 21 04:19:35 2006
+++ t/gen-stat.c Sun Jun 25 10:29:33 2006
@@ -13,11 +13,6 @@
#include <sys/stat.h>
#include <sys/types.h>
-#ifdef _HAVE_SYS_SYSMACROS_H
-# include <sys/sysmacros.h>
-#endif
-
-
#undef P
#undef CONCAT
#undef CONCAT1
@@ -126,8 +121,9 @@
*_shift=shift;
- for(*_mask=0; mask=MASK(shift), f(mask) != 0; ++shift)
- *_mask |= mask;
+ for(*_mask=0; mask=MASK(shift), shift < sizeof mask * 8; ++shift)
+ if ( f(mask) != 0 )
+ *_mask |= mask;
}