Skip to content

Commit

Permalink
rebuilded the user programs and corrected typo in diskStructure.py
Browse files Browse the repository at this point in the history
  • Loading branch information
samsa1 committed May 20, 2021
1 parent cd11db0 commit 13d5ef7
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disk/diskStructures.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def get_data(self):
return perm(self.data)

def mode(self):
if len(self) < SHORT_MODE_LIMIT * BLOCK_SIZE:
if len(self) <= SHORT_MODE_LIMIT * BLOCK_SIZE:
return 0
else:
return 1
Expand Down
Binary file modified filesystem/bin/cat
Binary file not shown.
Binary file modified filesystem/bin/echo
Binary file not shown.
Binary file modified filesystem/bin/grep
Binary file not shown.
Binary file modified filesystem/bin/hexdump
Binary file not shown.
Binary file modified filesystem/bin/neofetch
Binary file not shown.
Binary file removed filesystem/bin/snake
Binary file not shown.
Binary file modified filesystem/bin/top
Binary file not shown.
Binary file modified filesystem/clock
Binary file not shown.
Binary file modified filesystem/ferr_shell
Binary file not shown.
Binary file modified filesystem/games/snake
Binary file not shown.
Binary file modified src/user_program/launcher
Binary file not shown.

0 comments on commit 13d5ef7

Please sign in to comment.