Репозитории ALT
S: | 2.1.5-alt9 |
5.1: | 2.1.5-alt3 |
4.1: | 2.1.5-alt3 |
4.0: | 2.1.5-alt1 |
3.0: | 2.0.1-alt1 |
Другие репозитории
Upstream: | 2.0.4 |
Группа :: Графика
Пакет: gqview
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: gqview-2.1.5-alt-histfile_perms.patch
Скачать
Скачать
diff -Naur gqview.orig/src/ui_bookmark.c gqview/src/ui_bookmark.c
--- gqview.orig/src/ui_bookmark.c 2010-06-01 13:51:24.000000000 +0400
+++ gqview/src/ui_bookmark.c 2010-06-03 14:27:05.000000000 +0400
@@ -138,6 +138,8 @@
GList *list;
gchar *pathl;
+ mode_t mask = umask(0077);
+
pathl = path_from_utf8(path);
f = fopen(pathl, "w");
g_free(pathl);
@@ -182,6 +184,8 @@
fclose(f);
+ umask(mask);
+
return TRUE;
}