Age | Commit message (Collapse) | Author |
|
* cons.h (cons_vcons_set_dimension): New prototype.
* vcons-refresh.c (cons_vcons_refresh): Call
cons_vcons_set_dimension instead of cons_vcons_clear.
|
|
* Makefile (targets): Add hurd.info-* to list.
|
|
* mgt.c (S_proc_dostop): Instead of suspending all threads except
CONTTHREAD, first suspend all threads, and then resume CONTTHREAD.
|
|
* fat.h: Include <byteswap.h>.
|
|
* fat.h (read_dword) [BYTE_ORDER == BIG_ENDIAN]: Use bswap_32 to
swap bytes.
(write_dword) [BYTE_ORDER == BIG_ENDIAN]: Likewise.
(read_word) [BYTE_ORDER == BIG_ENDIAN]: Use bswap_16 to swap bytes.
(write_word) [BYTE_ORDER == BIG_ENDIAN]: Likewise.
|
|
|
|
* fatfs.h (struct disknode): New member DIRNODE.
* inode.c (read_node): Added assertion to be sure the directory
can always be found. Add directory dependancy to node by
initializing DIRNODE and holding a reference.
(diskfs_node_norefs): Release reference to DIRNODE.
(write_node): Don't use diskfs_cached_lookup to lookup the
directory, use DIRNODE instead and lock DP. Don't use diskfs_nput,
use mutex_unlock instead.
(diskfs_alloc_node): Add directory dependancy to node by
initializing DIRNODE and holding a reference.
|
|
* idvec-verify.c: Remove #pragma weak crypt.
(verify_passwd): Don't check if crypt exist.
|
|
* idvec-verify.c: Include <crypt.h>.
(crypt): Removed prototype.
|
|
* fat.c (fat_read_sblock): Catch error from store_read.
|
|
* zero.c: Do not include <assert.h>.
|
|
* rdwr.c (store_write): Return EINVAL when LEN is not aligned to
STORE->block_size, instead of raising assertion failure.
(store_read): Likewise.
|
|
|
|
* typed.c (store_find_class): Use dlopen/dlclose on the names found by
looking through the list instead of passing list elements directly to
dlsym, which is not kosher.
|
|
* inode.c (read_node): Fix typo.
|
|
|
|
* vmstat.c (vm_state_refresh): Use memset instead of bzero.
(main): Likewise.
|
|
* module.c (store_module_open): NAME that doesn't contain ':' is
not considered invalid argument, but a class name without
class-specific portion.
* typed.c (store_typed_open): When NAME is empty string, don't
invoke store_open (name + 1, ...).
|
|
* opts-std-startup.c: Include <string.h>.
(OPT_VISUAL_BELL): New macro.
(OPT_AUDIBLE_BELL): Likewise.
(_cons_visual_bell): New variable.
(_cons_audible_bell): Likewise.
(startup_options): Added options "--visual-bell" and
"--audible-bell" ...
(parse_startup_opt): ...and parse those new options here.
* priv.h (bell_type_t): New enumeration.
(_cons_visual_bell): New external variable.
(_cons_audible_bell): Likewise.
* file-changed.c (cons_S_file_changed): Use the right bell.
|
|
* node-create.c: New file.
* Makefile (SRCS): Added node-created.c.
* dir.c: Include <hurd/fsys.h>.
(diskfs_direnter_hard): Initialize a new block with zeros. Enter
direntry and setup the virtual inode. Also handle directories
correctly.
(diskfs_rewrite_hard): Function rewritten.
(diskfs_dirempty): Change logic to test if a file was deleted.
* fat.c (fat_extend_chain): Unlock spin_lock when returning from
function. Set dn->last to 0 when deallocating the complete
file. Update dn->last when not deallocating the complete file. Set
dn->first to zero when the complete file was deallocated. Also
update dn->length_of_chain to the new amount of clusters in the
chain.
* main.c (diskfs_hard_readonly): Remove global variable.
|
|
* fsck.h (num_files): Change type to long.
|
|
* term.h (rdev): Change type to dev_t.
|
|
|
|
* fatfs.h (LOG2_BLOCKS_PER_CLUSTER): Fix typo.
|
|
* 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.
|
|
|