git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1baaa5
)
CVS/Root is always just updated, never re-created (to keep file attributes)
author
short
<>
Mon, 4 Mar 2002 03:03:39 +0000
(
03:03
+0000)
committer
short
<>
Mon, 4 Mar 2002 03:03:39 +0000
(
03:03
+0000)
bin/cvsutil
patch
|
blob
|
history
diff --git
a/bin/cvsutil
b/bin/cvsutil
index
27a4ab5
..
b3bf3a8
100755
(executable)
--- a/
bin/cvsutil
+++ b/
bin/cvsutil
@@
-194,11
+194,12
@@
my($filename)=@_;
sub localactionrootset
{
local *R;
- if (!open R,'
>
',ROOT) {
+ if (!open R,'
+<
',ROOT) {
mayfatal "File \"".ROOT."\" cannot be written";
return;
}
print R "$opt_root\n";
+ truncate R,tell R;
close R;
}