Age | Commit message (Collapse) | Author |
|
* pager.c (find_cluster): Round to cluster size rather than adding
cluster size.
|
|
* vga.c: New global variable vga_display_max_glyphs.
(parse_startup_args): New macro PARSE_FONT_OPT_NOARGS.
(parse_startup_args): Parse --max-colors and --max-glyphs.
(vga_display_init): Set disp->df_size to match the color setting.
|
|
* dir-renamed.c (diskfs_rename_dir): Check permissions to remove
FROMNAME before any modification could take place. Check result
of removing the from node.
|
|
* fat.c (fat_read_sblock): Don't test if the root dir size is a
multiple of sectors_per_cluster. Reported by Barry deFreese
(bddebian@cox.net).
* fatfs.h (LOG2_BLOCKS_PER_CLUSTER): New macro.
(FAT_FIRST_CLUSTER_BLOCK): Likewise.
(fat_first_cluster_byte): Macro removed.
* inode.c (read_node): Correctly setup diskfs_root_node for FAT32
filesystems.
* pager.c (fat_getcluster): Check for reading beyond allocsize
correctly for file systems with a clustersize > vm_page_size.
(file_pager_read_small_page): Don't use byte offsets when
calculating the block.
(file_pager_read_huge_page): Likewise.
(pending_clusters_write): Likewise.
(file_pager_write_small_page): Likewise.
(STAT_INC): Cast to void to suppress warning.
|
|
* display.c (display_create): Added arguments width, height and
lines, variables with the same name were removed.
* display.h (display_creat): Add missing arguments to prototype.
* console.c (DEFAULT_WIDTH): New macro.
(DEFAULT_HEIGHT): Likewise.
(DEFAULT_LINES): Likewise.
(STRX): Likewise.
(STR): Likewise.
(struct cons): New members lines, width and height.
(vcons_lookup): Add missing arguments to display_create.
(options): Add options width, height and lines.
(parse_opt): Parse width, height and lines.
(netfs_append_args): Append arguments width, height and lines.
(netfs_append_args): Fix asprintf error checking.
(main): Initialize cons with default width, height and lines.
|
|
* dir.c (diskfs_get_directs): Consider ENTRY when adding
"." and ".." for the rootnode.
* inode.c (read_node): Use ifind instead of diskfs_cached_lookup
and do not use diskfs_nput anymore.
* main.c (diskfs_S_fsys_getfile): New function.
|
|
* strfcns.c: #include <stdarg.h> instead of <varargs.h>.
(strbuild): Use <stdarg.h>-style for handling variable argument
list.
* load.c: Don't #include <varargs.h>.
|
|
|
|
* linux-src/include/asm-i386/checksum.h (ip_fast_csum): Use
string literals concatenation instead of multi-line string
literal.
(csum_fold): Likewise.
(csum_tcpudp_nofold): Likewise.
(csum_ipv6_magic): Likewise.
* linux-src/include/net/sock.h (SOCK_DEBUG): Don't use ## to
concatenate string literals.
|
|
* pc-kbd.c (sc_set1_to_set2): Map the set2 scancodes for F11 and
F12 properly on the set1 scancodes for F11 and F12.
|
|
|
|
Make /hurd/magic support translator delegation via /servers/magic.
* magic.c (struct magic): New structure.
(magic, directory, dirbuf, dirbufsize): Variables removed,
not members of struct magic.
(trivfs_modify_stat, magic_getroot, trivfs_S_dir_readdir): Use a
struct magic hanging off CNTL->hook rather than global variables.
(trivfs_append_args): Likewise.
(trivfs_S_dir_lookup): Likewise. Let magic string be null to indicate
prepending nothing in --directory mode.
(parse_opt): Use struct magic in STATE->input instead of globals.
If no argument, turn on --directory and leave M->magic null.
(argp): New static variable, instead of auto in main.
(main): Set both trivfs hook functions unconditionally.
Use a struct magic, pass it to argp_parse and store it in FSYS->hook.
Move directory buffer setup to ...
(parse_opt): ... here, do it on ARGP_KEY_SUCCESS.
(magic_open): Track users with a count.
(magic_protid_destroy): New function to track users.
(main): Set trivfs_protid_destroy_hook to that.
(trivfs_goaway): Call ports_destroy_right if FSYS has no users.
(all_fsys): New variable, list of all filesystems.
(trivfs_clean_cntl): New function, exit if no filesystems left.
(main): Put FSYS on that list. On timeout with no RPCs, try
trivfs_goaway on each filesystem on the list.
(trivfs_S_fsys_forward): New function.
(delegate): New variable.
(options): New option -U/--use-server to set it.
|
|
|
|
* configure.ac: New file.
* configure: New file.
* install-headers.in: New file.
|
|
|
|
|
|
* configure: New generated file, now in the repository.
|
|
Update for Autoconf 2.54.
* configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD.
(AC_PREREQ): Require Autoconf 2.54.
(AC_INIT): Update to no arguments syntax. Call AC_CONFIG_SRCDIR.
(AC_OUTPUT): Update to no arguments syntax. Call AC_CONFIG_FILES.
(AC_CHECK_TOOL, hurd_PROG_CC): Replace with ...
(AC_PROG_CC): ... this.
* aclocal.m4: Replace AC_FD_CC with AS_MESSAGE_LOG_FD.
(hurd_PROG_CC, hurd_PROG_CC_WORKS): Removed.
|
|
|
|
* configure.ac: New file.
* install-headers.in: New file.
|
|
|
|
* Makefile (installhdrs): Add generated headers only ifndef no_deps.
|
|
|
|
* boot_script.c (boot_script_parse_line): Copy the file name into
malloc'd storage.
(add_arg): New arg TEXTLEN. Store malloc'd copy of TEXT.
(boot_script_parse_line): Update callers.
|
|
* console.c (main): Don't use err without setting it.
|
|
|
|
* pump.c: File removed.
|
|
* Makefile (prog-subdirs): Add fatfs.
|
|
|
|
2002-12-03 Marcus Brinkmann <marcus@gnu.org>
* hurd.texi (Store I/O): Add store_set_size.
libstore/
2002-10-01 Ludovic Courtès <ludovic.courtes@utbm.fr>
* store.h: New type store_set_size_meth_t: New type. New
prototype store_set_size.
(struct store_class): Added a set_size () method.
* rdwr.c (store_set_size): New function.
* file.c (file_store_set_size): New function.
(store_file_class): Add file_store_set_size.
* concat.c (concat_set_size): New function.
(store_concat_class): concat_set_size.
* copy.c (copy_set_size): New function.
(store_copy_class): copy_set_size.
* device.c (device_set_size): New function.
(store_device_class): device_set_size.
* memobj.c (memobj_set_size): New function.
(store_memobj_class): memobj_set_size.
* mvol.c (mvol_set_size): New function.
(store_mvol_class): mvol_set_size.
* nbd.c (nbd_set_size): New function.
(store_nbd_class): nbd_set_size.
* remap.c (remap_set_size): New function.
(store_remap_class): remap_set_size.
* stripe.c (stripe_set_size): New function.
(store_stripe_class): stripe_set_size.
* unknown.c (unknown_set_size): New function.
(store_unknown_class): unknown_set_size.
* zero.c (zero_set_size): New function.
(store_zero_class): zero_set_size.
|
|
* pc-kbd.c (IS_FUNC_KEY): Fix last change.
|
|
* pc-kbd.c (IS_FUNC_KEY): New macro.
(input_loop): Replaced code for set1 for console switching by set2
code. Also accept F11 and F12.
|
|
|
|
* main.c (parse_opt : case ARGP_KEY_SUCCESS): After initializing a new
bottomhalf, call its assert_dtr hook if TTY_OPEN is set in termflags.
|
|
|
|
* main.c (parse_opt: case ARGP_KEY_SUCCESS): Set tty_arg along with
tty_type from new argument value.
Reported by David Walter <dwalter@syr.edu>.
|
|
* control (Uploader): Add Neal.
* shlibs: Add pthreads.
* rules: Add debian/tmp/lib/hurd/console/* to search path for
shared objects.
* changelog: Add Neal's last release and my upcoming.
|
|
* console.c (main): Pass ERR to error invocation.
* generic-speaker.c (generic_spaker_beep): Use currently active
beep's next pointer, instead index 0.
* pc-kbd.c: New global variables led_state and gnumach_v1_compat.
(enum scancode): Change to set 2 encoding.
(enum scancode_x1): Likewise.
(enum scancode_x2): New type.
(sc_to_kc): Change to set 2 encoding.
(sc_x1_to_kc): Likewise.
(sc_set1_to_set2): New variable.
(sc_set1_to_set2_x1): Likewise.
(gnumach_v1_input_next): New function.
(update_leds): Likewise.
(input_next): Likewise.
(input_loop): Use input_next or gnumach_v1_input_next to read next
key code.
(pc_kbd_start): Add support for current GNU Mach @>=kbd interface.
Call update_leds and toggle led_state.
(pc_kbd_fini): Add support for current GNU Mach.
(pc_kbd_set_scroll_lock_status): Toggle led_state and call
update_leds.
* vga-support.c (vga_init): Add support for current GNU Mach's I/O
permission bitmap handling and its mem device.
|
|
* kids.c: Do not include <malloc.h>.
Include <stdlib.h>.
(store_set_children): Use memcpy, not bcopy.
Calculate SIZE correctly: STORE->children is a struct store **,
not a struct store_run *.
Reported by Moritz Schulte <moritz@duesseldorf.ccc.de>.
|
|
|
|
* shared.c (iohelp_fetch_shared_data, iohelp_put_shared_data): Put
__attribute__((weak)) directly in the defns.
|
|
|
|
* dir.c (ftpfs_dir_lookup): Initialize NES.entry.
|
|
|
|
* unix.c (ftp_conn_unix_start_get_stats): Pass dirname a copy of NAME
instead of the original pointer.
|
|
* Makefile (lib-subdirs): Add libpthread.
|
|
|
|
* hurd.ti (cub1): Change from \E[D to ^H.
* display.c (handle_esc_bracket): Revert last change.
|
|
* display.c (handle_esc_bracket): Implement <bw> for <cub1>.
|
|
|