OSSP CVS Repository

ossp - Check-in [2444]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2444
Date: 2002-Jul-31 09:39:20 (local)
2002-Jul-31 07:39:20 (UTC)
User:thl
Branch:
Comment: renamed L2 fd() channel argument "filedescriptor" to "fd"
Tickets:
Inspections:
Files:
ossp-pkg/fsl/TODO      1.6->removed
ossp-pkg/fsl/fsl.pod      1.17 -> 1.18     3 inserted, 3 deleted
ossp-pkg/l2/l2_ch_fd.c      1.14 -> 1.15     1 inserted, 1 deleted

ossp-pkg/fsl/TODO 1.6 -> 1.7



ossp-pkg/fsl/fsl.pod 1.17 -> 1.18

--- fsl.pod      2002/07/30 18:50:36     1.17
+++ fsl.pod      2002/07/31 07:39:20     1.18
@@ -191,10 +191,10 @@
 =head2 Filedescriptor Output Channel (fd)
 
 The B<fd> channel passes messages poured in from upper channels to the
-open file identified by the given I<filedescriptor>. Note that Unix
+open file identified by the filedescriptor passed through I<fd>. Note that Unix
 usually allocates C<1> for F<stdout> and C<2> for F<stderr>.
 
- o fd     (INT filedescriptor  m
+ o fd     (INT fd              m
            )
 
 =head2 File Output Channel (file)
@@ -355,7 +355,7 @@
 (filedescriptor 2):
 
  ident .*
- fd(filedescriptor=2)
+ fd(fd=2)
 
 =head2 Example 2: simple logfile writing
 


ossp-pkg/l2/l2_ch_fd.c 1.14 -> 1.15

--- l2_ch_fd.c   2002/07/30 19:08:24     1.14
+++ l2_ch_fd.c   2002/07/31 07:39:21     1.15
@@ -66,7 +66,7 @@
         return L2_ERR_ARG;
 
     /* feed and call generic parameter parsing engine */
-    L2_PARAM_SET(pa[0], filedescriptor, INT, &cfg->fd);
+    L2_PARAM_SET(pa[0], fd, INT, &cfg->fd);
     L2_PARAM_END(pa[1]);
     l2_channel_env(ch, &env);
     rv = l2_util_setparams(env, pa, fmt, ap);

CVSTrac 2.0.1