mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
vfs/vfs.h: use #warning only for gcc. Not all compilers
understand it src/main.c, src/view.c: #warning's replaced with FIXME's. They were not for users, but for developers
This commit is contained in:
parent
c3a925b835
commit
36facc201c
@ -1,3 +1,8 @@
|
||||
1999-12-21 Pavel Roskin <pavel_roskin@geocities.com>
|
||||
|
||||
* src/main.c, src/view.c: #warning's replaced with FIXME's.
|
||||
They were not for users, but for developers
|
||||
|
||||
1999-11-11 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
|
||||
|
||||
* main.c, cmd.c: add possibility to free VFS now
|
||||
|
@ -450,7 +450,7 @@ update_one_panel_widget (WPanel *panel, int force_update, char *current_file)
|
||||
#if 0
|
||||
ftpfs_flushdir ();
|
||||
#endif
|
||||
#warning Should supply flushdir method
|
||||
/* FIXME: Should supply flushdir method */
|
||||
memset (&(panel->dir_stat), 0, sizeof (panel->dir_stat));
|
||||
}
|
||||
|
||||
|
@ -239,7 +239,12 @@ get_byte (WView *view, unsigned int byte_index)
|
||||
n = fread (p, 1, VIEW_PAGE_SIZE, view->stdfile);
|
||||
else
|
||||
n = mc_read (view->file, p, VIEW_PAGE_SIZE);
|
||||
#warning FIXME: Errors are ignored at this point, also should report preliminary EOF
|
||||
|
||||
/*
|
||||
* FIXME: Errors are ignored at this point
|
||||
* Also should report preliminary EOF
|
||||
*/
|
||||
|
||||
if (n != -1)
|
||||
view->bytes_read += n;
|
||||
if (view->s.st_size < view->bytes_read){
|
||||
|
@ -1,3 +1,8 @@
|
||||
1999-12-21 Pavel Roskin <pavel_roskin@geocities.com>
|
||||
|
||||
* vfs/vfs.h: use #warning only for gcc. Not all compilers
|
||||
understand it
|
||||
|
||||
1999-12-15 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
|
||||
|
||||
* Merged changes by Andrew V. Samoilov <sav@bcs.zp.ua>. They are
|
||||
|
Loading…
Reference in New Issue
Block a user