FreeBSD Bugzilla – Attachment 16662 Details for
Bug 30467
rs crashes when option -z is used without -t.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.21 KB, created by
sven
on 2001-09-09 22:00:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
sven
Created:
2001-09-09 22:00:03 UTC
Size:
1.21 KB
patch
obsolete
>*** rs.c.orig Sun Sep 9 22:38:48 2001 >--- rs.c Sun Sep 9 22:33:22 2001 >*************** >*** 289,312 **** > colwidths[i] = max + gutter; > } > else >! for (i = 0; i < ocols; i++) { > for (j = i; j < nelem; j += ocols) > if ((n = strlen(ep[j])) > max) > max = n; > colwidths[i] = max + gutter; > } > } >- /* for (i = 0; i < orows; i++) { >- for (j = i; j < nelem; j += orows) >- prints(ep[j], (j - i) / orows); >- putchar('\n'); >- } >- else >- for (i = 0; i < orows; i++) { >- for (j = 0; j < ocols; j++) >- prints(*ep++, j); >- putchar('\n'); >- }*/ > else > for (i = 0; i < ocols; i++) > colwidths[i] = colw; >--- 289,301 ---- > colwidths[i] = max + gutter; > } > else >! for (ep = elem, i = 0; i < ocols; i++) { > for (j = i; j < nelem; j += ocols) > if ((n = strlen(ep[j])) > max) > max = n; > colwidths[i] = max + gutter; > } > } > else > for (i = 0; i < ocols; i++) > colwidths[i] = colw; >*************** >*** 319,326 **** > n = orows * ocols; > if (n > nelem && (flags & RECYCLE)) > nelem = n; >- /*for (i = 0; i < ocols; i++) >- warnx("%d is colwidths, nelem %d", colwidths[i], nelem);*/ > } > > #define BSIZE 2048 >--- 308,313 ----
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 30467
: 16662