Hi All,

The macro responsible to set maximum filename/path 
length in Harbour (HB_PATH_MAX) is now set to 264.

Modern systems can handle much more as maximum path 
length (f.e. Windows 32K chars).

Shouldn't we extend this Harbour constant to handle 
more?

There are few issues to take care of:
- This macro is used for both filename and pathname 
  max length in Harbour, maybe we should have two values 
  to fix that.
- Set this constant to different values depending on 
  platform.
- Many times the buffer is allocated on stack, we 
  may need to revise whether using larger buffers here 
  has any bad side-effect.
- Other?

Opinions are welcome!

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to