1
1

Fixed incorrect printing of device numbers. Still have problems with high

word in the device number - should we print it?
Этот коммит содержится в:
Timur Bakeyev 1999-01-09 23:26:25 +00:00
родитель 749d16ba30
Коммит 5ddd38902d
2 изменённых файлов: 7 добавлений и 2 удалений

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

@ -1,3 +1,8 @@
Sun Jan 10 02:18:33 1999 Timur Bakeyev <mc@bat.ru>
* screen.c(string_file_size): Fixed (incorrect?) printing of device num-
bers. Major should never be greater 255.
1999-01-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
* dir.c (handle_dirent): Use the tree_store now.
@ -51,7 +56,7 @@
in x_create_listbox.
* main.c (main): Do not load the hotlist here anymore. We
auto-load it on the
auto-load it on the setup(?).
1998-12-30 Miguel de Icaza <miguel@nuclecu.unam.mx>

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

@ -296,7 +296,7 @@ string_file_size (file_entry *fe, int len)
#ifdef HAVE_ST_RDEV
if (S_ISBLK (fe->buf.st_mode) || S_ISCHR (fe->buf.st_mode))
sprintf (buffer, "%3d,%3d", (int) (fe->buf.st_rdev >> 8),
sprintf (buffer, "%3d,%3d", (int) ((fe->buf.st_rdev >> 8) & 0xff),
(int) (fe->buf.st_rdev & 0xff));
else
#endif