From 99872c1342389c4180937b7683d93679462da3d0 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Wed, 5 May 2004 17:21:51 +0000 Subject: [Bug #810879] Document that copyfile() can fail if you don't have permissions; also, fix a double negative. --- Doc/lib/libshutil.tex | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Doc/lib/libshutil.tex b/Doc/lib/libshutil.tex index 17b1daa..a84fca9 100644 --- a/Doc/lib/libshutil.tex +++ b/Doc/lib/libshutil.tex @@ -20,9 +20,11 @@ file type and creator codes will not be correct. \begin{funcdesc}{copyfile}{src, dst} Copy the contents of the file named \var{src} to a file named - \var{dst}. If \var{dst} exists, it will be replaced, otherwise it - will be created. Special files such as character or block devices - and pipes cannot not be copied with this function. \var{src} and + \var{dst}. The destination location must be writable; otherwise, + an \exception{IOError} exception will be raised. + If \var{dst} already exists, it will be replaced. + Special files such as character or block devices + and pipes cannot be copied with this function. \var{src} and \var{dst} are path names given as strings. \end{funcdesc} -- cgit v0.12