Commit graph

4 commits

Author SHA1 Message Date
Hiroki Sato
4b38031b7f - Improve buffer management. This change should fix issues on amd64.
- Fix daemonizing part.  It now returns the exit status correctly.
- Fix *_{pre,post}cmd handling in the rc.d scripts.  Plus,
  wnntouch is now invoked just before running the server process.
- Use ${*_WNNMANDIR} in Makefile to use the common patchset
  in both FreeWnn-server and -lib.
- Integrate libtool22 change and regenerate patch files.
2010-01-02 14:47:20 +00:00
Hiroki Sato
36ede78e2d - Use RFC 2553 API for AF_INET[46] socket handling.
- Fix several potential buffer overflows.
- Add missing "listenaddr ::1" to cserverc.
- Add WITHOUT_INET6 handling.
2009-01-02 23:08:15 +00:00
Hiroki Sato
e85df6113a - Enable IPv6 support.
- Add multiple "listenaddr" support.  The jserverrc now
  understands the following statements:

   listenaddr 127.0.0.1
   listenaddr ::1

  The option "-a <listenaddr>" can also be specified more than
  once.  Currently the maximum number of listen addresses is 256.

- SIGINT is no longer hooked when the -D (not daemonize,
  primarily for debugging) flag is specified.

- Add --unix, long opt counterpart of -u.
2009-01-02 11:49:48 +00:00
Hiroki Sato
b638279af6 - Add "-a ADDR" option to jserver and "listenaddr" directive to
jserverrc.  This specifies listen address of the INET socket.
  Note that the default value is set as 127.0.0.1.  If you need
  the old behavior (listen INADDR_ANY), use "-a 0.0.0.0" in
  $wnn_flags or modify jserverrc.
- Fix a buffer overflow when very long file name is specified in
  the -f option.
- Fix a typo in CONFIGURE_ARGS and COMMENT.
- Rename a patch file (patch-Wnn-jd-serverdef).
2008-10-30 07:43:17 +00:00