had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues
Changes:
- Another fix to avoid core dump with delete(ARGV); again, many thanks to
Ruslan Ermilov.
PR: ports/160226
Submitted by: Pedro Giffuni <giffunip@tutopia.com>
Approved by: Yoshihiro Ota <ota@j.email.ne.jp> (maintainer)
Changes:
- fixed long-standing overflow bug in run.c; many thanks to
nelson beebe for spotting it and providing the fix.
- fixed bug that didn't parse -vd=1 properly; thanks to santiago
vila for spotting it.
PR: ports/152025
Submitted by: Pedro F. Giffuni <giffunip@tutopia.com>
Approved by: maintainer (timeout, 18 days)
- replace sprintf with snprintf
- use calloc() to avoid malloc(n * m) overflows
- NetBSD PR 36831: In setfval(), ensure that arithmetic never yields a negative
zero result.
- Restore the traditional (FreeBSD <= 2.x) behavior of trapping FPEs. With this
patch we pass mawk's fpe_test.
PR: 125348
Submitted by: "Pedro F. Giffuni" <pfgshield-freebsd@yahoo.com>
- Add one fix from src/usr.bin/awk/lib.c.diff rev 1.2
- Normalize DIST_SUBDIR as other ports
PR: ports/114227
Submitted by: Pedro F. Giffuni <giffunip at tutopia.com>
the internationalization changes, somewhat modified, are now
reinstated. in theory awk will now do character comparisons
and case conversions in national language, but "." will always
be the decimal point separator on input and output regardless
of national language. isblank(){} has an #ifndef.
fixed subtle behavior in field and record splitting: if FS is
a single character and RS is not empty, \n is NOT a separator.
this tortuous reading is found in the awk book; behavior now
matches gawk and mawk.
for the moment, the internationalization changes of nov 29 are
rolled back -- programs like x = 1.2 don't work in some locales,
because the parser is expecting x = 1,2. until i understand this
better, this will have to wait.
Approved by: knu(portmgr)
I didn't really take the patches from the PR, since 95% of them
where tab to space conversions. Also tweaked the makefile to use
${CC} instead of cc. The distinfo change is because of the rollout
of a new version, of which the Makefile was already changed but the
distinfo not.
PR: ports/44281
Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu>
Some commentary from Mr. bwk:
Mar 5, 1999:
after hearing from yet another innocent victim, changed
isnumber to is_number to avoid the problem caused by
freeBSD gratuitously and incorrectly including the name
isnumber in the standard header file ctype.h.
Prompted by: bento