Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 254627 Details for
Bug 345863
app-misc/screen imposes strange limit on the length of $TERM
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix typo in last patch
4.0.3-extend-d_termname.patch (text/plain), 896 bytes, created by
Stelian Ionescu
on 2010-11-17 12:21:30 UTC
(
hide
)
Description:
Fix typo in last patch
Filename:
MIME Type:
Creator:
Stelian Ionescu
Created:
2010-11-17 12:21:30 UTC
Size:
896 bytes
patch
obsolete
>diff -ur screen-4.0.3.orig//display.h screen-4.0.3/display.h >--- screen-4.0.3.orig//display.h 2003-07-01 16:01:42.000000000 +0200 >+++ screen-4.0.3/display.h 2010-11-17 13:18:13.182984179 +0100 >@@ -22,6 +22,16 @@ > * $Id: display.h,v 1.9 1994/05/31 12:31:54 mlschroe Exp $ FAU > */ > >+#include <limits.h> >+ >+#ifndef NAME_MAX >+# ifndef MAXNAMELEN >+# define NAME_MAX 255 >+# else >+# define NAME_MAX MAXNAMELEN >+# endif >+#endif >+ > #ifdef MAPKEYS > > #define KMAP_KEYS (T_OCAPS-T_CAPS) >@@ -85,7 +95,7 @@ > struct win *d_other; /* pointer to other window */ > int d_nonblock; /* -1 don't block if obufmax reached */ > /* >0: block after nonblock secs */ >- char d_termname[20 + 1]; /* $TERM */ >+ char d_termname[NAME_MAX + 1]; /* $TERM */ > char *d_tentry; /* buffer for tgetstr */ > char d_tcinited; /* termcap inited flag */ > int d_width, d_height; /* width/height of the screen */
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 345863
:
254617
|
254625
|
254627
|
254669