#
711e2dc0 |
|
01-Dec-2021 |
Augustin Cavalier <waddlesplash@gmail.com> |
Adjust all struct dirent creations (again), this time to use offsetof(). The dirent struct is not packed, so offsetof(dirent, d_name) != sizeof(dirent). Thus in order not to waste the alignment bytes (which are significant, on x86_64 at least, sizeof(dirent)==32, but offsetof(...)=26.) This is also the most portable way to handle things, and should work just fine in cross-platform code that has a non-zero-sized d_name.
|
#
9d242fb9 |
|
18-Nov-2021 |
Augustin Cavalier <waddlesplash@gmail.com> |
file_systems & Tracker: Do not assume sizeof(dirent) contains 1 byte for the name. At present, it does, but that is an oddity we have preserved from BeOS that the next commit is going to remove. (This commit thus wastes 1 byte without the following one.) Most changes are pretty straightforward: only a +1 is needed, and a few removed from sizing calculations. Some filesystems like UDF originally passed back the length with the \0 included, so they have been adjusted further. UFS2 had some other sizing problems which are also corrected in this commit.
|
#
fcf7cbe7 |
|
16-Jul-2019 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
PVS V522: null pointer dereferences Change-Id: Iaa753ef3a93c36031789a85f87e569fc410d3304 Reviewed-on: https://review.haiku-os.org/c/1604 Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
|
#
fd9afd8a |
|
29-May-2017 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Missing localizations in tracker info window. Patches from Karvjorm in #6987 (but not directly related to that ticket)
|
#
acd00fc5 |
|
22-Jul-2014 |
John Scipione <jscipione@gmail.com> |
Tracker: init fTime to 0, CID 610125
|
#
1bea02ac |
|
22-Jul-2014 |
John Scipione <jscipione@gmail.com> |
Tracker: init fTime to 0, CID 610125
|
#
01579713 |
|
20-Jun-2014 |
John Scipione <jscipione@gmail.com> |
Tracker: NodeWalker style fixes
|
#
db416834 |
|
02-Jan-2013 |
Matt Madia <mattmadia@gmail.com> |
Automatic whitespace cleanup. No functional change.
|
#
b05aa8b5 |
|
27-Jul-2012 |
John Scipione <jscipione@gmail.com> |
Style changes in Tracker, no functional change. Manual whitespace cleanup Change instances of const char * to const char* Convert /* */ C style comments to // C++ style comments
|
#
02be5353 |
|
22-May-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Added libtracker.so to the repository and the build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12772 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
acd00fc5d4b13b2243f1fba1ca67019309392997 |
|
22-Jul-2014 |
John Scipione <jscipione@gmail.com> |
Tracker: init fTime to 0, CID 610125
|
#
1bea02aca1f17ccc01064bb502a1a40d793eb100 |
|
22-Jul-2014 |
John Scipione <jscipione@gmail.com> |
Tracker: init fTime to 0, CID 610125
|
#
01579713f81b80bd645a39704d6db7badb6dedaf |
|
20-Jun-2014 |
John Scipione <jscipione@gmail.com> |
Tracker: NodeWalker style fixes
|
#
db41683495bfde817554415d14ae6f9cc91e77eb |
|
02-Jan-2013 |
Matt Madia <mattmadia@gmail.com> |
Automatic whitespace cleanup. No functional change.
|
#
b05aa8b5b16e5b4f420a35c37805c6387df98737 |
|
27-Jul-2012 |
John Scipione <jscipione@gmail.com> |
Style changes in Tracker, no functional change. Manual whitespace cleanup Change instances of const char * to const char* Convert /* */ C style comments to // C++ style comments
|
#
02be5353fd41ea40007a382e13f007eaf6b5a3a0 |
|
22-May-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Added libtracker.so to the repository and the build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12772 a95241bf-73f2-0310-859d-f6bbb57e9c96
|