Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

~/.fsqlf/ support under Windows #17

Closed
lfiorini opened this issue Jan 17, 2016 · 1 comment
Closed

~/.fsqlf/ support under Windows #17

lfiorini opened this issue Jan 17, 2016 · 1 comment

Comments

@lfiorini
Copy link

~/.fsqlf/ support would be useful in Windows too.

ifndef _WIN32

 const char *home_dir = getenv("HOME");

else

 const char *home_dir = getenv("USERPROFILE");

endif

@dnsmkl
Copy link
Owner

dnsmkl commented Feb 18, 2016

Good point.

Just in case you could patch fsqlf_kwconffile_read_default in fsqlf/lib_fsqlf/conf_file/conf_file_read.c and give me a pull request that would be great.

dnsmkl added a commit that referenced this issue Jul 5, 2016
Also extract function 'static char * get_path_to_user_folder_conf()' in the process.
@dnsmkl dnsmkl closed this as completed Jul 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants