|
|
@ -3,7 +3,7 @@ |
|
|
|
* This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
* |
|
|
|
* Filename: src/tools-source/fl_wrapper/fl_wrapper.c |
|
|
|
* Copyright (C) 2006 - 2010 The OpenSDE Project |
|
|
|
* Copyright (C) 2006 - 2016 The OpenSDE Project |
|
|
|
* Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
* Copyright (C) 1998 - 2003 Clifford Wolf |
|
|
|
* |
|
|
@ -373,7 +373,9 @@ static inline void log_append(const char *logfile, const char *fmt, ...) |
|
|
|
#ifdef __USE_LARGEFILE |
|
|
|
fd=open64(logfile,O_APPEND|O_WRONLY|O_LARGEFILE,0); |
|
|
|
#else |
|
|
|
# warning "The wrapper library will not work properly for large logs!" |
|
|
|
# ifdef __GLIBC__ |
|
|
|
warning "The wrapper library will not work properly for large logs!" |
|
|
|
# endif |
|
|
|
fd=open(logfile,O_APPEND|O_WRONLY,0); |
|
|
|
#endif |
|
|
|
if (fd == -1) return; |
|
|
|