Age | Commit message (Collapse) | Author |
|
* node.c (diskfs_cached_lookup): Use ino_t for argument.
* node.c (diskfs_alloc_node): Case to uintptr_t before ino_t.
(diskfs_cached_lookup): Likewise, and vice versa.
* dir.c (diskfs_get_directs, diskfs_lookup_hard): Likewise.
|
|
* tmpfs.c (diskfs_append_args): Use %Ld format for off_t value.
|
|
* io.c (S_io_identity): Use ino_t for FILENO.
|
|
* pfinet-ops.c (S_pfinet_siocgifconf): Use vm_size_t for AMOUNT.
|
|
* io-ops.c (S_io_identity): Use ino_t for FILENO.
|
|
* dir-readdir.c (trivfs_S_dir_readdir): Use vm_size_t for AMOUNT.
|
|
* io-identity.c (trivfs_S_io_identity): Use ino_t for FILENO.
|
|
* trivfs.h (trivfs_modify_stat):
Use io_statbuf_t instead of struct stat.
|
|
* store.h (struct store_enc): Use loff_t instead of off_t.
(store_enc_init, store_enc_return, store_return): Likewise.
|
|
* dir-readdir.c (netfs_S_dir_readdir): Use vm_size_t for AMT.
|
|
* io-identity.c (netfs_S_io_identity): Use ino_t for FILENO.
|
|
* netfs.h (struct node): Use io_statbuf_t instead of struct stat.
(netfs_attempt_statfs): Use fsys_statfsbuf_t instead of struct statfs.
(struct peropen): Use loff_t instead of off_t.
(netfs_attempt_read, netfs_attempt_write): Likewise.
(netfs_attempt_set_size, netfs_file_get_storage_info): Likewise.
|
|
* ftpconn.h (ftp_conn_add_stat_fun_t) [_FILE_OFFSET_BITS != 64]:
Use struct stat64 in place of struct stat.
|
|
* fshelp.h: Use io_statbuf_t in place of struct stat throughout.
(fshelp_get_identity): ino_t -> ino64_t
|
|
* io-identity.c (diskfs_S_io_identity): Use ino_t for FILENO.
|
|
* 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.
|