diff options
author | Christopher Faylor <me@cgf.cx> | 2007-11-08 17:36:49 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2007-11-08 17:36:49 +0300 |
commit | a3ba550800f861f5bef0079f6bb052a5a9575cc6 (patch) | |
tree | 6c004ba70c764e46fc2da2c62ef85c54d20a41e3 /winsup/cygwin/fhandler.h | |
parent | 75a1688a39f13c03cae53c7c5cc9deef44a34353 (diff) |
* dllfixdbg: Eliminate extra objcopy step.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r-- | winsup/cygwin/fhandler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index 665dd51e1..45588fef9 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -149,6 +149,7 @@ class fhandler_base path_conv pc; virtual void set_name (path_conv &pc); + virtual void set_name (const char *s) {pc.set_normalized_path (s, false);} int error () const {return pc.error;} void set_error (int error) {pc.error = error;} bool exists () const {return pc.exists ();} @@ -546,6 +547,7 @@ public: int __stdcall fadvise (_off64_t, _off64_t, int) __attribute__ ((regparm (3))); int __stdcall ftruncate (_off64_t, bool) __attribute__ ((regparm (3))); int ready_for_read (int fd, DWORD howlong); + void init (HANDLE, DWORD, mode_t); static int create (fhandler_pipe *[2], unsigned, int); static int create_selectable (LPSECURITY_ATTRIBUTES, HANDLE&, HANDLE&, DWORD); }; |