Bug 9251
| Summary: | mkfontdir does not work | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Fritz Elfert <fritz> | ||||
| Component: | XFree86 | Assignee: | Preston Brown <pbrown> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 6.1 | CC: | fritz | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2000-02-10 20:09:36 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Created attachment 102 [details] patch for fixing bug #9251 fixed in XFree86-3.3.6-12 and later. |
mkfontdir in your current distribution is broken due to your "xfsftfontdir" patch. (patch #22 in .src.rpm). The directory argument is never evaluated, and therefore no font.dir is created. Here is a patch for that. Hope, the bugzilla web-interface clobbers it too much: --- XFree86-3.3.5-orig/xc/programs/mkfontdir/mkfontdir.c Tue Feb 8 23:38:16 2000 +++ XFree86-3.3.5/xc/programs/mkfontdir/mkfontdir.c Tue Feb 8 23:21:37 200 @@ -761,7 +761,7 @@ for(encoding=encodings[i]; encoding; encoding=encoding->next) count++; - if (argc == argc) + if (argn == argc) { if (!DoDirectory(".", encodings, count)) {