Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23023 - xfs init.d script does not strip suffixes
Summary: xfs init.d script does not strip suffixes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-17 18:53 UTC by mkowske
Modified: 2004-03-17 11:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for init.d/xfs (xfs-initd.patch,425 bytes, patch)
2004-03-02 16:28 UTC, Andrew Bevitt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mkowske 2003-06-17 18:53:50 UTC
/etc/init.d/xfs does not seem to strip suffixes from directories in
/etc/X11/fs/config.  The artwiz-fonts package for example, uses a :unscaled
suffix in it's font entry in the xfs config file
(/usr/share/fonts/artwiz:unscaled).  The  get_fontdir_list() function doesn't
strip this suffix and thus the artwiz directory (and any other directory with a
suffix in config) is not scanned.
Comment 1 Andrew Bevitt 2004-03-02 16:28:21 UTC
Created attachment 26738 [details, diff]
Patch for init.d/xfs

OK this patch strips the suffixes

Well actually it strips anything from the ':' onwards (inclusive) that is
classified as a alphabetic character or number under the charset on the local
machine. This is compliant with POSIX.

A ',' is not an alpha-number hence not stripped. If any suffixes do not meet
alpha-num please indicate here so futher scans can be introduced.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-03-17 11:35:59 UTC
Fixed in 4.3.0-r6.