mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
mkpath() - behaves like mkdir -p. Autologging now uses it to create
log directories. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@591 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
308e84bbc4
commit
6675cec459
3 changed files with 37 additions and 1 deletions
|
|
@ -41,6 +41,9 @@ char *stristr_full(const char *data, const char *key);
|
|||
/* easy way to check if regexp matches */
|
||||
int regexp_match(const char *str, const char *regexp);
|
||||
|
||||
/* Create the directory and all it's parent directories */
|
||||
int mkpath(const char *path, int mode);
|
||||
/* convert ~/ to $HOME */
|
||||
char *convert_home(const char *path);
|
||||
|
||||
/* Case-insensitive string hash functions */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue