• Robert Sprowson's avatar
    Fix for *INFO dates not matching *EX dates · a0fb97c2
    Robert Sprowson authored
    These two displays take different code paths, and *INFO goes via a check to workaround a bug in Win98 servers. Unfortunately, the check no longer works because Microsoft don't return the '.' and '..' entries in SMB Trans2 FIND_FIRST, and the logic previously always set the "need to frig the dates" flag. Now, the flag is only set if something comes back and after doing a test swap the results are also correct.
    Turned on the 'auto close Trans2 FIND_FIRST' flag in the request block to save having to do a second transaction to close it.
    Swapped the LDMFD/STMFD for Push and Pull in the assembler.
    Tested against WinXP SP3, dates are no longer bonkers.
    Version 2.35. Tagged as 'LanManFS-2_35'
SMB 84.6 KB