Package: socat
Version: 1.4.3.1-1
Severity: minor
Tags: patch

socat(1) currently suggests a space between -lf and the file name to
accept the log:

       -lf <logfile>
             Writes messages to <logfile> [filename] instead of stderr.

However, this fails with an error message like:

2006/06/08 11:03:47 socat[12030] E cannot open log file "": No such file or 
directory

The proper way to specify this is -lf<logfile> (no intervening space).

Here is a patch to fix the man page:

--- socat.1.orig        2006-06-08 11:00:34.000000000 -0400
+++ socat.1     2006-06-08 11:00:21.000000000 -0400
@@ -91,7 +91,7 @@
 Writes messages to syslog instead of stderr; severity as defined with -d
 option\&. With optional <facility>, the syslog type can
 be selected, default is "daemon"\&. 
-.IP "\fB\f(CW-lf\fP\fP\f(CW <logfile>\fP" 
+.IP "\fB\f(CW-lf<logfile>\fP\fP" 
 Writes messages to <logfile> [filename] instead of
 stderr\&. 
 .IP "\fB\f(CW-ls\fP\fP" 


Thanks for maintaining socat for debian!

        --dkg

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages socat depends on:
ii  libc6                         2.3.6-13   GNU C Library: Shared libraries
ii  libreadline5                  5.1-7      GNU readline and history libraries
ii  libssl0.9.8                   0.9.8b-2   SSL shared libraries
ii  libwrap0                      7.6.dbs-9  Wietse Venema's TCP wrappers libra

socat recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to