Skip to content

Commit

Permalink
Remove remaining FSAT_BUF_SIZE reference
Browse files Browse the repository at this point in the history
  • Loading branch information
jacereda committed Mar 4, 2022
1 parent eb29688 commit 5af7951
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ test: all
./fsatrace$(EXE) ewrmdqt - -- $(TEST_CC_CMD)
./fsatrace$(EXE) ewrmdqt - -- sh -c "cp $(LS) /tmp/foo && mv -f /tmp/foo /tmp/bar && rm -f /tmp/bar"
./fsatrace$(EXE) ewrmdqt - -- sh -c "cp $(LS) /tmp/foo && mv -f /tmp/foo /tmp/bar && rm -f /tmp/bar" # twice, when dst exists it might use another path
# Test buffer size overwrite, since default buffer size is not large enough
# for the amount of output from the command.
env FSAT_BUF_SIZE=2000000 ./fsatrace$(EXE) ewrmdqt /dev/null -- sh -c "for _ in {1..100}; do $(TEST_CC_CMD); done"
./fsatrace$(EXE) ewrmdqt /dev/null -- sh -c "for _ in {1..100}; do $(TEST_CC_CMD); done"

htest: all
cd test && stack install && stack test
Expand Down
3 changes: 1 addition & 2 deletions src/win/fsatrace.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#define ENVBUFSIZE "FSAT_BUF_SIZE"
#define ENVOUT "FSAT_OUT"
#define DEFAULT_LOGSZ 0x100000
#define LOGSZ 0x100000
void inject(HANDLE);

0 comments on commit 5af7951

Please sign in to comment.