Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-05-23 02:09:58 +0400
committerChristopher Faylor <me@cgf.cx>2002-05-23 02:09:58 +0400
commitfc240f584b02d8bb1a2bb60927c3d13b583c68a1 (patch)
treee2905ee758c0cb0d17479f6422fedc4f84352e1d /winsup/cygwin/fhandler.h
parent41dc93916139473204dcfeea91cefbdf8f696301 (diff)
* fhandler.h (fhandler_virtual::exists): Eliminate path argument.
(fhandler_proc::exists): Ditto. (fhandler_registry::exists): Ditto. (fhandler_process::exists): Ditto. * fhandler_proc.cc (fhandler_proc::exists): Ditto. Use built-in name. * fhandler_process.cc (fhandler_process::exists): Ditto. (fstat): Ditto. * fhandler_registry.cc (fhandler_registry::exists): Ditto. (fhandler_registry::fstat): Ditto. * fhandler_virtual.cc (fhandler_virtual::opendir): Ditto. * path.cc (path_conv::check): Ditto. Add debugging. * syscalls.cc (dup): Always call dup2 for error handling.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index bafcefaaa..a30364bce 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -1051,7 +1051,7 @@ class fhandler_virtual : public fhandler_base
fhandler_virtual (DWORD devtype);
virtual ~fhandler_virtual();
- virtual int exists(const char *path);
+ virtual int exists();
DIR *opendir (path_conv& pc);
__off64_t telldir (DIR *);
void seekdir (DIR *, __off64_t);
@@ -1072,7 +1072,7 @@ class fhandler_proc: public fhandler_virtual
public:
fhandler_proc ();
fhandler_proc (DWORD devtype);
- int exists(const char *path);
+ int exists();
struct dirent *readdir (DIR *);
static DWORD get_proc_fhandler(const char *path);
@@ -1085,7 +1085,7 @@ class fhandler_registry: public fhandler_proc
{
public:
fhandler_registry ();
- int exists(const char *path);
+ int exists();
struct dirent *readdir (DIR *);
__off64_t telldir (DIR *);
void seekdir (DIR *, __off64_t);
@@ -1106,7 +1106,7 @@ class fhandler_process: public fhandler_proc
_pinfo *saved_p;
public:
fhandler_process ();
- int exists(const char *path);
+ int exists();
struct dirent *readdir (DIR *);
int open (path_conv *real_path, int flags, mode_t mode = 0);
int __stdcall fstat (struct __stat64 *buf, path_conv *) __attribute__ ((regparm (3)));