Bug 2563 - [PATCH] Xprint overuses strlen; various fixes
Summary: [PATCH] Xprint overuses strlen; various fixes
Status: RESOLVED WONTFIX
Alias: None
Product: xprint
Classification: Unclassified
Component: Server: Other (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high enhancement
Assignee: Roland Mainz
QA Contact:
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2005-02-17 18:11 UTC by Mike Owens
Modified: 2011-09-13 12:49 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
reduce number of strlen calls, various small fixes (10.24 KB, patch)
2005-02-17 18:12 UTC, Mike Owens
no flags Details | Splinter Review

Description Mike Owens 2005-02-17 18:11:35 UTC
Soon-to-be-attached patch reduces the number of times the "core" Xprint server  
component excessively calls strlen.  Most were in the form "strlen(s)==0".     
   
A few prototype fixes, a small race condition fix, and a sprintf->snprintf are   
thrown in for good measure.
Comment 1 Mike Owens 2005-02-17 18:12:39 UTC
Created attachment 1922 [details] [review]
reduce number of strlen calls, various small fixes
Comment 2 Corbin Simpson 2011-09-13 12:49:51 UTC
Closing WONTFIX because nobody cares about Xprint. Reopen if you plan to address this bug.

...Additionally, it's kind of sad that this patch languished. Adding the "patch" keyword to accelerate this bug's resolution in the (unlikely) case that this bug is ever addressed again.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.