mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-30 12:30:33 +00:00
commit
99de31d45a
6
flake.lock
generated
6
flake.lock
generated
@ -21,11 +21,11 @@
|
||||
"multiversal": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1703617805,
|
||||
"narHash": "sha256-GngLWR9i+hC7hJ+ZkKlRK4K63lIJ4D/CMXZwefcVAqw=",
|
||||
"lastModified": 1712682701,
|
||||
"narHash": "sha256-/bHk7tU3+xxIs4YGLUyJVG9RsVO23ek41R//eO1F22Q=",
|
||||
"owner": "autc04",
|
||||
"repo": "multiversal",
|
||||
"rev": "27c08c654bbd48d23f025741e3a584b59374904a",
|
||||
"rev": "32dff28d1d618972cc2f544c86ee017b6464fa89",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -135,8 +135,14 @@ int _open_r(struct _reent *reent, const char* name, int flags, int mode)
|
||||
|
||||
int _close_r(struct _reent *reent, int fd)
|
||||
{
|
||||
if(fd >= kMacRefNumOffset)
|
||||
FSClose(fd - kMacRefNumOffset);
|
||||
if(fd >= kMacRefNumOffset) {
|
||||
short refNum = fd - kMacRefNumOffset;
|
||||
short vRefNum;
|
||||
OSErr err = GetVRefNum(refNum, &vRefNum);
|
||||
FSClose(refNum);
|
||||
if (err == noErr)
|
||||
FlushVol(NULL, vRefNum);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 27c08c654bbd48d23f025741e3a584b59374904a
|
||||
Subproject commit 32dff28d1d618972cc2f544c86ee017b6464fa89
|
Loading…
Reference in New Issue
Block a user