Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 260953 Details for
Bug 293654
media-gfx/aview-1.3.0_rc1-r1 ebuild, aview tmp_creation patch breaks keyboard input for asciiview and breaks multiple file processing
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixed filename spaces patch
aview-1.3.0_rc1-filename-spaces.patch (text/plain), 1.28 KB, created by
Kevin McCarthy (RETIRED)
on 2011-01-28 21:33:29 UTC
(
hide
)
Description:
Fixed filename spaces patch
Filename:
MIME Type:
Creator:
Kevin McCarthy (RETIRED)
Created:
2011-01-28 21:33:29 UTC
Size:
1.28 KB
patch
obsolete
>--- aview-1.3.0.orig/asciiview 2011-01-28 16:03:38.968120673 -0500 >+++ aview-1.3.0/asciiview 2011-01-28 16:13:18.738377115 -0500 >@@ -7,9 +7,9 @@ > } > myconvert() > { >- if anytopnm $1 >/tmp/aview$$.pgm 2>/dev/null ; then >+ if anytopnm "$1" >/tmp/aview$$.pgm 2>/dev/null ; then > exit >- elif convert -colorspace gray $1 pgm:- 2>/dev/null ; then >+ elif convert -colorspace gray "$1" pgm:- 2>/dev/null ; then > exit > fi > echo "Failed to convert file format to PNM by both convert and anytopnm" >&2 >@@ -44,8 +44,13 @@ > options="$options $1" > shift > ;; >- *) >- filenames="$filenames $1" >+ *) >+ if [ "$filenames" = "" ] >+ then >+ filenames=$1 #avoid leading null >+ else >+ filenames=$(echo -e "$filenames\n$1") >+ fi > shift > ;; > esac >@@ -53,15 +58,15 @@ > trap clear 0 > mkfifo /tmp/aview$$.pgm > outfile=/tmp/aview$$.pgm >-for name in $filenames ; do >-if test -r $name ; then >-case $name in >+echo "$filenames" | while read name; do >+if test -r "$name" ; then >+case "$name" in > *.fli | *.lfc | *.flic ) > PATH="$PATH:." >- aaflip $options $name >+ aaflip $options "$name" > ;; > *) >- myconvert $name >/tmp/aview$$.pgm & >+ myconvert "$name" >/tmp/aview$$.pgm & > pid=$! > PATH="$PATH:." > aview $options /tmp/aview$$.pgm
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 293654
: 260953 |
260955
|
260957
|
260958