Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 132733 Details for
Bug 130612
canon cups capt driver (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
cndrvcups-capt-1.50-fast-add-tail.patch
cndrvcups-capt-1.50-fast-add-tail.patch (text/plain), 2.52 KB, created by
Jonas Jonsson
on 2007-10-06 14:35:08 UTC
(
hide
)
Description:
cndrvcups-capt-1.50-fast-add-tail.patch
Filename:
MIME Type:
Creator:
Jonas Jonsson
Created:
2007-10-06 14:35:08 UTC
Size:
2.52 KB
patch
obsolete
>diff -ur cndrvcups-capt-1.50/pstocapt/filter/pstocapt.c cndrvcups-capt-1.50_/pstocapt/filter/pstocapt.c >--- cndrvcups-capt-1.50/pstocapt/filter/pstocapt.c 2007-02-08 11:49:22.000000000 +0100 >+++ cndrvcups-capt-1.50_/pstocapt/filter/pstocapt.c 2007-10-06 16:09:31.000000000 +0200 >@@ -361,6 +361,7 @@ > int acro_util = 0; > int read_bytes; > BufList *bl = NULL; >+ BufList *ps_data_tail = NULL; > > while( (read_bytes = read_line(ifd, read_buf, DATA_BUF_SIZE - 1)) > 0 ) > { >@@ -398,7 +399,7 @@ > if( *ps_data == NULL ) > *ps_data = bl; > else >- buflist_add_tail(*ps_data, bl); >+ buflist_add_tail_fast(*ps_data, bl, &ps_data_tail); > > if( read_bytes > 0 ) > { >@@ -477,7 +478,7 @@ > if( *ps_data == NULL ) > *ps_data = bl; > else >- buflist_add_tail(*ps_data, bl); >+ buflist_add_tail_fast(*ps_data, bl, &ps_data_tail); > } > > return p_list; >diff -ur cndrvcups-capt-1.50/pstocapt2/filter/pstocapt2.c cndrvcups-capt-1.50_/pstocapt2/filter/pstocapt2.c >--- cndrvcups-capt-1.50/pstocapt2/filter/pstocapt2.c 2007-02-08 11:49:22.000000000 +0100 >+++ cndrvcups-capt-1.50_/pstocapt2/filter/pstocapt2.c 2007-10-06 16:12:18.000000000 +0200 >@@ -641,6 +641,7 @@ > int numcopies = -1; > int is_banner = 0; > char *p_read_buf; >+ BufList *ps_data_tail = NULL; > > while( (read_bytes = read_line(ifd, read_buf, DATA_BUF_SIZE - 1)) > 0 ) > { >@@ -677,7 +678,7 @@ > if( *ps_data == NULL ) > *ps_data = bl; > else >- buflist_add_tail(*ps_data, bl); >+ buflist_add_tail_fast(*ps_data, bl, &ps_data_tail); > > if( read_bytes > 0 ) > { >@@ -772,7 +773,7 @@ > if( *ps_data == NULL ) > *ps_data = bl; > else >- buflist_add_tail(*ps_data, bl); >+ buflist_add_tail_fast(*ps_data, bl, &ps_data_tail); > > if( read_bytes > 0 ) > { >diff -ur cndrvcups-capt-1.50/pstocapt3/filter/pstocapt3.c cndrvcups-capt-1.50_/pstocapt3/filter/pstocapt3.c >--- cndrvcups-capt-1.50/pstocapt3/filter/pstocapt3.c 2007-02-07 07:21:14.000000000 +0100 >+++ cndrvcups-capt-1.50_/pstocapt3/filter/pstocapt3.c 2007-10-06 16:10:34.000000000 +0200 >@@ -762,6 +762,7 @@ > int numcopies = -1; > int is_banner = 0; > char *p_read_buf; >+ BufList *ps_data_tail = NULL; > > while( (read_bytes = read_line(ifd, read_buf, DATA_BUF_SIZE - 1)) > 0 ) > { >@@ -798,7 +799,7 @@ > if( *ps_data == NULL ) > *ps_data = bl; > else >- buflist_add_tail(*ps_data, bl); >+ buflist_add_tail_fast(*ps_data, bl, &ps_data_tail); > > if( read_bytes > 0 ) > { >@@ -894,6 +895,7 @@ > *ps_data = bl; > else > buflist_add_tail(*ps_data, bl); >+ buflist_add_tail_fast(*ps_data, bl, &ps_data_tail); > > if( read_bytes > 0 ) > {
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 130612
:
88791
|
88792
|
88793
|
96083
|
96084
|
110093
|
110180
|
122133
|
122135
|
132731
| 132733 |
132734
|
132736
|
132738
|
144857
|
144858
|
194919
|
194921
|
195140
|
195141
|
205936
|
205938
|
205943
|
205945
|
206095
|
206444
|
213066
|
248395
|
253537
|
283299
|
283301
|
309177
|
309179
|
404004
|
404052
|
404542