mirror of https://github.com/GNOME/gimp.git
app/base/base.c (base_init) create temp and swap directories using
2005-10-17 Sven Neumann <sven@gimp.org> * app/base/base.c (base_init) * app/base/tile-swap.c (tile_swap_init): create temp and swap directories using g_mkdir_with_parents() (bug #308658).
This commit is contained in:
parent
31a28cf46f
commit
5a6bd93e5a
|
@ -1,3 +1,9 @@
|
|||
2005-10-17 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/base/base.c (base_init)
|
||||
* app/base/tile-swap.c (tile_swap_init): create temp and swap
|
||||
directories using g_mkdir_with_parents() (bug #308658).
|
||||
|
||||
2005-10-17 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/gimpdrawable-foreground-extract.[ch]
|
||||
|
|
|
@ -100,10 +100,10 @@ base_init (GimpBaseConfig *config,
|
|||
temp_dir = gimp_config_path_expand (config->temp_path, TRUE, NULL);
|
||||
|
||||
if (! g_file_test (temp_dir, G_FILE_TEST_EXISTS))
|
||||
g_mkdir (temp_dir,
|
||||
S_IRUSR | S_IXUSR | S_IWUSR |
|
||||
S_IRGRP | S_IXGRP |
|
||||
S_IROTH | S_IXOTH);
|
||||
g_mkdir_with_parents (temp_dir,
|
||||
S_IRUSR | S_IXUSR | S_IWUSR |
|
||||
S_IRGRP | S_IXGRP |
|
||||
S_IROTH | S_IXOTH);
|
||||
|
||||
g_free (temp_dir);
|
||||
|
||||
|
|
|
@ -231,10 +231,10 @@ tile_swap_init (const gchar *path)
|
|||
|
||||
/* create the swap directory if it doesn't exist */
|
||||
if (! g_file_test (swapdir, G_FILE_TEST_EXISTS))
|
||||
g_mkdir (swapdir,
|
||||
S_IRUSR | S_IXUSR | S_IWUSR |
|
||||
S_IRGRP | S_IXGRP |
|
||||
S_IROTH | S_IXOTH);
|
||||
g_mkdir_with_parents (swapdir,
|
||||
S_IRUSR | S_IXUSR | S_IWUSR |
|
||||
S_IRGRP | S_IXGRP |
|
||||
S_IROTH | S_IXOTH);
|
||||
|
||||
g_free (swapdir);
|
||||
|
||||
|
|
Loading…
Reference in New Issue