[edk2-devel] Why is MAX_LONG_FILE_PATH 500 vs. PATH_MAX?

Andrew Fish via groups.io afish=apple.com at groups.io
Thu Oct 29 17:24:03 UTC 2020


Does anyone know why MAX_LONG_FILE_PATH [1] is hard coded to 500 vs. using the systems PATH_MAX?

On Linux I think PATH_MAX is 4KiB and on macOS it is 1KiB.


[1] https://github.com/tianocore/edk2/blob/master/BaseTools/Source/C/Common/CommonLib.h#L17 <https://github.com/tianocore/edk2/blob/master/BaseTools/Source/C/Common/CommonLib.h#L17>

Thanks,

Andrew Fish

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#66762): https://edk2.groups.io/g/devel/message/66762
Mute This Topic: https://groups.io/mt/77892784/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20201029/7e137b21/attachment.htm>


More information about the edk2-devel-archive mailing list