Re: Absolute paths
- From: "Christopher T. Lansdown" <lansdoct screech cs alfred edu>
- To: gnome-devel-list gnome org
- Subject: Re: Absolute paths
- Date: Sun, 13 Aug 2000 19:41:18 -0400
> If you have other suggestions for how to address the issue of finding
> support files, please do post them - it's an issue that would be nice
> to solve.
Wouldn't providing some strings of length 1024 (null-padded by default) of
the format:
CONFIGDIRECTORY:/usr/bin/whatever
so that you could just do a search-and-replace in the binaries? True it
wouldn't allow you to relocate to really deep/big directories, but it would
work in the overwhelming majority of cases. The stanard "CONFIGDIRECTORY:"
would allow applications to efficiently use the string as they would just do
&configstring[16] to use the string. And it would ensure that you would
prettymuch never make mistakes in doing the search-and-replace.
Being a blatantly obvious scheme, I assume that I am not the first person
who has thought of it. What's wrong with it, aside from it's sort of
hackish feel?
-Chris
--
lansdoct@cs.alfred.edu
Homepage: http://cs.alfred.edu/~lansdoct/
(Linux Programs, Information, Tutorials, and non-linux stuff too)
"If I had had more time I would have written a shorter letter." - Pascal
"They laughed at Einstein. They laughed at the Wright Brothers. But they
also laughed at Bozo the Clown." -- Carl Sagan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]