FreeBSD Bugzilla – Attachment 151373 Details for
Bug 196525
print/p5-PostScript: Fix numElements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
One line fix for numElements
postscript-fix.diff (text/plain), 393 bytes, created by
tilghman
on 2015-01-06 01:15:48 UTC
(
hide
)
Description:
One line fix for numElements
Filename:
MIME Type:
Creator:
tilghman
Created:
2015-01-06 01:15:48 UTC
Size:
393 bytes
patch
obsolete
>diff -uNr PostScript-0.06/TextBlock.pm PostScript-0.06-fixed/TextBlock.pm >--- PostScript-0.06/TextBlock.pm 1999-08-11 09:04:36.000000000 -0500 >+++ PostScript-0.06-fixed/TextBlock.pm 2015-01-05 19:10:09.853126398 -0600 >@@ -54,7 +54,7 @@ > # Returns the number of elements in the TextBlock > # > my $self = shift; >- return $#{@$self}+1; >+ return scalar(@$self); > } > > sub Write {
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 196525
: 151373