Hello Fred, you wrote on Thu, 7 Sep 2023 00:00:21 +0000:
> > But I want to suggest to make that a > library standard, implemented in some part of the "statfile" mechanism. > What do you think? > > Yes, the statfile mechanism is problematic sometime. In principle, it's kept "ASAP", meaning "As Simple As Possible" here. It does NOT restrict anything not directly required, leaving the most freedom to the user / programmer possible. But in practice, _beeing able_ to delegate the lower task of file (and directory) handling to some built in, standard mechanism, can make it a lot easier for the casual user, as the only thing he must care about is perhaps setting an option flag. > For example. in NetBSD the "~" like in "~/.config" is not recognized as > "root directory of user" but as a normal character. That's not neccessarily a problem - Windows will not recognize that either, and so it should, if at all, be handled by the library unit internally anyway. (Sadly, as I don't have much information about Windows' internals, I do not have reliable information about where Windows wants applications to store their state data and how to get knowledge of this. This would have to be added by someone who does, as a compiler conditional probabely.) > And using the /etc directory is not optimal too because it needs root > access. Yes, as is using the executable directory on Windows... Although THAT will silently relocate the stat file to a place no one suspects. AFAIK. -- (Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem) ----------------------------------------------------------- Mit freundlichen Grüßen, S. Schicktanz ----------------------------------------------------------- _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk