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
Этот коммит содержится в:
родитель
c3a925b835
Коммит
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>
|
1999-11-11 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
|
||||||
|
|
||||||
* main.c, cmd.c: add possibility to free VFS now
|
* 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
|
#if 0
|
||||||
ftpfs_flushdir ();
|
ftpfs_flushdir ();
|
||||||
#endif
|
#endif
|
||||||
#warning Should supply flushdir method
|
/* FIXME: Should supply flushdir method */
|
||||||
memset (&(panel->dir_stat), 0, sizeof (panel->dir_stat));
|
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);
|
n = fread (p, 1, VIEW_PAGE_SIZE, view->stdfile);
|
||||||
else
|
else
|
||||||
n = mc_read (view->file, p, VIEW_PAGE_SIZE);
|
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)
|
if (n != -1)
|
||||||
view->bytes_read += n;
|
view->bytes_read += n;
|
||||||
if (view->s.st_size < view->bytes_read){
|
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>
|
1999-12-15 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
|
||||||
|
|
||||||
* Merged changes by Andrew V. Samoilov <sav@bcs.zp.ua>. They are
|
* Merged changes by Andrew V. Samoilov <sav@bcs.zp.ua>. They are
|
||||||
|
@ -378,7 +378,9 @@ extern void mc_vfs_done( void );
|
|||||||
listed above and O_APPEND */
|
listed above and O_APPEND */
|
||||||
|
|
||||||
#if (O_ALL & O_APPEND)
|
#if (O_ALL & O_APPEND)
|
||||||
|
#ifdef __GNUC__
|
||||||
#warning Unexpected problem with flags, O_LINEAR disabled, contact pavel@ucw.cz
|
#warning Unexpected problem with flags, O_LINEAR disabled, contact pavel@ucw.cz
|
||||||
|
#endif
|
||||||
#define O_LINEAR 0
|
#define O_LINEAR 0
|
||||||
#define IS_LINEAR(a) 0
|
#define IS_LINEAR(a) 0
|
||||||
#define NO_LINEAR(a) a
|
#define NO_LINEAR(a) a
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user