Skip to content

inotify-tools/inotify-tools

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

* configure: Add AC_SYS_LARGEFILE autoconf macro

This will define _FILE_OFFSET_BITS to be 64 if off_t is 64bit
and we do not need to define lfs64 functions

Signed-off-by: Khem Raj <raj.khem@gmail.com>

* Fix build for out-of-tree builds

When build tree is outside source-tree its not able to find
fanotify-dfid-name.h, add needed include paths on compiler commandline

Signed-off-by: Khem Raj <raj.khem@gmail.com>

* libinotifytools: Bridge differences between musl/glibc/kernel fnotify.h

System detects to use sys/fnotify.h and then assumes glibc's definitions
but musl has definitions of its own. perhaps portable thing would be to
use linux/fnotify.h interface directly on linux irrespective of libc

See the differences discussion here [1]

[1] https://inbox.vuxu.org/musl/20191112220151.GC27331@x230/T/#ma8700992467200c8792e0fa8508eae656b81aeba

Signed-off-by: Khem Raj <raj.khem@gmail.com>

* replace stat64/lstat64 with stat/lstat

lfs64 functions are not needed when off_t is 64-bit
Additionally this fixes build with musl which does not
export these functions without defining _LARGEFILE64_SOURCE

Signed-off-by: Khem Raj <raj.khem@gmail.com>

* Apply changes from clang-format

Signed-off-by: Khem Raj <raj.khem@gmail.com>

* Fix errors found by clang-format

Fixes
-Wno-gnu-variable-sized-type-not-at-end for musl clang-format

Signed-off-by: Khem Raj <raj.khem@gmail.com>

* ci: Enable musl in CI using alpine

Signed-off-by: Khem Raj <raj.khem@gmail.com>

* Tell clang-tidy to ignore warning about variable sized type

Signed-off-by: Eric Curtin <ecurtin@redhat.com>

* Add gcompat for code coverage tool

Signed-off-by: Eric Curtin <ecurtin@redhat.com>

* Skip sonarcloud on alpine

Signed-off-by: Eric Curtin <ecurtin@redhat.com>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Eric Curtin <ecurtin@redhat.com>
Co-authored-by: Eric Curtin <ecurtin@redhat.com>
8367bdd

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
December 28, 2022 20:39
July 25, 2022 08:43
May 18, 2021 10:42
December 28, 2022 20:39
January 29, 2020 23:19
March 7, 2010 11:58
November 22, 2009 15:05
November 22, 2009 15:05
September 22, 2021 10:20

GitHub Build Status Travis Build Status Cirrus Build Status Coverity Build Status Language Grade: C/C++ Coverage Status

inotify-tools

This is a package of some commandline utilities relating to inotify.

The general purpose of this package is to allow inotify's features to be used from within shell scripts. Read the man pages for further details.