Comment by yjftsjthsd-h
3 years ago
If it were possible to determine the program name in a way that was portable and not too painful, it would be a nice feature for the library to automatically set a better default, both to save work for devs using it and to save sqlite devs the hassle of their library getting blamed for things that aren't its fault. Now, I don't think those conditions are likely to be met, but that doesn't mean it wouldn't be nice if it were practical.
> If it were possible to determine the program name in a way that was portable
Every decent OS in 2023 should provide a method for this.
>Every decent OS in 2023 should provide a method for this.
Yes, that's rather the problem—there isn't just one way to do that, which makes it a portability issue.