Larry Jones <[EMAIL PROTECTED]> writes:

> "Grisinger, Daniel (MAN-Golden)" writes:
> > 
> >   my $log_msg;
> >   my $infh = IO::File -> new('< -');  # open a filehandle to STDIN
> >   for ($infh -> getlines) {
> >     $log_msg .= $_;
> >   }
> 
> I think you've confused info-cvs with a perl list.

Well, no, I haven't.  The perl is correct, it simply reads from STDIN. The
problem is unquestionably a cvs issue.  But since that's the attitude here's
the
shell code that also doesn't work.

----
  #!/bin/bash
  #
  #  test cvs loginfo system

  cat < /dev/stdin >> /home/cvsuser/logtest
----

after running a commit there is no data added to logtest.

Here's the python code that also fails:

----
  #!/usr/bin/python

  import sys

  line=sys.stdin.read()

  while line:
      sys.stdout.write(line)
      line=sys.stdin.read()

----

when redirected to the logtest file nothing ever shows up.

if you'd like i can also send the c, c++, and java code that fail to find
anything on STDIN when invoked from loginfo, or you can just tell me whether
or not i'm doing something wrong.

sheesh.

daniel


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to