History log of /haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/fs_cache.c
Revision Date Author Comments
# 425ac1b6 20-Jun-2023 Alexander von Gluck IV <kallisti5@unixzen.com>

refactor: Swap %Ld for %lld in all format usages

* %Ld is an undocumented alias for %lld in glibc.
* muslc doesn't implement it for this reason.
* While we will likely never drop %Ld support,
lets clean house and set a better example.

Change-Id: Id46dad3104abae483e80cc5c05d1464d3ecd8030
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6636
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# e158326d 21-Apr-2021 Murai Takashi <tmurai01@gmail.com>

userlandfs/server/beos: Fix wrong type of arguments to formatting function

Pointed out by lgtm.

Change-Id: I0b0fde001e18902efee386be5723a1290f6e512f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3894
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 7f586617 04-Jul-2019 Murai Takashi <tmurai01@gmail.com>

userlandfs/server/beos : Fix -Wformat=

Change-Id: Ic39bf1cc28a94ef8d338c90ea357091e63e7c6e4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1561
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 49506076 19-Jul-2019 Adrien Destugues <pulkomandy@pulkomandy.tk>

Add a features.h to auto enable _DEFAULT_SOURCE

Unless __STRICT_ANSI__ is defined (as it is when running the compiler in
--std=c89 or --std=c99, but not when running it without any specific
args), we can enable these by default and behave like most other
systems. I don't know why no one has done this yet despite suggesting it
multiple times and people prefer to #define _BSD_SOURCE manually
everywhere.

Remove all places in our Jamfiles and sources where it had been defined.
_DEFAULT_SOURCE is now enabled by default for all sources of Haiku, since we
let the compiler use GNU extensions (no strict C standard specified on
command line)

Use _DEFAULT_SOURCE as the define name to match current versions of
glibc. Enable it if _BSD_SOURCE is #defined in compiler flags, for
backward compatibility.

Change-Id: I6db04da5f6db437723cdfba3478f5094a69d7727
Reviewed-on: https://review.haiku-os.org/c/1633
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 0df9e45c 15-Jul-2019 Adrien Destugues <pulkomandy@pulkomandy.tk>

Use explicit_bzero where it makes sense

PVS studio new report, warning type V597

Change-Id: Icd85aadf3ffc587806f9a24d224d0a369d4ce0e0
Reviewed-on: https://review.haiku-os.org/c/1594
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 43e52704 05-May-2016 Murai Takashi <tmurai01@gmail.com>

fs_cache.c: gcc6 build fix

* Reindent source code, to fix gcc6
'-Werror=misleading-indentation' warning.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>


# 2bdea08d 01-Jul-2015 Philippe Saint-Pierre <stpere@gmail.com>

Check for malloc result done on wrong variable.

CID 1255090


# bd8837cd 16-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixed warning.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29567 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 25c4a958 28-Feb-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Renamed files (removed "beos_" prefix).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29355 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2bdea08d381c8689d7e132c5091d13a0abb4fb97 01-Jul-2015 Philippe Saint-Pierre <stpere@gmail.com>

Check for malloc result done on wrong variable.

CID 1255090


# bd8837cd1b7144ce0941bdbcd2006b62526cb384 16-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixed warning.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29567 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 25c4a958a2c785ab00fb6c3bff6605c55fcc25ad 28-Feb-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Renamed files (removed "beos_" prefix).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29355 a95241bf-73f2-0310-859d-f6bbb57e9c96