summaryrefslogtreecommitdiff
path: root/doc/PROGRAMMING
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2018-11-21 10:14:32 +0000
committerNiels Thykier <niels@thykier.net>2018-11-21 10:14:32 +0000
commit502f38687935e6239fa5aab98ab6c806f62bb1f4 (patch)
tree5b4b24cc51b7a296b3f04620648b087600a78c91 /doc/PROGRAMMING
parent51d2686efdc95726d0e640e3fe313abeeba62389 (diff)
downloaddebhelper-502f38687935e6239fa5aab98ab6c806f62bb1f4.tar.gz
PROGRAMMING: Update doc to reflect current practice
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'doc/PROGRAMMING')
-rw-r--r--doc/PROGRAMMING3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING
index bf7e9249..af4fedeb 100644
--- a/doc/PROGRAMMING
+++ b/doc/PROGRAMMING
@@ -359,8 +359,7 @@ reset_perm_and_owner($mode, $path...)
The file owner and group is set to "root:root". The change
is only done on the exact paths listed (i.e. it is *not*
recursive).
- To avoid issue, please pass mode as a string (i.e. '0755'
- rather than 0755).
+ Mode should be passed as an integer (not a string).
open_gz($file)
Open $file, read from it as a gzip-compressed file and return
the file handle.