Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 9251

Summary: mkfontdir does not work
Product: [Retired] Red Hat Linux Reporter: Fritz Elfert <fritz>
Component: XFree86Assignee: Preston Brown <pbrown>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: 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:
Description Flags
patch for fixing bug #9251 none

Description Fritz Elfert 2000-02-08 22:48:23 UTC
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))
        {

Comment 1 Fritz Elfert 2000-02-08 22:51:59 UTC
Created attachment 102 [details]
patch for fixing bug #9251

Comment 2 Preston Brown 2000-02-10 20:09:59 UTC
fixed in XFree86-3.3.6-12 and later.