Age | Commit message (Collapse) | Author |
|
* console-ncurses.c (main): Call endwin () before bailing out
because of an error.
(cons_vcons_write): Use getyx and wmove on stdscr instead getsyx
and setsyx (which operate on newscr, and mess up the cursor
anyway, probably because we don't commit the change immediately).
Submitted by David Walter <dwalter@syr.edu>.
|
|
* aclocal.m4 (hurd_LIB_NCURSESW): New test, modified from GNU
inetutils 1.4.0.
* configure.in: Use hurd_LIB_NCURSESW.
* config.make.in (LIBNCURSESW): New variable, substituted by
configure.
(NCURSESW_INCLUDE): Likewise.
* Makefile (lib-subdirs): Add libcons.
(prog-subdirs): Add console.
console/
2002-08-22 Marcus Brinkmann <marcus@gnu.org>
* console.h: Move file to ../hurd/.
* Makefile (LCLHDRS): Remove console.h.
* display.c: Include <hurd/console.h> instead "console.h".
* console.c: Likewise.
hurd/
2002-08-22 Marcus Brinkmann <marcus@gnu.org>
* console.h: Move here from ../console/.
* Makefile (INSTHDRS): Add console.h.
utils/
2002-08-22 Marcus Brinkmann <marcus@gnu.org>
* Makefile: Include `../config.make' early on to get LIBNCURSESW
variable from configure before including Makeconf.
(targets) [LIBNCURSES]: Add console-ncurses.
(SRCS) [LIBNCURSES]: Add console-ncurses.c.
(HURDLIBS) [LIBNCURSES]: Add cons.
(console-ncurses): New target.
(console-ncurses-CPPFLAGS): New variable.
(console-ncurses-LDLIBS): Likewise.
|
|
* aclocal.m4 (hurd_LIB_NCURSESW): New test, modified from GNU
inetutils 1.4.0.
* configure.in: Use hurd_LIB_NCURSESW.
* config.make.in (LIBNCURSESW): New variable, substituted by
configure.
(NCURSESW_INCLUDE): Likewise.
* Makefile (lib-subdirs): Add libcons.
(prog-subdirs): Add console.
console/
2002-08-22 Marcus Brinkmann <marcus@gnu.org>
* console.h: Move file to ../hurd/.
* Makefile (LCLHDRS): Remove console.h.
* display.c: Include <hurd/console.h> instead "console.h".
* console.c: Likewise.
hurd/
2002-08-22 Marcus Brinkmann <marcus@gnu.org>
* console.h: Move here from ../console/.
* Makefile (INSTHDRS): Add console.h.
utils/
2002-08-22 Marcus Brinkmann <marcus@gnu.org>
* Makefile: Include `../config.make' early on to get LIBNCURSESW
variable from configure before including Makeconf.
(targets) [LIBNCURSES]: Add console-ncurses.
(SRCS) [LIBNCURSES]: Add console-ncurses.c.
(HURDLIBS) [LIBNCURSES]: Add cons.
(console-ncurses): New target.
(console-ncurses-CPPFLAGS): New variable.
(console-ncurses-LDLIBS): Likewise.
|
|
|
|
* fakeroot.sh: Dont use "exec" command, since the original script
does not and some users use sh syntax here and not just commands.
|
|
* ping.c: File removed.
|
|
|
|
* ping.c: File removed.
* Makefile (targets, SRCS): Remove it.
(ping-CPPFLAGS, INSTALL-ping-ops, ping): And all its little friends.
|
|
|
|
* Makefile (INSTALL-vminfo-ops): Variable removed (no setuid).
* vmstat.c (ensure_def_pager_info): If get_privileged_ports fails with
EPERM, try to open /servers/default-pager instead.
* Makefile (INSTALL-vmstat-ops): Variable removed (no setuid).
|
|
* vmstat.c (ensure_def_pager_info): If get_privileged_ports fails with
EPERM, try to open /servers/default-pager instead.
* Makefile (INSTALL-vmstat-ops): Variable removed (no setuid).
|
|
|
|
* vminfo.c: Use `z' modifier format modifier for address/size values.
|
|
|
|
* ftpdir.c (pdirent): Use %lld format for off_t value.
|
|
|
|
* fakeauth.c (idvec_copyout): Fix argument type.
* pids.c (add_fn_pids): unsigned -> size_t
* w.c (add_utmp_procs): Likewise.
* login.c (add_canonical_host): Likewise.
* ps.c (main): Likewise.
* login.c (add_entry, main): Likewise.
* settrans.c (main): int -> size_t
* showtrans.c (main): Likewise.
* fsysopts.c (main): Likewise.
* vmstat.c (main): Use int for FWIDTHS.
* ping.c (main): size_t -> socklen_t
* fakeauth.c (S_auth_getids, S_auth_makeauth,
S_auth_server_authenticate): u_int -> size_t
* showtrans.c (main): Cast field width/precision args to int.
|
|
* pids.c (add_fn_pids): unsigned -> size_t
* w.c (add_utmp_procs): Likewise.
* login.c (add_canonical_host): Likewise.
* ps.c (main): Likewise.
* login.c (add_entry, main): Likewise.
* settrans.c (main): int -> size_t
* showtrans.c (main): Likewise.
* fsysopts.c (main): Likewise.
* vmstat.c (main): Use int for FWIDTHS.
* ping.c (main): size_t -> socklen_t
* fakeauth.c (S_auth_getids, S_auth_makeauth,
S_auth_server_authenticate): u_int -> size_t
* showtrans.c (main): Cast field width/precision args to int.
|
|
* storeinfo.c (print_store): Use %z format.
|
|
* rpctrace.c (print_data): Use if instead of switch to handle FP type
sizes, in case double == long double.
|
|
* rpctrace.c (parse_msgid_list): Fixed the check that tests if we
read exactly 3 fields from each line.
|
|
* fakeauth.c (main): Register NEWTASK as a child with the proc
server.
|
|
* devprobe.c: Include <version.h>.
(argp_program_version): New variable.
* storecat.c: Include <version.h>.
(argp_program_version): New variable.
* storeread.c: Include <version.h>.
(argp_program_version): New variable.
* gcore.c: Include <version.h>.
(argp_program_version): New variable.
|
|
|
|
* fakeroot.sh: Inside the chroot'd fakeauth environment,
run a shell that chdir's to what was our original current
directory (by name) before exec'ing the user's command.
|
|
|
|
* fakeauth.c (main): Don't use posix_spawnp. Use _hurd_exec instead.
|
|
* settrans.c (main): Return 0 instead of using break (which only
gets us out of the while loop).
|
|
* fakeauth.c (main): Add ARGP_IN_ORDER to argp_parse invocation.
(main: parse_opt): New function.
(main): Set parser in ARGP to parse_opt.
|
|
|
|
* fakeroot.sh: New file.
* Makefile (targets, special-targets, SRCS): Add it.
|
|
* fakeauth.c (main): Update doc strings, clean up argp_parse call.
|
|
|
|
* settrans.c (options): Add --chroot/-C option.
(main_opt): Parse that option, take following args until "--"
as a command to exec chroot'd to the translated node.
|
|
* vmstat.c (print_val): Use %lld printf format for val_t.
|
|
* msgport.c (str2flags): Add break after default: label.
|
|
|
|
* fakeauth.c: New file.
* Makefile (fakeauth): New target.
(targets): Add it.
(SRCS): Add fakeauth.c.
(auth-MIGSFLAGS, fakeauth-CPPFLAGS, authServer-CPPFLAGS,
auth_requestUser-CPPFLAGS): New variables.
|
|
* shd.c: Include <error.h> for `error' decl.
|
|
* fakeauth.c: New file.
* Makefile (fakeauth): New target.
(targets): Add it.
(SRCS): Add fakeauth.c.
(auth-MIGSFLAGS, fakeauth-CPPFLAGS, authServer-CPPFLAGS,
auth_requestUser-CPPFLAGS): New variables.
* Makefile (rpctrace): Put libthreads before libports.
|
|
|
|
* rpctrace.c (parse_msgid_list): Use ERR, not errno.
* shd.c (reap): Use error, not perror.
(command): Likewise.
(main): Likewise.
(run): Use error, not perror. Use ERR, not errno.
|
|
|
|
* rpctrace.c (struct msgid_info): New type.
(msgid_ihash_cleanup): Updated to use it.
(parse_msgid_list): Use it to also record subsystem name in table.
(msgid_info): New function, guts of msgid_name.
(msgid_name): Use that.
(msgid_display, msgid_trace_replies): New stub functions.
(trace_and_forward): Use them to conditionalize tracing and printing.
|
|
|
|
* rpctrace.c (options): Add -I/--rpc-list.
(msgid_ihash): New static variable.
(msgid_ihash_cleanup): New function.
(parse_msgid_list, magid_name): New functions.
(main: parse_opt): Grok -I using parse_msgid_list.
(trace_and_forward, print_request_header, print_reply_header):
Look up msgh_id values using msgid_name and print strings if possible.
|
|
|
|
* msgport.c (str2flags): Use const in argument type; make static.
Set O_CREAT for "w" mode. Grok "a" to set O_APPEND.
(cmd_setfd): Always call str2flags, giving it a default string.
(cmd_stdin, cmd_stdout, cmd_stderr): Likewise.
(cmd_options): Update doc strings.
|
|
|
|
* rpctrace.c (traced_spawn) [KERN_INVALID_LEDGER]:
Pass extra arguments to task_create for OSF variant.
* shd.c (run): Likewise.
|