* mmap.cc (mmap64): Avoid compiler warning.
* ntea.cc (NTReadEA): Ditto. * hires.h (hires_base): Remove useless usecs function.
This commit is contained in:
parent
d621341de7
commit
692fccabfb
|
@ -1,3 +1,9 @@
|
||||||
|
2005-05-18 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* mmap.cc (mmap64): Avoid compiler warning.
|
||||||
|
* ntea.cc (NTReadEA): Ditto.
|
||||||
|
* hires.h (hires_base): Remove useless usecs function.
|
||||||
|
|
||||||
2005-05-18 Corinna Vinschen <corinna@vinschen.de>
|
2005-05-18 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_netdrive.cc (fhandler_netdrive::telldir): Remove since it's
|
* fhandler_netdrive.cc (fhandler_netdrive::telldir): Remove since it's
|
||||||
|
|
|
@ -25,8 +25,6 @@ class hires_base
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
int inited;
|
int inited;
|
||||||
public:
|
|
||||||
virtual LONGLONG usecs (bool justdelta) {return 0LL;}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class hires_us : hires_base
|
class hires_us : hires_base
|
||||||
|
|
|
@ -538,7 +538,7 @@ mmap64 (void *addr, size_t len, int prot, int flags, int fd, _off64_t off)
|
||||||
if (flags & MAP_ANONYMOUS)
|
if (flags & MAP_ANONYMOUS)
|
||||||
fd = -1;
|
fd = -1;
|
||||||
|
|
||||||
fhandler_base *fh;
|
fhandler_base *fh = NULL;
|
||||||
|
|
||||||
/* Get fhandler and convert /dev/zero mapping to MAP_ANONYMOUS mapping. */
|
/* Get fhandler and convert /dev/zero mapping to MAP_ANONYMOUS mapping. */
|
||||||
if (fd != -1)
|
if (fd != -1)
|
||||||
|
|
|
@ -88,7 +88,7 @@ NTReadEA (const char *file, const char *attrname, char *attrbuf, int len)
|
||||||
HANDLE hFileSource;
|
HANDLE hFileSource;
|
||||||
int eafound = 0;
|
int eafound = 0;
|
||||||
PFILE_FULL_EA_INFORMATION ea, sea;
|
PFILE_FULL_EA_INFORMATION ea, sea;
|
||||||
int easize;
|
int easize = 0;
|
||||||
|
|
||||||
hFileSource = CreateFile (file, FILE_READ_EA,
|
hFileSource = CreateFile (file, FILE_READ_EA,
|
||||||
FILE_SHARE_READ | FILE_SHARE_WRITE,
|
FILE_SHARE_READ | FILE_SHARE_WRITE,
|
||||||
|
|
Loading…
Reference in New Issue