Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 159085 Details for
Bug 241790
dot warns "Warning: black is not a known color."
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch for missing black in named colorspaces
b241790.patch (text/plain), 1.45 KB, created by
John Ellson
on 2007-07-12 18:56:22 UTC
(
hide
)
Description:
patch for missing black in named colorspaces
Filename:
MIME Type:
Creator:
John Ellson
Created:
2007-07-12 18:56:22 UTC
Size:
1.45 KB
patch
obsolete
>Index: lib/common/colxlate.c >=================================================================== >RCS file: /home/cvsroot/graphviz2/lib/common/colxlate.c,v >retrieving revision 1.12 >retrieving revision 1.13 >diff -u -r1.12 -r1.13 >--- lib/common/colxlate.c 7 Dec 2006 23:42:18 -0000 1.12 >+++ lib/common/colxlate.c 12 Jul 2007 16:47:57 -0000 1.13 >@@ -1,4 +1,4 @@ >-/* $Id: colxlate.c,v 1.12 2006/12/07 23:42:18 erg Exp $ $Revision: 1.12 $ */ >+/* $Id: colxlate.c,v 1.13 2007/07/12 16:47:57 erg Exp $ $Revision: 1.13 $ */ > /* vim:set shiftwidth=4 ts=8: */ > > /********************************************************** >@@ -181,6 +181,10 @@ > > /* resolveColor: > * Resolve input color str allowing color scheme namespaces. >+ * 0) "black" => "black" >+ * NB: This is something of a hack due to the remaining codegen. >+ * Once these are gone, this case could be removed and all references >+ * to "black" could be replaced by "/X11/black". > * 1) No initial / => > * if colorscheme is defined and no "X11", return /colorscheme/str > * else return str >@@ -215,7 +219,8 @@ > char* ss; /* second slash */ > char* c2; /* second char */ > >- if (*str == '/') { /* if begins with '/' */ >+ if ((*str == 'b') || !strncmp(str+1,"lack",4)) return str; >+ else if (*str == '/') { /* if begins with '/' */ > c2 = str+1; > if ((ss = strchr(c2, '/'))) { /* if has second '/' */ > if (*c2 == '/') { /* if second '/' is second character */
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 241790
: 159085