1
1
Этот коммит содержится в:
Pavel Machek 1998-11-05 11:41:13 +00:00
родитель b058121a8b
Коммит 889f743aac
2 изменённых файлов: 9 добавлений и 2 удалений

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

@ -1,3 +1,8 @@
Thu Nov 5 12:10:10 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
* file.c (panel_operate): check for null pointer before passing it
to mc_setctl
Wed Nov 4 17:51:43 1998 Pavel Roskin <pavel_roskin@geocities.com>
* src/findme.h: added from popt-1.2 by RedHat

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

@ -2342,7 +2342,8 @@ panel_operate (void *source_panel, int operation, char *thedefault)
/* We do not want to trash cache every time file is
created/touched. However, this will make our cache contain
invalid data. */
mc_setctl (dest, MCCTL_WANT_STALE_DATA, NULL);
if (dest)
mc_setctl (dest, MCCTL_WANT_STALE_DATA, NULL);
ftpfs_hint_reread (0);
/* Now, let's do the job */
@ -2491,7 +2492,8 @@ panel_operate (void *source_panel, int operation, char *thedefault)
clean_up:
/* Clean up */
destroy_op_win ();
mc_setctl (dest, MCCTL_NO_STALE_DATA, NULL);
if (dest)
mc_setctl (dest, MCCTL_NO_STALE_DATA, NULL);
ftpfs_hint_reread (1);
free_linklist (&linklist);
free_linklist (&dest_dirs);