Menu

#231 Long Relative Paths

open
Qbix
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
     
  • Qbix

    Qbix - 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:.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.