+2011-05-06 Christopher Faylor <me.cygwin2011@cgf.cx>
+
+ * fhandler.h (fhandler_base::close_with_arch): Make non-virtual.
+ (fhandler_base::open_fs): Move closer to it's close counterpart.
+
2011-05-06 Christopher Faylor <me.cygwin2011@cgf.cx>
* fhandler.cc (fhandler_base::dup): Avoid duping a handle when an
virtual int open (int, mode_t);
virtual void open_setup (int flags) { return; }
- int open_fs (int, mode_t = 0);
- virtual int close_with_arch ();
+ int close_with_arch ();
virtual int close ();
virtual void cleanup () { return; }
int _archetype_usecount (const char *fn, int ln, int n)
strace.prntf (_STRACE_ALL, fn, "line %d: %s<%p> usecount + %d = %d", ln, get_name (), archetype, n, archetype->usecount);
return archetype->usecount;
}
+
+ int open_fs (int, mode_t = 0);
# define archetype_usecount(n) _archetype_usecount (__PRETTY_FUNCTION__, __LINE__, (n))
int close_fs () { return fhandler_base::close (); }
virtual int __stdcall fstat (struct __stat64 *buf) __attribute__ ((regparm (2)));