Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#231 Long Relative Paths

open
None
5
2012-09-07
2010-06-05
bredbored
No

This patch allows dosbox to resolve relative paths that are longer than 80 characters. This allows using djgpp in dosbox. There is no need to limit the length of the input path as long as it resolves to an absolute path that is less than 80 characters. Djgpp likes to open paths like "d:/djgpp/bin/../lib/gcc/djgpp/4.42/../../../../include/cxx/4.42/djgpp/bits/cxxconfig.h", which is longer than 80 characters, but resolves to "D:\DJGPP\INCLUDE\CXX\4.42\DJGPP\BITS\CXXCONFI.H" which is fine.

Discussion

  • bredbored
    bredbored
    2010-06-05

     
  • Peter Veenstra
    Peter Veenstra
    2010-06-26

    The patch looks alright at first glance.
    the 3+ stuff is to take in account drive:\ right ?

     
  • bredbored
    bredbored
    2010-07-14

    Yes, the 3+ stuff accounts for drive:.