1
1

1999-01-20 Federico Mena Quintero <federico@nuclecu.unam.mx>

* treestore.c (tree_store_start_check): Use mc_stat(), not stat().
	(tree_store_rescan): Use mc_lstat(), not lstat().
Этот коммит содержится в:
Miguel de Icaza 1999-01-20 21:09:59 +00:00
родитель 6943759fab
Коммит 2c1dd1ee3f
3 изменённых файлов: 12 добавлений и 7 удалений

Просмотреть файл

@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 1999-01-20 05:41-0500\n"
"POT-Creation-Date: 1999-01-20 15:07-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -2681,7 +2681,7 @@ msgstr ""
msgid "Enter extra arguments:"
msgstr ""
#: gnome/gdesktop.c:355 gnome/gdesktop.c:1412
#: gnome/gdesktop.c:355 gnome/gdesktop.c:1414
msgid "Warning"
msgstr ""
@ -2690,16 +2690,16 @@ msgstr ""
msgid "Could not open %s; will not have initial desktop icons"
msgstr ""
#: gnome/gdesktop.c:1378
#: gnome/gdesktop.c:1380
msgid "Trashcan"
msgstr ""
#. Create the link to the user's home directory so that he will have an icon
#: gnome/gdesktop.c:1408
#: gnome/gdesktop.c:1410
msgid "Home directory"
msgstr ""
#: gnome/gdesktop.c:1413
#: gnome/gdesktop.c:1415
#, c-format
msgid "Could not symlink %s to %s; will not have initial desktop icons."
msgstr ""

Просмотреть файл

@ -1,3 +1,8 @@
1999-01-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
* treestore.c (tree_store_start_check): Use mc_stat(), not stat().
(tree_store_rescan): Use mc_lstat(), not lstat().
Tue Jan 19 05:28:04 1999 Timur Bakeyev <mc@bat.ru>
* ext.c, filenot.c, main.c, screen.c, treestore.c: add missed #include's

Просмотреть файл

@ -597,7 +597,7 @@ tree_store_start_check (char *path)
if (!current){
struct stat s;
if (stat (path, &s) == -1)
if (mc_stat (path, &s) == -1)
return NULL;
if (!S_ISDIR (s.st_mode))
@ -687,7 +687,7 @@ tree_store_rescan (char *dir)
continue;
full_name = concat_dir_and_file (dir, dp->d_name);
if (lstat (full_name, &buf) != -1){
if (mc_lstat (full_name, &buf) != -1){
if (S_ISDIR (buf.st_mode))
tree_store_mark_checked (dp->d_name);
}