diff --git a/Makefile b/Makefile index e08225e..59edbc8 100755 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PACKAGE=a2pi -VERSION=0.2.2 +VERSION=0.2.3 DIST=$(PACKAGE)-$(VERSION) DISTDIR=./$(DIST) diff --git a/debian/changelog b/debian/changelog index b021869..48b33e9 100755 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,16 @@ -a2pi (0.2.2-3) unstable; urgency=low +a2pi (0.2.3-5) unstable; urgency=medium + + * Flush writes to piDrives + + -- David Schmenk Sun, 9 May 2021 12:28:00 -0800 + +a2pi (0.2.3-4) unstable; urgency=low + + * A2Pi 6.5 updates + + -- David Schmenk Sun, 25 Apr 2021 13:44:30 -0800 + +a2pi (0.2.3-3) unstable; urgency=low * First Stretch release diff --git a/src/a2pid.c b/src/a2pid.c index 59cdce8..a3c07b7 100755 --- a/src/a2pid.c +++ b/src/a2pid.c @@ -183,6 +183,8 @@ int vdrvwrite(int afd, int drive, int block) lseek(vfd, block * 512, 0); if (write(vfd, block_buff, 512) != 512) err = 0x27; /* ProDOS I/O error */ + else + fsync(vfd); } else err = 0x28; /* ProDOS No device connected error */