[email protected] wrote: > Dies ist eine mehrteilige Nachricht im MIME-Format. > --=_alternative 00233070C1257E3D_= > Content-Type: text/plain; charset="US-ASCII" > > Hi, > > thanks for your patch. But since I am compilling 32 Bit, it doesn't work. > I modified your patch to > #define ftello ftell > Then it works.
But that will only work for input LDIF files smaller than 4GB. A better fix is now committed in git master. > > But I still have the GetFileSizeEx problem. GetFileSizeEx is a part of the Win32 API since Windows XP. https://msdn.microsoft.com/en-us/library/windows/desktop/aa364957%28v=vs.85%29.aspx Sounds like your MinGW is too old or needs a fix. There is nothing to fix in OpenLDAP source for this problem. This ITS is now resolved. > I use MinGW-5.1.6 and here is my installed.ini: > [settings] > mirror= > installtype=current > > [components] > runtime=mingwrt-3.17-mingw32-dev.tar.gz > w32api=w32api-3.14-mingw32-dev.tar.gz > binutils=binutils-2.20-1-mingw32-bin.tar.gz > core=gcc-core-3.4.5-20060117-3.tar.gz > gpp=gcc-g++-3.4.5-20060117-3.tar.gz > g77= > ada= > java= > objc=gcc-objc-3.4.5-20060117-3.tar.gz > make=make-3.81-20090914-mingw32-bin.tar.gz > runtimeDLL=mingwrt-3.17-mingw32-dll.tar.gz > > Regards, > Frank > > -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
