Page 1 of 1

Overlong file names - calculation

Posted: 07 Nov 2013 13:21
by Marco

Code: Select all

v13.20.00076 - 2013-11-07 13:08
    ! Color Filters: The factory default filter for overlong filenames
      was falsely defined as "len:>260". It should have been
      "len:>=260". Fixed.
      FYI, XY reports the filename length without an invisible
      terminating null character, but the maximum filename length for
      the windows shell is defined as 260 *including* the terminating
      null character. Therefore a filename reported as 260 characters by
      XY, is actually 261 characters for the shell and hence too long.
Given that, I wonder if len: routine should include by default a +1 internally, so to match the length that the OS "sees".

Re: Overlong file names - calculation

Posted: 07 Nov 2013 14:47
by admin
Yes, that would have been clever. But now it's too late.