Age | Commit message (Collapse) | Author |
|
[bug #15808]
* ifsock.c: Include <argp.h>, <sys/cdefs.h> and <version.h>.
(__XSTRING): New macro.
(argp_program_version, doc, argp): New variables.
(main): Call argp_parse().
Based on a patch by Ben Asselstine <benasselstine@gmail.com>.
|
|
* ifsock.c (main): Use ERR, not errno.
* symlink.c: Include <error.h> and <errno.h>.
(main): Use err, not fprintf and exit. Use error, not perror and
exit. Use err, not error. Check for MACH_PORT_NULL
explicitly. Check for proper usage of symlink before checking if
symlink is started as a translator.
|
|
* 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.
|
|
* 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.
|
|
|
|
|
|
(ports_cleanroutines): Deleted var.
(ports_notice_idle, ports_no_live_ports, ports_no_hard_ports): Deleted
functions.
(control_class, node_class, port_bucket): New vars.
(trivfs_protid_porttypes, trivfs_cntl_porttypes,
trivfs_protid_nporttypes, trivfs_cntl_nporttypes): Deleted vars.
(trivfs_protid_portclasses, trivfs_cntl_portclasses,
trivfs_protid_nportclasses, trivfs_cntl_nportclasses): New vars.
(main): Initialize control_class, node_class, port_bucket,
trivfs-protid_portclasses, and trivfs_cntl_portclasses.
(main): Use new trivfs interface.
(trivfs_goaway): Likewise.
(main): Use new ports interface.
(S_ifsock_getsockaddr): Likewise.
(demuxer): Renamed from ports_demuxer.
(demuxer): Declare ifsock_server.
|
|
Get rid of _libports_initialize() [it gets called automatically].
Use error() to print error messages.
|
|
|
|
|
|
|