projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check for socklen_t type for accept, getpeername
[yaz-moved-to-github.git]
/
util
/
cvs-date.tcl
diff --git
a/util/cvs-date.tcl
b/util/cvs-date.tcl
index
b1f9dd4
..
6950a4b
100755
(executable)
--- a/
util/cvs-date.tcl
+++ b/
util/cvs-date.tcl
@@
-2,7
+2,7
@@
# the next line restarts using tclsh \
exec tclsh "$0" "$@"
#
# the next line restarts using tclsh \
exec tclsh "$0" "$@"
#
-# $Id: cvs-date.tcl,v 1.1 2001-05-16 07:37:39 adam Exp $
+# $Id: cvs-date.tcl,v 1.4 2001-09-11 12:44:22 adam Exp $
set sec 0
proc cvslog {} {
set sec 0
proc cvslog {} {
@@
-25,7
+25,9
@@
if {$sec} {
set fname [lindex $argv 0]
if {[string length $fname]} {
set f [open [lindex $argv 0] w]
set fname [lindex $argv 0]
if {[string length $fname]} {
set f [open [lindex $argv 0] w]
- puts $f "#define YAZ_DATE \"$sec\""
+ puts $f "#define YAZ_DATE ${sec}L"
+ puts $f "#define YAZ_DATE_STR \"$sec\""
+ puts $f ""
close $f
} else {
puts $sec
close $f
} else {
puts $sec