diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:56:54 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:56:54 +0000 |
commit | 4decd43cbd7fc6c9f3719d6bfc8ac040bd4d5371 (patch) | |
tree | b7dc620e3580ae3a8e5cbbad501a767afdb59e25 /apt-pkg/contrib | |
parent | f08fcf34cacb98d46cd8ee85398994db26a80a56 (diff) |
fixed typo in fileutl.cc (damn you, studly caps...)
Author: tausq
Date: 2001-03-03 22:45:59 GMT
fixed typo in fileutl.cc (damn you, studly caps...)
make apt-extracttemplates use FileFd
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r-- | apt-pkg/contrib/fileutl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc index fd9b93036..db878064d 100644 --- a/apt-pkg/contrib/fileutl.cc +++ b/apt-pkg/contrib/fileutl.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: fileutl.cc,v 1.36 2001/03/03 22:36:20 tausq Exp $ +// $Id: fileutl.cc,v 1.37 2001/03/03 22:45:59 tausq Exp $ /* ###################################################################### File Utilities @@ -405,8 +405,8 @@ bool FileFd::Open(string FileName,OpenMode Mode, unsigned long Perms) break; case WriteTemp: - unlink(Filename.c_str()); - iFd = open(FileName.c_str(),O_RDWR | O_CREATE | O_EXCL,Perms); + unlink(FileName.c_str()); + iFd = open(FileName.c_str(),O_RDWR | O_CREAT | O_EXCL,Perms); break; } |