<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yuzu/src/common/fs/file.cpp, branch main</title>
<subtitle>Nintendo Switch emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/'/>
<entry>
<title>android: Implement SAF support &amp; migrate to SDK 31. (#4)</title>
<updated>2023-06-03T07:05:29+00:00</updated>
<author>
<name>bunnei</name>
<email>bunneidev@gmail.com</email>
</author>
<published>2023-02-04T00:13:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=ef605f7d8f8241b95b977d95cf5247c1f2d8a309'/>
<id>ef605f7d8f8241b95b977d95cf5247c1f2d8a309</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>general: fix compile for Apple Clang</title>
<updated>2022-11-23T03:22:28+00:00</updated>
<author>
<name>Liam</name>
<email>byteslice@airmail.cc</email>
</author>
<published>2022-11-21T16:31:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=9737615948d431cf56826f3c109bbc0fef7b4d10'/>
<id>9737615948d431cf56826f3c109bbc0fef7b4d10</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>general: Convert source file copyright comments over to SPDX</title>
<updated>2022-04-23T09:55:32+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2022-04-23T08:59:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=99ceb03a1cfcf35968cab589ea188a8c406cda52'/>
<id>99ceb03a1cfcf35968cab589ea188a8c406cda52</id>
<content type='text'>
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
</pre>
</div>
</content>
</entry>
<entry>
<title>general: Fix clang/gcc build errors</title>
<updated>2022-03-20T06:25:09+00:00</updated>
<author>
<name>ameerj</name>
<email>52414509+ameerj@users.noreply.github.com</email>
</author>
<published>2022-03-19T05:50:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=866b7c20a8958069a048ffa600155ec3cbd2e5f2'/>
<id>866b7c20a8958069a048ffa600155ec3cbd2e5f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>common: Reduce unused includes</title>
<updated>2022-03-19T06:23:33+00:00</updated>
<author>
<name>ameerj</name>
<email>52414509+ameerj@users.noreply.github.com</email>
</author>
<published>2022-03-19T03:48:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=8a8ea65faeda6fb1fa45eb3734b9a3b991477cdb'/>
<id>8a8ea65faeda6fb1fa45eb3734b9a3b991477cdb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>common: fs: file: Revert Flush to its previous behavior and add Commit</title>
<updated>2021-07-06T09:59:47+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2021-07-05T16:32:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=14ab50defb2c6b06aec9a1401154fc57e662fc9d'/>
<id>14ab50defb2c6b06aec9a1401154fc57e662fc9d</id>
<content type='text'>
It became apparent that logging can continuously spam errors that trigger file flushing.
Since committing the files to disk is an expensive operation, this causes unnecessarily high disk usage.
As such, we will revert Flush() to the previous behavior and add a Commit() member function in the event that this behavior is needed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It became apparent that logging can continuously spam errors that trigger file flushing.
Since committing the files to disk is an expensive operation, this causes unnecessarily high disk usage.
As such, we will revert Flush() to the previous behavior and add a Commit() member function in the event that this behavior is needed.
</pre>
</div>
</content>
</entry>
<entry>
<title>common: fs: file: Flush the file in GetSize</title>
<updated>2021-07-06T09:59:47+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2021-07-05T16:05:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=d299d5531ff234d4a9c986126b872aac4ffc4dd8'/>
<id>d299d5531ff234d4a9c986126b872aac4ffc4dd8</id>
<content type='text'>
This ensures that GetSize always retrieves the correct file size after a write operation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This ensures that GetSize always retrieves the correct file size after a write operation.
</pre>
</div>
</content>
</entry>
<entry>
<title>common: fs: Amend IsFile check in FileOpen / (Write/Append)StringToFile</title>
<updated>2021-06-22T19:06:58+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2021-06-19T07:49:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=76b2313b25e2fd33a508f63137d5113e1ca85150'/>
<id>76b2313b25e2fd33a508f63137d5113e1ca85150</id>
<content type='text'>
This check was preventing files with the Write or Append file access modes from being created, as per the documented behavior in FileAccessMode.
This amends the check to test for the existence of a filesystem object prior to checking whether it is a regular file.
Thanks to liushuyu for pointing out that removing the check altogether would not guard against attempting to open non-regular files such as directories, symlinks, FIFO (pipes), sockets, block devices, or character devices.
The documentation has also been updated for these functions to clarify that a file refers to a regular file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This check was preventing files with the Write or Append file access modes from being created, as per the documented behavior in FileAccessMode.
This amends the check to test for the existence of a filesystem object prior to checking whether it is a regular file.
Thanks to liushuyu for pointing out that removing the check altogether would not guard against attempting to open non-regular files such as directories, symlinks, FIFO (pipes), sockets, block devices, or character devices.
The documentation has also been updated for these functions to clarify that a file refers to a regular file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6460 from Morph1984/fs-access-log-fix</title>
<updated>2021-06-16T18:03:01+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2021-06-16T18:03:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=92942fe01bf290d247e1a51562a07fe280448b47'/>
<id>92942fe01bf290d247e1a51562a07fe280448b47</id>
<content type='text'>
fsp_srv: Fix filesystem access logging</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fsp_srv: Fix filesystem access logging</pre>
</div>
</content>
</entry>
<entry>
<title>common: fs: file: Remove redundant call to WriteStringToFile</title>
<updated>2021-06-16T04:06:02+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2021-06-13T14:55:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=74790e4f33b5d287859ae91df984753eaa84aa28'/>
<id>74790e4f33b5d287859ae91df984753eaa84aa28</id>
<content type='text'>
The Append open mode will create a new file if said file does not exist at a given path, making this call redundant.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Append open mode will create a new file if said file does not exist at a given path, making this call redundant.
</pre>
</div>
</content>
</entry>
</feed>
