Age | Commit message (Collapse) | Author |
|
* linux-src/net/ipv4/udp.c (udp_v4_get_port): Put empty statement
after label to silence compiler warning.
* linux-src/net/ipv4/tcp_ipv4.c
(tcp_v4_get_port, tcp_v4_connect, tcp_v4_rcv): Likewise.
* linux-src/net/ipv4/route.c (ip_rt_redirect): Likewise.
* linux-src/net/ipv4/arp.c (arp_constructor): Likewise.
|
|
|
|
* Makefile (prog-subdirs): Remove serverboot.
|
|
|
|
* store.h (__start_store_std_classes, __stop_store_std_classes):
Declare using __attribute__ ((weak)).
* typed.c (store_find_class): Removed `#pragma weak' for
`__stop_store_std_classes' and `__start_store_std_classes'.
|
|
|
|
* misc.h (OPENONLY_STATE_MODES): Remove O_NONBLOCK.
|
|
* ihash.h (HURD_IHASH_ITERATE): Don't use increment operator in
assignment, but just add one. Reported by Ognyan Kulev.
|
|
* ihash.c (hurd_ihash_remove): Don't look for the index when the
hashtable is empty.
* ihash.h (HURD_IHASH_ITERATE): Doc fix.
|
|
* console.h (CONS_MOUSE_OFFSET_BASE): Redefined to 0x20.
|
|
* console.c (main): Make sure the arguments are parsed in order.
* driver.c (driver_add): Set up argc and argv so they can be used
by argp.
* generic-speaker.c: Include <string.h> and <argp.h>.
(struct melody): New member `name'. Every melody was given a
name.
(BELL_CLASSIC, BELL_LINUX, BELL_ALARM, BELL_CMAJOR): New macros.
(doc, options, argp): New variables.
(parse_opt): New function.
(generic_speaker_init): Parse the arguments using argp.
* vga.c (doc, options, argp): New variables.
(parse_opt): New function.
(parse_startup_args): Function removed.
(vga_display_init): Use argp_parse instead of parse_startup_args.
|
|
* login.c (main): Remove extern declaration and invocation of
_argp_unlock_xxx.
|
|
* README.CVS: New file.
|
|
* storeread.c (main): Call argp_usage if store is not set at
ARGP_KEY_END.
|
|
* bdf.c (bdf_read): Change the types of has_size, has_fbbx,
has_metricset, glyph_has_encoding, glyph_has_bbx, glyph_bwidth,
glyph_bheight and glyph_blines to unsigned int.
* bell.h (struct bell_ops): Change the type of the argument KEY of
the interface `deprecated' to unsigned int. All callers changed.
* display.h (struct display_ops): Changed the type of the
arguments width and height to unsigned int. All callers changed.
* driver.c (driver_fini): Change the type of `i' to unsigned int
to silence a gcc warning.
(driver_start): Likewise.
(driver_remove): Likewise.
(ADD_REMOVE_COMPONENT): Likewise.
(driver_add): Likewise.
* generic-speaker.c (beep_on): Cup pitch at 20000, not 327677.
Also silences a gcc warning.
* ncursesw.c: Changed all calls to the function `ncurses_refresh'
to `refresh_screen'.
(current_width): Changed type to unsigned int.
(current_height): Likewise.
(padx): Likewise.
(pady): Likewise.
(refresh_screen): Cast LINES and COLS to unsigned int.
(input_loop): Change `i' from int to unsigned int to silence a gcc
warning.
* vga.c (current_width): Changed type to unsigned int to silence a
gcc warning.
(current_heigh): Likewise.
(struct vga_display): Changed the type of the members `width' and
`height' to unsigned int to silence a gcc warning.
(vga_display_change_font): Disabled the unused code for now.
|
|
* ihash.h (HURD_IHASH_NO_LOCP): Change to INTPTR_MIN.
(struct hurd_ihash): Change type of locp_offset from off_t to
intptr_t.
(hurd_ihash_init): Likewise in prototype.
(hurd_ihash_create): Likewise in prototype.
* ihash.c (hurd_ihash_init): Likewise in definition.
(hurd_ihash_create): Likewise in definition.
|
|
* term.h (QUEUE_LOWAT): Increase to 200.
(QUEUE_HIWAT): Increase to 8100.
|
|
2003-08-17 Marcus Brinkmann <marcus@gnu.org>
* auth.c: Include <stddef.h>.
(pending_users, pending_server): Change type to struct hurd_ihash,
initialize with HURD_IHASH_INITIALIZER.
(struct pending): Change type of member LOCP to hurd_ihash_locp_t.
(S_auth_user_authenticate): Use hurd_ihash_* functions instead
ihash_*.
(S_auth_server_authenticate): Likewise.
(main): Do not allocate the hash tables.
console-client/
2003-08-17 Marcus Brinkmann <marcus@gnu.org>
* vga-dynafont.c: Include <stddef.h>.
(struct mapped_character): Change type of LOCP to
hurd_ihash_locp_t.
(struct dynafont): Change type of CHARMAP to struct hurd_ihash.
(dynafont_new): Use hurd_ihash_init instead of ihash_create.
Remove variable ERR. Call hurd_ihash_add instead of ihash_add.
(dynafont_free): Call hurd_ihash_destroy, no ihash_free.
(dynafont_lookup_internal): Use hurd_ihash_find, not ihash_find.
(dynafont_lookup_internal): Call hurd_ihash_locp_remove instead
ihash_locp_remove, and hurd_ihash_add instead ihash_add.
(dynafont_change_font): Likewise. Clean out LOCP if character is
unmapped.
ftpfs/
2003-08-17 Marcus Brinkmann <marcus@gnu.org>
* ftpfs.h: Include <hurd/ihash.h>.
(struct ftpfs): Change type of INODE_MAPPINGS to struct
hurd_ihash.
(struct ftpfs_dir_entry): Change type of INODE_LOCP to
hurd_ihash_locp_t.
* node.c (ftpfs_create_node): Call hurd_ihash_add, not ihash_add.
(netfs_node_norefs): Call hurd_ihash_locp_remove, not
ihash_locp_remove.
* fs.c: Include <stddef.h>.
(ftpfs_create): Call hurd_ihash_init, not hurd_ihash_create.
Call hurd_ihash_destroy on error.
libihash/
2003-08-17 Marcus Brinkmann <marcus@gnu.org>
* ihash.c: Rewritten.
* ihash.h: Rewritten.
* Makefile (SRCS): Remove sizes.c.
(LCLHDRS): Remove priv.h.
* primes.c, sizes.c, priv.h: Files removed.
2003-08-17 Marcus Brinkmann <marcus@gnu.org>
* ports.h (struct port_bucket): Change type of HTABLE to struct
hurd_ihash.
(struct port_info): Change type of HENTRY to hurd_ihash_locp_t.
* lookup-port.c (ports_lookup_port): Use hurd_ihash_find instead
ihash_find.
* bucket-iterate.c (_ports_bucket_class_iterate): Use
HURD_IHASH_ITERATE instead ihash_iterate.
* inhibit-all-rpcs.c (ports_inhibit_all_rpcs): Likewise.
* inhibit-bucket-rpcs.c (ports_inhibit_bucket_rpcs): Likewise.
* create-internal.c (_ports_create_port_internal): Use
hurd_ihash_add instead ihash_add.
* import-port.c (ports_import_port): Likewise.
* reallocate-from-external.c (ports_reallocate_from_external):
Likewise.
* reallocate-port.c (ports_reallocate_port): Likewise.
* transfer-right.c (ports_transfer_right): Likewise.
* create-bucket.c: Include <stddef.h>.
(ports_create_bucket): Use hurd_ihash_init instead hurd_ihash_create.
* class-iterate.c: Do not include <hurd/ihash.h>.
* claim-right.c (ports_claim_right): Call hurd_ihash_locp_remove
instead ihash_locp_remove.
* complete-deallocate.c (_ports_complete_deallocate): Likewise.
* destroy-right.c (ports_destroy_right): Likewise.
* reallocate-from-external.c (ports_reallocate_from_external):
Likewise.
* reallocate-port.c (ports_reallocate_port): Likewise.
* transfer-right.c (ports_transfer_right): Likewise.
libps/
2003-08-17 Marcus Brinkmann <marcus@gnu.org>
* ps.h (struct ps_context): Change type of members procs, ttys,
ttys_by_cttyid and users to struct hurd_ihash.
* context.c (ps_context_create): Remove variables err_procs,
err_ttys, err_ttys_by_cttyid and err_users. Use hurd_ihash_init
instead of ihash_create. Call hurd_ihash_set_cleanup and the
hurd_ihash_cleanup_t type instead of ihash_set_cleanup.
(ps_context_free): Call hurd_ihash_destroy instead of ihash_free.
(lookup): Call hurd_ihash_find instead ihash_find, hurd_ihash_add
instead ihash_add.
(ps_context_find_proc_stat): Take pointer of hash object.
(ps_context_find_tty): Likewise.
(ps_context_find_tty_by_cttyid): Likewise.
(ps_context_find_user): Likewise.
libpthread/
2003-08-17 Marcus Brinkmann <marcus@gnu.org>
* sysdeps/hurd/pt-key.h (PTHREAD_KEY_MEMBERS): Change type of
THREAD_SPECIFICS to hurd_ihash_t.
* sysdeps/hurd/pt-setspecific.c (pthread_setspecific): Call
hurd_ihash_create instead ihash_create, and hurd_ihash_add instead
ihash_add.
* sysdeps/hurd/pt-getspecific.c (pthread_getspecific): Call
hurd_ihash_find instead of ihash_find.
* sysdeps/hurd/pt-destroy-specific.c (__pthread_destroy_specific):
Call hurd_ihash_find instead of ihash_find, hurd_ihash_remove
instead of ihash_remove, and hurd_ihash_free instead of
ihash_free.
proc/
2003-08-17 Marcus Brinkmann <marcus@gnu.org>
* proc.h: Include <hurd/ihash.h>.
(struct proc): Change type of members p_pidhashloc and
p_taskhashloc to hurd_ihash_locp_t.
(struct pgrp): Likewise for pg_hashloc.
(struct session): Likewise for s_hashloc.
* hash.c: Change type of pghash, pidhash, taskhash and sidhash to
struct hurd_ihash and initialize them with HURD_IHASH_INITIALIZER.
Include stddef.h.
(pid_find): Call hurd_ihash_find instead ihash_find.
(pid_find_allow_zombie): Likewise.
(task_find): Likewise.
(task_find_nocreate): Likewise.
(pgrp_find): Likewise.
(session_find): Likewise.
(add_proc_to_hash): Call hurd_ihash_add instead ihash_add.
(add_pgrp_to_hash): Likewise.
(add_session_to_hash): Likewise.
(remove_pgrp_from_hash): Call hurd_ihash_locp_remove instead
ihash_locp_remove, and provide hash table pointer.
(remove_proc_from_hash): Likewise.
(remove_session_from_hash): Likewise.
(prociterate): Use HURD_IHASH_ITERATE instead ihash_iterate.
trans/
2003-08-17 Marcus Brinkmann <marcus@gnu.org>
* fakeroot.c: Include <stddef.h>.
(struct netnode): Change type of member idport_locp
to hurd_ihash_locp_t.
(idport_ihash): Change type to struct hurd_ihash and initialize
with HURD_IHASH_INITIALIZER.
(new_node): Call hurd_ihash_add instead of ihash_add.
(netfs_node_norefs): Call hrd_ihash_locp_remove instead
ihash_locp_remove.
(netfs_S_dir_lookup): Call hurd_ihash_find instead ihash_find.
utils/
2003-08-17 Marcus Brinkmann <marcus@gnu.org>
* rpctrace.c: Include <stddef.h>.
(struct traced_info): Change type of LOCP to hurd_ihash_locp_t.
(msgid_ihash): Change type to struct hurd_ihash, and initialize
with HURD_IHASH_INITIALIZER, don't set cleanup here.
(traced_names): Likewise.
(main): Call hurd_ihash_set_cleanup for msgid_ihash. Don't create
traced_names.
(parse_msgid_list): Call hurd_ihash_add instead ihash_add.
(new_send_wrapper): Likewise.
(msgid_info): Likewise. Call hurd_ihash_find instead ihash_find.
(rewrite_right): Likewise.
(traced_dropweak): Call hurd_ihash_locp_remove instead
ihash_locp_remove.
|
|
|
|
* linux-src/arch/i386/lib/checksum.S: Fix comment syntax.
|
|
* runtime-argp.c (netfs_runtime_argp): Include <argp.h>.
|
|
* opts-runtime.c (diskfs_runtime_argp): Include <argp.h>.
|
|
|
|
|
|
* exec.c (servercopy): Change signature to avoid casted arguments.
Update callers.
(do_exec, S_exec_setexecdata): Update callers.
|
|
|
|
* start-translator-long.c (service_fsys_startup): Move mach_msg_type_t
const variables inside the function, make them auto so they are
optimized away to integer constants.
Use a union instead of casts to do efficient type checking.
|
|
|
|
* priv.h (struct execdata.info.elf): Add `execstack' flag.
* exec.c (check_elf_phdr): Set it according to PT_GNU_STACK's PF_X
flag bit. If no PT_GNU_STACK, default to set.
(do_exec): If flag is clear, remove execute permission from stack.
|
|
* elfcore.c (dump_core): Include null terminator in note name size,
and round up to four byte alignment.
(dump_core: write_note): Don't round OFFSET after each partial write.
(dump_core): Don't round up to page size before writing notes.
Do round up to page size for offset of each PT_LOAD region.
|
|
* pc-kbd.c (KDSETLEDS): New macro.
(update_leds): Add support for setting the keyboard LED state on
GNUMach 1.x (> 1.3).
(input_loop): Use size_t for `nr' instead of int to silence a gcc
warning.
|
|
|
|
* hurd.texi (Installing): Chapter removed.
|
|
* config.make.in (hurddir): Use ${exec_prefix} instead of
$(exec_prefix)
(bootdir): Likewise
(libdir): Get definition from autoconf
(bindir): Likewise
(sbindir): Likewise
(includedir): Likewise
(libexecdir): Likewise
(infodir): Likewise
(sysconfdir): Likewise
(localstatedir): Likewise
(sharedstatedir): Likewise
|
|
|
|
* ext2fs.h (ext2_getblk): Fix typo in comment.
* getblk.c (ext2_getblk): Likewise.
* dir.c (diskfs_get_directs): Likewise.
|
|
* config.sub: Update.
* config.guess: Update.
|
|
|
|
|
|
|
|
|
|
|
|
* storeread.c (doc, arg_doc): Make arrays, not pointers; make const.
(doc): Add leading short description line before \v.
|
|
|
|
* rpctrace.c (docs, args_doc): Make arrays, not pointers.
(doc): Remove "\v.". Reported by Alfred M. Szmidt <ams@kemisten.nu>.
|
|
* nosenders.c, notify-stubs.c: Remove obsolete files.
|
|
* notify-nosenders.c, notify-stubs.c: Delete obsolete files.
|
|
* Makeconf (TAGS): Add a space between the function `strip' and
its argument.
|
|
* bugaddr.c: Fix last change.
|
|
* bugaddr.c: Update to "<bug-hurd@gnu.org>".
|