Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /svnutils/trunk/src/

svnutils
Discussion topic

Back to topic list

CVS update: /svnutils/trunk/src/

Author sunny256
Full name Øyvind A. Holm
Date 2006-03-12 15:19:19 PST
Message User: sunny256
Date: 2006/03/12 15:19:19

Modified:
   svnutils/trunk/src/sident

Log:
 r170 | sunny256 | 2006-03-12 23:10:29 +0000 (Sun, 12 Mar 2006) | 3 lines
 
 * /trunk/src/sident
   Add warning if a file can’t be opened.

File Changes:

Directory: /svnutils/trunk/src/
===============================

File [changed]: sident
Url: http://svnutils.tigr​is.org/source/browse​/svnutils/trunk/src/​sident?r1=1.18&r​2=1.19
Delta lines: +6 -4
-------------------
--- sident 12 Mar 2006 22:25:24 -0000 1.18
+++ sident 12 Mar 2006 23:19:17 -0000 1.19
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 
 #===================​====================​====================​============
-# $Id: sident 168 2006-03-12 22:10:30Z sunny256 $
+# $Id: sident 170 2006-03-12 23:10:29Z sunny256 $
 # Lists RCS-like keywords in files. Replacement for ident(1).
 #
 # Character set: UTF-8
@@ -34,7 +34,7 @@
 our $progname = $0;
 $progname =~ s#^.*/(.*?)$#$1#;
 
-my $rcs_id = '$Id: sident 168 2006-03-12 22:10:30Z sunny256 $';
+my $rcs_id = '$Id: sident 170 2006-03-12 23:10:29Z sunny256 $';
 my $id_date = $rcs_id;
 $id_date =~ s/^.*?\d+ (\d\d\d\d-.*?\d​\d:\d\d:\d\d\S​+).*/$1/;
 
@@ -164,6 +164,8 @@
                 $Opt{'xml'} && print(" </file>\n");
             }
         }
+ } else {
+ warn("$progname: $File: Unable to open file for read\n");
     }
     # }}}
 }
@@ -289,7 +291,7 @@
 
 =head1 REVISION
 
-$Id: sident 168 2006-03-12 22:10:30Z sunny256 $
+$Id: sident 170 2006-03-12 23:10:29Z sunny256 $
 
 =head1 SYNOPSIS
 
@@ -385,4 +387,4 @@
 # }}}
 
 # vim: set fenc=UTF-8 ft=perl fdm=marker ts=4 sw=4 sts=4 et fo+=w :
-# End of file $Id: sident 168 2006-03-12 22:10:30Z sunny256 $
+# End of file $Id: sident 170 2006-03-12 23:10:29Z sunny256 $

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /svnutils/trunk/src/ sunny256 Øyvind A. Holm 2006-03-12 15:19:19 PST
Messages per page: