> * include/hbsetup.h > ! Reverted _POSIX_PATH_MAX change from 2008-12-03 12:10 UTC+0100 by > Miguel, as it introduced different structure alignment problems > depending on the order of headers included. Thanks Przemek who found the > bug!
Przemek saw the problem common to [x]harbour, when I correct length to MAX_PATH instead of _POSIX_PATH_MAX defined in most compilers as 260, which functions as corrected FILE etc ... But what I just did not fix the problem, but it worst because MAX_PATH linux platform is 4096 and MAC 1024. MAX_PATH can not be prevented because harcoded linux or other systems operating properly. if you use #ifdef MAX_PATH #define HB_MAX_PATH (MAX_PATH + 4) #else #define HB_MAX_PATH 264 #endif Would be more appropriate, and if not then if there MAX_PATH porn hardcoded to 264. Moreover the functions that use it should not make a reservation of 260 or 4096, but must make reservations for each event, as the length can be calculated. Best regards Miguel Angel Marchuet __________ InformaciĆ³n de ESET NOD32 Antivirus, versiĆ³n de la base de firmas de virus 4015 (20090417) __________ ESET NOD32 Antivirus ha comprobado este mensaje. http://www.eset.com ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers