fs: fix typo in function names
The build was not affected: the typos were in macros that only come into effect when _LARGEFILE_SOURCE is not defined - which is never.
This commit is contained in:
parent
0f6d3e22d9
commit
9b4e8e0a0d
@ -540,10 +540,10 @@ static Handle<Value> Rename(const Arguments& args) {
|
|||||||
|
|
||||||
#ifndef _LARGEFILE_SOURCE
|
#ifndef _LARGEFILE_SOURCE
|
||||||
#define ASSERT_TRUNCATE_LENGTH(a) \
|
#define ASSERT_TRUNCATE_LENGTH(a) \
|
||||||
if (!(a)->IsUndefined() && !(a)->IsNull() && !(a)->IsUInt32()) { \
|
if (!(a)->IsUndefined() && !(a)->IsNull() && !(a)->IsUint32()) { \
|
||||||
return ThrowException(Exception::TypeError(String::New("Not an integer"))); \
|
return ThrowException(Exception::TypeError(String::New("Not an integer"))); \
|
||||||
}
|
}
|
||||||
#define GET_TRUNCATE_LENGTH(a) ((a)->UInt32Value())
|
#define GET_TRUNCATE_LENGTH(a) ((a)->Uint32Value())
|
||||||
#else
|
#else
|
||||||
#define ASSERT_TRUNCATE_LENGTH(a) \
|
#define ASSERT_TRUNCATE_LENGTH(a) \
|
||||||
if (!(a)->IsUndefined() && !(a)->IsNull() && !IsInt64((a)->NumberValue())) { \
|
if (!(a)->IsUndefined() && !(a)->IsNull() && !IsInt64((a)->NumberValue())) { \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user