[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pupa ./ChangeLog ./NEWS fs/fat.c kern/main.c ke...
From: |
Yoshinori K. Okuji |
Subject: |
pupa ./ChangeLog ./NEWS fs/fat.c kern/main.c ke... |
Date: |
Thu, 02 Jan 2003 18:46:21 -0500 |
CVSROOT: /cvsroot/pupa
Module name: pupa
Changes by: Yoshinori K. Okuji <address@hidden> 03/01/02 18:46:21
Modified files:
. : ChangeLog NEWS
fs : fat.c
kern : main.c term.c
kern/i386/pc : startup.S
util/i386/pc : biosdisk.c pupa-setup.c
Log message:
2003-01-03 Yoshinori K. Okuji <address@hidden>
* util/i386/pc/pupa-setup.c (setup): Define the internal
function find_first_partition_start at the top level, because GCC
3.0.x cannot compile internal functions in deeper scopes
correctly.
(find_root_device): Use lstat instead of stat.
Don't follow symbolic links.
Fix the path-constructing code.
* util/i386/pc/biosdisk.c [__linux__] (BLKFLSBUF): New macro.
(pupa_util_biosdisk_open) [__linux__]: Get the size of a device
by a BLKGETSIZE ioctl first, because block devices don't fill
the member st_mode of the structure stat on Linux.
[__linux__] (linux_find_partition): Use a temporary buffer
REAL_DEV for the working space. Copy it to DEV before returning.
(open_device) [__linux__]: Call ioctl with BLKFLSBUF to make the
buffer cache consistent.
(get_os_disk) [__linux__]: Use the length 5 instead of 4 for
strncmp. The previous value was merely wrong.
(pupa_util_biosdisk_get_pupa_dev): Use stat instead of lstat.
* fs/fat.c (pupa_fat_read_data): Shift 4 instead of 12 when the
FAT size is 12. The previous value was merely wrong.
* kern/main.c (pupa_main): Don't split the starting message from
newlines.
* kern/term.c (pupa_putchar): Put CR after LF instead of before
LF, because BIOS goes crazy about character attributes in this
case.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/pupa/pupa/ChangeLog.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/pupa/pupa/NEWS.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/pupa/pupa/fs/fat.c.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/pupa/pupa/kern/main.c.diff?tr1=1.1.1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/pupa/pupa/kern/term.c.diff?tr1=1.1.1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/pupa/pupa/kern/i386/pc/startup.S.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/pupa/pupa/util/i386/pc/biosdisk.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/pupa/pupa/util/i386/pc/pupa-setup.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- pupa ./ChangeLog ./NEWS fs/fat.c kern/main.c ke...,
Yoshinori K. Okuji <=