aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordancer <dancer>2005-10-03 23:59:06 +0000
committerdancer <dancer>2005-10-03 23:59:06 +0000
commitb7ea12df82fd2859eb720e09804784ef5e239e38 (patch)
tree2e5d8b1d8c951d15d0b6c26890228aa73e51f67f
parent48d9b569689392c5a24f79cf31279118297ae6d5 (diff)
downloadpbuilder-b7ea12df82fd2859eb720e09804784ef5e239e38.tar
pbuilder-b7ea12df82fd2859eb720e09804784ef5e239e38.tar.gz
add a note on cowprotect func
-rw-r--r--ChangeLog4
-rw-r--r--pbuilder-buildpackage-funcs3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 791b3d3..a2c5947 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-10-04 Junichi Uekawa <dancer@debian.org>
+
+ * pbuilder-buildpackage-funcs: Add comment on what cowprotect is there for.
+
2005-09-30 Junichi Uekawa <dancer@debian.org>
* Documentation/pbuilder-doc.xml: #325318, from Osamu Aoki;
diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs
index fb888e8..c6cbc59 100644
--- a/pbuilder-buildpackage-funcs
+++ b/pbuilder-buildpackage-funcs
@@ -67,7 +67,8 @@ function showbuildbanner () {
}
function cowprotect () {
- # a hack for cowdancer
+ # a hack for cowdancer, used when a file is edited in-place;
+ # Copy the file to create a new i-node so that hardlinked original is intact
for A in "$@"; do
if readlink -f "$A"; then
A=$(readlink -f "$A")