1.010 bump

This commit is contained in:
Jitka Plesnikova 2018-01-29 09:50:03 +01:00
parent fd51d587f8
commit b021e6de3f
4 changed files with 29 additions and 25 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/App-a2p-1.007.tar.gz
/App-a2p-1.008.tar.gz
/App-a2p-1.009.tar.gz
/App-a2p-1.010.tar.gz

View File

@ -37,23 +37,24 @@ index d1f2026..8f45ec2 100644
done_testing;
sub run_command {
diff --git a/walk.c b/walk.c
index 82d5346..26b378f 100644
--- a/walk.c
+++ b/walk.c
@@ -72,8 +72,11 @@ walk(int useval, int level, int node, int *numericptr, int minprec)
if (namelist) {
while (isALPHA(*namelist)) {
for (d = tokenbuf,s=namelist;
- isWORDCHAR(*s);
+ d - tokenbuf < sizeof(tokenbuf) && isWORDCHAR(*s);
*d++ = *s++) ;
+ if (d - tokenbuf == sizeof(tokenbuf))
+ fatal("Internal error: argument longer than %d: %s",
+ sizeof(tokenbuf) - 1, namelist);
*d = '\0';
while (*s && !isALPHA(*s)) s++;
namelist = s;
# Already applied
#diff --git a/walk.c b/walk.c
#index 82d5346..26b378f 100644
#--- a/walk.c
#+++ b/walk.c
#@@ -72,8 +72,11 @@ walk(int useval, int level, int node, int *numericptr, int minprec)
# if (namelist) {
# while (isALPHA(*namelist)) {
# for (d = tokenbuf,s=namelist;
#- isWORDCHAR(*s);
#+ d - tokenbuf < sizeof(tokenbuf) && isWORDCHAR(*s);
# *d++ = *s++) ;
#+ if (d - tokenbuf == sizeof(tokenbuf))
#+ fatal("Internal error: argument longer than %d: %s",
#+ sizeof(tokenbuf) - 1, namelist);
# *d = '\0';
# while (*s && !isALPHA(*s)) s++;
# namelist = s;
--
2.5.0

View File

@ -1,6 +1,6 @@
Name: perl-App-a2p
Version: 1.009
Release: 10%{?dist}
Version: 1.010
Release: 1%{?dist}
Summary: Awk to Perl translator
License: GPL+ or Artistic
Group: Development/Tools
@ -24,10 +24,10 @@ BuildRequires: byacc
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Devel::FindPerl is a non-core module
@ -56,13 +56,12 @@ command line and produces a comparable Perl script.
byacc -o a2p.c a2p.y
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@ -78,6 +77,9 @@ make test
%{_mandir}/man1/*
%changelog
* Mon Jan 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.010-1
- 1.010 bump
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.009-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

View File

@ -1 +1 @@
a84ee58ec053ccb1b70a4cfdb2358c98 App-a2p-1.009.tar.gz
SHA512 (App-a2p-1.010.tar.gz) = 7bf04ee2b56101fbbd20a5fc4bbe420961f56bb04bc8fe0656f859b6128130980b9183da2862e4cf454c33cfb8028b51cd04d23b03b6d8e1309110fd7ca56fde