Age | Commit message (Collapse) | Author |
|
* dir-readdir.c (diskfs_S_dir_readdir): Use vm_size_t for AMT.
|
|
* diskfs.h (struct node): Use io_statbuf_t instead of struct stat.
(struct node): Use ino64_t for cache_id.
(struct node): Use loff_t instead of off_t.
(diskfs_grow, diskfs_truncate, diskfs_node_rdwr): Likewise.
(diskfs_notice_filechange): Likewise.
(diskfs_cached_lookup): Use ino64_t for CACHE_ID argument.
|
|
* ialloc.c (diskfs_free_node): Use %Ld format for ino_t/off_t values.
* pager.c (diskfs_grow, pager_unlock_page): Likewise.
* inode.c (read_node): Likewise.
* dir.c (diskfs_get_directs): Likewise.
* dir.c (diskfs_direnter_hard): Use size_t for OLDSIZE.
Fail with EOVERFLOW when it would exceed that width.
|
|
* ialloc.c (diskfs_free_node): Use %Ld format for ino_t/off_t values.
* pager.c (diskfs_grow, pager_unlock_page): Likewise.
* inode.c (read_node): Likewise.
* dir.c (diskfs_get_directs): Likewise.
|
|
* inode.c (diskfs_cached_lookup): Use ino_t for argument.
* ialloc.c (diskfs_free_node): Use %Ld format for ino_t/off_t values.
* pager.c (diskfs_grow, pager_unlock_page): Likewise.
* inode.c (read_node): Likewise.
* dir.c (diskfs_get_directs): Likewise.
|
|
* boot.c (S_io_identity): Use ino_t for FILENO.
|
|
* version.h: New file.
* Makefile (INSTHDRS): Add it.
|
|
* hurd_types.defs (loff_t, ino64_t): New types, 64 bits.
(off_t): Type removed.
(off_array_t): Use loff_t instead of off_t as base type.
* hurd_types.h (off_array_t): Likewise.
[_FILE_OFFSET_BITS != 64] (io_statbuf_t, fsys_statfsbuf_t): Define
using struct stat64/statfs64 instead of struct stat/statfs.
* io.defs (io_identity): Use ino64_t for FILENO.
* fs.defs (file_set_size): off_t -> loff_t
* fs_notify.defs (file_changed): Likewise.
* io.defs (io_write, io_read, io_seek): Likewise.
* io_request.defs: Likewise for those RPCs' *_request variants.
* io_reply.defs: Likewise for those RPCs' *_reply variants.
|
|
* hurd_types.defs (loff_t, ino64_t): New types, 64 bits.
(off_t): Type removed.
(off_array_t): Use loff_t instead of off_t as base type.
* hurd_types.h (off_array_t): Likewise.
[_FILE_OFFSET_BITS != 64] (io_statbuf_t, fsys_statfsbuf_t): Define
using struct stat64/statfs64 instead of struct stat/statfs.
* io.defs (io_identity): Use ino64_t for FILENO.
* fs.defs (file_set_size): off_t -> loff_t
* fs_notify.defs (file_changed): Likewise.
* io.defs (io_write, io_read, io_seek): Likewise.
* io_request.defs: Likewise for those RPCs' *_request variants.
* io_reply.defs: Likewise for those RPCs' *_reply variants.
* hurd_types.defs (size_t): Remove type.
* fs.defs (dir_readdir): Use vm_size_t for AMOUNT.
* socket.defs (socket_send, socket_recv): Likewise.
* pfinet.defs (pfinet_siocgifconf): Likewise.
* io.defs (io_write, io_read, io_readable): Likewise.
* io_request.defs: Likewise for those RPCs' *_request variants.
* io_reply.defs: Likewise for those RPCs' *_reply variants.
|
|
* hurd_types.defs (size_t): Remove type.
* fs.defs (dir_readdir): Use vm_size_t for AMOUNT.
* socket.defs (socket_send, socket_recv): Likewise.
* pfinet.defs (pfinet_siocgifconf): Likewise.
* io.defs (io_write, io_read, io_readable): Likewise.
* io_request.defs: Likewise for those RPCs' *_request variants.
* io_reply.defs: Likewise for those RPCs' *_reply variants.
|
|
|
|
* fakeroot.c (new_node): Use ino_t for io_identity argument.
(netfs_S_dir_lookup): Likewise.
|
|
|
|
* Makefile (installhdrs): List just ps.h, not common.h as well.
|
|
* display.c (struct cursor): Change type of all members from int
to u_int32_t.
(screen_init): Initialize SCREEN->lines with 25 instead 200 for
now.
(screen_fill): Bring SCREEN->current_line into the calculation of
MATRIXP.
(screen_scroll_up): Likewise.
(screen_scroll_down): Likewise.
(screen_scroll_left): Likewise.
(screen_scroll_right): Likewise.
(display_output_one): Beautify code a bit.
(display_read): Add metadata to beginning of file.
* console.c (new_node): Increase size of display node to include
metadata.
|
|
|
|
* hurd_types.defs (dev_t, ssize_t): Remove unused types.
(uid_t, gid_t, mode_t, pid_t, off_t, size_t): Use int32/unsigned32.
(retry_type, wait_status_t): Likewise.
(file_changed_type_t, dir_changed_type_t): Likewise.
|
|
|
|
* encode.c (store_std_leaf_encode): Do a sizeof comparison to get
`too_big' optimized out when store_enc starts using 64 bit offsets.
|
|
|
|
* firmlink.c (trivfs_S_io_readable): Use intptr_t, not off_t.
(trivfs_S_io_read): Likewise.
|
|
|
|
* procstat.c (fetch_procinfo): Use PI_FETCH_TASKEVENTS.
(add_preconditions): PSTAT_TASK_EVENTS no longer needs PSTAT_TASK.
(PSTAT_PROCINFO_TASK): Add PSTAT_TASK_EVENTS to the mask.
(PSTAT_PROCINFO_MERGE): Here too.
(proc_stat_set_flags): Don't use task_info for PSTAT_TASK_EVENTS.
|
|
* info.c (S_proc_getprocinfo): If PI_FETCH_TASKEVENTS is set in *FLAGS,
fill in PI->taskevents using task_info with TASK_EVENTS_INFO.
|
|
* hurd_types.h (struct procinfo): New member `taskevents'.
(PI_FETCH_TASKEVENTS): New macro.
|
|
|
|
* login-.bash_login: Prepend ~/ to file names.
|
|
* pager.c (diskfs_grow): Correctly recalculate NEW_SIZE.
|
|
* input.h: New file.
* input.c: Likewise.
* console.h: Likewise.
* console.c: Likewise.
* display.h: New development version.
* display.c: Likewise.
* Makefile (SRCS): Replace with files for new console server.
(LCLHDRS): Likewise.
(HURDLIBS): Likewise.
(OBJS): Likewise.
|
|
* main.c: Include "vcons.h" instead "console.h".
* focus.c: Likewise.
* Makefile (LCLHDRS): Rename console.h to vcons.h.
(SRCS): Rename console.c to vcons.c.
|
|
* input.h: Renamed to ...
* input-drv.h: ... this.
* focus.c: Include "input-drv.h" instead "input.h".
* console.c: Likewise.
* Makefile (LCLHDRS): Rename input.h to input-drv.h.
|
|
* spec.c (sprint_frac_value): Added case for values between 1000 and
1023. Make VALUE, FRAC size_t's and return a value of type size_t.
(ps_emit_nice_int): Removed function. Replaced by ...
(ps_emit_nice_size_t): ... this. New Function.
(ps_cmp_size_ts): New function.
(ps_vsize_getter): Return a size_t instead of an int.
(ps_rsize_getter): Likewise.
(ps_get_rmem_frac): MEM_SIZE is now a size_t.
(specs): Use ps_emit_nice_size_t instead of ps_emit_nice_int and use
ps_cmp_size_ts instead of ps_cmp_ints for RSize and VSize.
|
|
* display.h: New file.
* display.c: Likewise.
|
|
* display.h: Renamed to ...
* display-drv.h: ... this.
* Makefile (LCLHDRS): Rename display.h to display-drv.h.
* console.c: Include "display-drv.h" instead "display.h".
* vga-display.c: Likewise.
|
|
* console.c (vcons_release): Fix last change.
|
|
|
|
* bootstrap.c (main): int -> integer_t for boot_script values.
|
|
|
|
|
|
* node.c (diskfs_S_file_get_storage_info): Return a null port when the
peropen is not open for read/write. Set STORE_READONLY if O_WRITE set.
|
|
* dir.c (dirscanblock): Use %z format.
(diskfs_get_directs): Likewise.
* ext2fs.c (main): Likewise.
* hyper.c (get_hypermetadata): Likewise.
* pager.c (pager_unlock_page): Likewise.
|
|
* dir.c (dirscanblock): Use %z format.
(diskfs_get_directs): Likewise.
* ext2fs.c (main): Likewise.
* hyper.c (get_hypermetadata): Likewise.
* pager.c (pager_unlock_page): Likewise.
2002-05-28 Roland McGrath <roland@frob.com>
* ext2fs.c (diskfs_append_args): unsigned -> size_t
* dir.c (count_dirents): int -> size_t
(diskfs_get_directs): u_int -> size_t
|
|
* console.c (vcons_lookup): Correct nesting.
(vcons_release): Negate if condition.
Delete VCONS_LIST in CONS with last virtual console.
|
|
* mux.c (netfs_get_dirents): Initialize COUNT with 2, to take into
account the DOT and DOTDOT directories when skipping over the
first FIRST_ENTRY entries.
|
|
|
|
* cthreads.h: Do not define WAIT_DEBUG to affect inlines.
* options.h: Not here either.
|
|
|
|
|
|
* boot.c: Don't include "exec_S.h".
* boot.c (boot_script_exec_cmd): Fix typos:
{I386,ALPHA}_THREAD_STATE -> {i386,ALPHA}_THREAD_STATE_COUNT
|
|
|