diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:05 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:05 +0000 |
commit | c7b5ce1cf17ebbf845b58ce33956251176d471b2 (patch) | |
tree | 48efa2331cfc15f5f4e3fb29719c85b16e84f3ab /apt-pkg/contrib/fileutl.h | |
parent | 981d20eb7e036152b04238036d1ce215b9b75ccf (diff) |
Fix for missing \n\r
Author: jgg
Date: 1998-12-08 05:24:41 GMT
Fix for missing \n\r
Diffstat (limited to 'apt-pkg/contrib/fileutl.h')
-rw-r--r-- | apt-pkg/contrib/fileutl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-pkg/contrib/fileutl.h b/apt-pkg/contrib/fileutl.h index 46eefc646..0c477caf0 100644 --- a/apt-pkg/contrib/fileutl.h +++ b/apt-pkg/contrib/fileutl.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: fileutl.h,v 1.10 1998/11/27 01:14:09 jgg Exp $ +// $Id: fileutl.h,v 1.11 1998/12/08 05:24:43 jgg Exp $ /* ###################################################################### File Utilities @@ -52,7 +52,8 @@ class FileFd inline bool Failed() {return (Flags & Fail) == Fail;}; inline void EraseOnFailure() {Flags |= DelOnFail;}; inline void OpFail() {Flags |= Fail;}; - + inline string &Name() {return FileName;}; + FileFd(string FileName,OpenMode Mode,unsigned long Perms = 0666); FileFd(int Fd) : iFd(Fd), Flags(AutoClose) {}; FileFd(int Fd,bool) : iFd(Fd), Flags(0) {}; |