mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-17 06:54:42 +03:00
Add more logging for filename init.
This commit is contained in:
parent
55415ed6cd
commit
2a4f7f6b65
@ -179,10 +179,12 @@ bool filename_initialise(void)
|
||||
directory = strdup(TEMP_FILENAME_PREFIX);
|
||||
if (directory == NULL)
|
||||
return false;
|
||||
LOG(("Create directory path \"%s\"", directory));
|
||||
|
||||
for (start = directory; *start != '\0'; start++) {
|
||||
if (*start == '/') {
|
||||
*start = '\0';
|
||||
LOG(("Creating \"%s\"", directory));
|
||||
ret = nsmkdir(directory, S_IRWXU);
|
||||
if (ret != 0) {
|
||||
LOG(("Failed to create directory \"%s\"",
|
||||
|
Loading…
x
Reference in New Issue
Block a user