OSSP CVS Repository

ossp - Difference in ossp-pkg/fsl/fsl.pod versions 1.29 and 1.30
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/fsl/fsl.pod 1.29 -> 1.30

--- fsl.pod      2003/05/22 14:01:55     1.29
+++ fsl.pod      2003/06/30 11:13:08     1.30
@@ -202,11 +202,17 @@
 The B<file> channel opens a file at the given I<path> and passes
 messages poured in from upper channels to this file. If the file at
 the given path already exists, additional data is either appended
-(I<append>=1) or the existing file is truncated (I<append>=0). The
-desired permissions of the file can be set.
+(I<append>=1 or I<trunc>=0>) or the existing file is truncated
+(I<append>=0 or I<trunc>=1>). The desired permissions of the file can be
+set.  Both append and trunc work equally well but append is obsolete and
+might be removed in the future.  Both options can be specified together
+as long as they are set different. L2 versions which know the trunc
+option default to append mode while previous versions only having the
+append option defaulted to truncate mode.
 
  o file   (STR path            m
-           INT append          o [0=truncate|1=append] =1
+           INT append          o [0=no|1=yes]          =1
+           INT trunc           o [0=no|1=yes]          =0
            INT perm            o [octal]               =0644
            )
 
@@ -449,17 +455,14 @@
      -> {
          critical: file(
              path="@l_prefix@/var/inn/log/news.crit",
-             append=1,
              perm=0644
          );
          error: file(
              path="@l_prefix@/var/inn/log/news.err",
-             append=1,
              perm=0644
          );
          notice: file(
              path="@l_prefix@/var/inn/log/news.notice",
-             append=1,
              perm=0644
          )
      }
@@ -474,7 +477,6 @@
      ) ->
      file(
          path="@l_prefix@/var/fsl/default.log",
-         append=1,
          perm=0644
      )
  };

CVSTrac 2.0.1