[yoshimi] Re: Problem with User Configuration (possibly a Bug)
- From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
- To: yoshimi@xxxxxxxxxxxxx
- Date: Sun, 27 May 2018 19:09:29 +0100
On Sun, 27 May 2018 17:18:14 +0200
Ichthyostega <prg@xxxxxxxxxxxxxxx> wrote:
Hello Will,
the topic of default/user configuration and startup was something I always
found
quite confusing and annoying. I just didn't seem to "get" it. Today I took the
time to investigate it more thoroughly. What I found out, surprised me: yoshimi
seems "randomly to forget" my setup and configuration. In part, this was
covered
up, since I basically always start from a Jack session, which injects the most
relevant parts.
Hopefully with this resolved the structure will make more sense!
<snip>
Well, I guess, using a symlink for the home directory itself is maybe not so
common, but there is no reason why it should not work. It is more common to
have /home on a separate partition alltogether.
I was totally unware of this and this bit of code predates me by some years! It
has always worked for me, but then I never thought of using a symlink. I'm quite
happy with the change and it'll be in the release.
Or is there any other reason, why the MiscFuncs::isDirectory(string) function
uses lstat() instead of stat() ?
On that occasion, I also noted a minor clean-up in Config.cpp
See the attached patches
Thanks also for the cleanup. That was my work, but one of my very earliest
bits :o
Cheers,
Hermann
--
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
Yoshimi source code is available from either:
https://sourceforge.net/projects/yoshimi
Or:
https://github.com/Yoshimi/yoshimi
Our list archive is at:
https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx
Other related posts: