diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-04-01 16:11:41 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-04-01 16:11:41 +0000 |
commit | 1727fba007956454046c6cf7a34c9b229f10032e (patch) | |
tree | 3ed9fd3cb5634c33eabdb23c0edbec9b049766f4 /winsup/cygwin/fhandler_registry.cc | |
parent | 5340a2ed6daff6dba00a3f12b94fa1a350cee7db (diff) | |
download | cygnal-1727fba007956454046c6cf7a34c9b229f10032e.tar.gz cygnal-1727fba007956454046c6cf7a34c9b229f10032e.tar.bz2 cygnal-1727fba007956454046c6cf7a34c9b229f10032e.zip |
* dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t
throughout.
* fhandler.cc: Ditto.
* fhandler.h: Ditto.
* fhandler_clipboard.cc: Ditto.
* fhandler_disk_file.cc: Ditto.
* fhandler_dsp.cc: Ditto.
* fhandler_floppy.cc: Ditto.
* fhandler_mem.cc: Ditto.
* fhandler_proc.cc: Ditto.
* fhandler_process.cc: Ditto.
* fhandler_random.cc: Ditto.
* fhandler_registry.cc: Ditto.
* fhandler_tape.cc: Ditto.
* fhandler_termios.cc: Ditto.
* fhandler_virtual.cc: Ditto.
* fhandler_zero.cc: Ditto.
* mmap.cc: Ditto.
* pipe.cc: Ditto.
* syscalls.cc: Ditto.
* winsup.h: Ditto.
* include/cygwin/stat.h: Ditto.
* include/cygwin/types.h: Ditto. Remove definition of __off32_t
and __off64_t.
Diffstat (limited to 'winsup/cygwin/fhandler_registry.cc')
-rw-r--r-- | winsup/cygwin/fhandler_registry.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/fhandler_registry.cc b/winsup/cygwin/fhandler_registry.cc index f33b368a0..7f2cc5f02 100644 --- a/winsup/cygwin/fhandler_registry.cc +++ b/winsup/cygwin/fhandler_registry.cc @@ -32,8 +32,8 @@ static const int registry_len = sizeof ("registry") - 1; * the bottom 16 bits are the absolute position and the top 15 bits * make up the value index if we are enuerating values. */ -static const __off32_t REG_ENUM_VALUES_MASK = 0x8000000; -static const __off32_t REG_POSITION_MASK = 0xffff; +static const _off_t REG_ENUM_VALUES_MASK = 0x8000000; +static const _off_t REG_POSITION_MASK = 0xffff; /* List of root keys in /proc/registry. * Possibly we should filter out those not relevant to the flavour of Windows @@ -351,14 +351,14 @@ out: return res; } -__off64_t +_off64_t fhandler_registry::telldir (DIR * dir) { return dir->__d_position & REG_POSITION_MASK; } void -fhandler_registry::seekdir (DIR * dir, __off64_t loc) +fhandler_registry::seekdir (DIR * dir, _off64_t loc) { /* Unfortunately cannot simply set __d_position due to transition from sub-keys to * values. |