1. 08 May, 2016 1 commit
    • Jeffrey Lee's avatar
      Avoid unnecessary remainder calculations · d183fb9c
      Jeffrey Lee authored
      Detail:
        s/CtrlUtils, s/OSGBPB - Avoid unnecessary remainder calculations in DivRem macro
      Admin:
        Tested on Cortex-A15
      
      
      Version 2.84. Tagged as 'FileSwitch-2_84'
      d183fb9c
  2. 16 Jan, 2015 1 commit
    • Jeffrey Lee's avatar
      Escape some dollars · 6c284d47
      Jeffrey Lee authored
      Detail:
        s/CtrlUtils, s/DirStore, s/FSCtrl2, s/FSPath, s/FileSwBody, s/SysVars - Escape some dollars contained in strings to avoid warnings from objasm
      Admin:
        Resulting binary unchanged
      
      
      Version 2.83. Retagged as 'FileSwitch-2_83'
      6c284d47
  3. 11 Nov, 2014 1 commit
    • Jeffrey Lee's avatar
      Fix buffer overflow in *cat when dealing with long paths. Fix spurious errors... · ccea391b
      Jeffrey Lee authored
      Fix buffer overflow in *cat when dealing with long paths. Fix spurious errors when examining files with certain load addresses
      
      Detail:
        s/CtrlUtils - Increase MaxFilenameSpace (used to reserve stack space for *cat directory path) from 400 bytes to StaticName_length (i.e. 1K)
        s/FileTypes - Avoid IsFileTyped erroneously returning with V set if r2 is within a certain range (e.g. &7ff00000). Now all exits go via code that ensures V is clear.
      Admin:
        Tested on Raspberry Pi
      
      
      Version 2.83. Tagged as 'FileSwitch-2_83'
      ccea391b
  4. 27 Nov, 2011 1 commit
  5. 04 Aug, 2011 1 commit
    • Jeffrey Lee's avatar
      Update to work with zero page relocation · 0b0a3063
      Jeffrey Lee authored
      Detail:
        s/FileSwBody, s/FileSwHdr - Try getting DomainId pointer via OS_ReadSysInfo 6 before falling back on legacy address. Store result in workspace for speedy lookup.
        s/FSCommon - Use workspace DomainId pointer
        s/CtrlUtils - Update int_ConstructFullPathWithoutFSAndSpecial to not attempt to append the contents of null string pointers.
        s/FSControl - Update AppendStringIfNotNull to ignore null pointers
        s/LowLevel - Update CallFSFile_Given to not try copying from null special field strings
      Admin:
        Tested on rev A2 BB-xM.
        AFAIK the null pointer bugs are all FileSwitch bugs and not bugs in whatever called FileSwitch, although I may be wrong. Not entirely sure how some of the code managed to read strings from null pointers without creating garbage filenames as a result!
      
      
      Version 2.68. Tagged as 'FileSwitch-2_68'
      0b0a3063
  6. 17 Apr, 2001 1 commit
  7. 20 Mar, 2000 1 commit
    • Kevin Bracey's avatar
      Ursula branch merged. · e5079366
      Kevin Bracey authored
      Detail:
        Full merge of Ursula branch. Path length limited to 256 if a compile-time
        check says SVCSTK is still &01C02000.
      
        Fix to bug introduced in RISC OS 3.70 - any errors returned by FSEntry_File
        255 were ignored.
        Some changes from RISC OS Ltd still to come.
      Admin:
        Untested.
      
      Version 2.50. Tagged as 'FileSwitch-2_50'
      e5079366
  8. 05 Nov, 1996 1 commit