summaryrefslogtreecommitdiff
path: root/trans/fifo.c
AgeCommit message (Collapse)Author
2001-02-262001-02-25 Roland McGrath <roland@frob.com>Roland McGrath
* symlink.c: Include <string.h> for decls of built-ins. * firmlink.c: Include <stdlib.h> for exit decl. * ifsock.c: Likewise. * null.c: Likewise. * magic.c: Likewise. * fifo.c: Likewise. * hello.c: Likewise. * hello-mt.c: Likewise.
2001-02-12auth/Marcus Brinkmann
2001-02-12 Marcus Brinkmann <marcus@gnu.org> * auth.c (main): New variable ARGP defining a doc string. Pass address of ARGP to argp_parse(). exec/ 2001-02-12 Marcus Brinkmann <marcus@gnu.org> * main.c: Change hurd version name from proc to exec. (main): Add period to doc string. ftpfs/ 2001-02-12 Marcus Brinkmann <marcus@gnu.org> * ftpfs.c: Include <version.h>. Add global variable ARGP_PROGRAM_VERSION. Add period to DOC. hostmux/ 2001-02-12 Marcus Brinkmann <marcus@gnu.org> * hostmux.c: Include <version.h>. Add global variable ARGP_PROGRAM_VERSION. Add period to DOC. usermux/ 2001-02-12 Marcus Brinkmann <marcus@gnu.org> * usermux.c (options): Include <version.h>. Add global variable ARGP_PROGRAM_VERSION. Add period to DOC. trans/ 2001-02-12 Marcus Brinkmann <marcus@gnu.org> * fifo.c: Make version string say `fifo', not `null'. Add period to doc text in ARGP. * firmlink.c: Add period to doc text in ARGP_DOC, convert semi-colon to colon. * magic.c (options): Add period to DOC. * new-fifo.c (fifo_trans_parse_args): Add doc string to ARGP. Include <version.h>, new global variable ARGP_PROGRAM_VERSION. * crash.c: Include <version.h>, add global variable ARGP_PROGRAM_VERSION. * hello.c: Include <version.h>, add global variable ARGP_PROGRAM_VERSION. (hello_argp): Add doc string. * hello-mt.c: Likewise. * streamio.c: Add period to DOC. Change streamdev to streamio in version string. * password.c (main): Add period to doc string in ARGP.
1999-09-13Reverted changes related to io_map_segment.Roland McGrath
1999-09-081999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* null.c (trivfs_S_io_map): Renamed to ... (trivfs_S_io_map_segment): ... here, with new parameter `index'. * new-fifo.c (trivfs_S_io_map): Renamed to ... (trivfs_S_io_map_segment): ... here, with new parameter `index'. * fifo.c (trivfs_S_io_map): Renamed to ... (trivfs_S_io_map_segment): ... here, with new parameter `index'.
1999-09-011999-08-31 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>Roland McGrath
* bogus-fifo.c (main): Deallocate bootstrap port after using it. * fifo.c (main): Likewise. * firmlink.c (main): Likewise. * ifsock.c (main): Likewise. * magic.c (main): Likewise. * null.c (main): Likewise. * symlink.c (main): Likewise.
1998-10-20Add braces to silence gcc warnings.Roland McGrath
1998-07-201998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* firmlink.c (main): Fix return type to int, and use return. * fwd.c (main): Likewise. * new-fifo.c (main): Likewise. * magic.c (main): Likewise. * fifo.c (main): Likewise. * null.c (main): Likewise.
1997-08-20Wed Aug 20 14:07:56 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* crash.c (main): New args for ports_manage_port_operations_multithread. * fifo.c (main): Likewise. * firmlink.c (main): Likewise. * new-fifo.c (main): Likewise. * null.c (main): Likewise.
1997-02-20(argp_program_version): Make const.Miles Bader
1997-02-20(parse_opt):Miles Bader
New function. (main): Use argp instead of getopt. Don't use old trivfs port class/bucket variables. Don't create our own port classes/bucket, let trivfs_startup do it. (argp_program_version, argp): New variables. (trivfs_protid_portclasses, trivfs_cntl_portclasses, trivfs_protid_nportclasses, trivfs_cntl_nportclasses): Variables removed. (options): Use argp structures instead of getopt ones. <getopt.h>: Include removed. <version.h>: New include. <argp.h>: New include.
1996-07-17(open_hook):Miles Bader
Unbreak a new read pipe even if not waiting for writers. Only bother to do anything if O_READ | O_WRITE. When O_NONBLOCK is set, just don't block if possible, instead of of returning EWOULDBLOCK. Only set PO->hook if O_READ or O_WRITE is set. (close_hook): Also disconnect ACTIVE_FIFO if the laster writer is going away and there were no readers. (trivfs_S_file_set_size): Add #!$@&* reply port args. (trivfs_S_io_select): The pipe is on CRED->po->hook, not CRED->hook. (trivfs_modify_stat): Zero the returned size if there's no pipe.
1996-01-27(trivfs_goaway): Handle errors from ports_inhibit_bucket_rpcs.Miles Bader
1996-01-19(trivfs_S_io_select):Miles Bader
Request interruption if the reply-port dies. Don't block if there's an error immediately available.
1995-11-06(main): Add flags argument to trivfs_startup call.Miles Bader
1995-09-18(trivfs_S_file_set_size): Renamed from trivfs_S_file_truncate;Miles Bader
Return EINVAL if the new size isn't 0.
1995-09-11(open_hook): Block for read only when there's really someone reading already,Miles Bader
or until there's a writer. (open_hook): Use the WAIT macro to block. (wait_for_writer): New variable. (main): Set WAIT_FOR_WRITER with WAIT_FOR_READER. (trivfs_modify_stat): Only return pipe info if there's a pipe. (close_hook): Don't die if there's no pipe.
1995-08-31(trivfs_S_io_select): Use pipe_pair_select.Miles Bader
(trivfs_S_io_write): Pass in the NOBLOCK parameter to pipe_write.
1995-08-30(trivfs_goaway): Implement correctly.Miles Bader
(main): When we time out, don't exit unless there are no opens. (main): Add timeouts. (port_bucket): Now a local variable in main.
1995-08-29(open_hook): Use hurd_condition_wait to detect interrupts.Miles Bader
1995-08-24(trivfs_goaway, trivfs_modify_stat): Update arguments.Miles Bader
(trivfs_modify_stat): Give the size of the fifo now that we've got a handle on it.
1995-08-21(open_hook): Use condition_broadcast instead of condition_signal onMiles Bader
active_fifo_changed, as all waiters need be notified of changes.
1995-08-15Initial revisionMiles Bader