Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rasmus Thomsen
aports
Commits
9a7e1a49
Commit
9a7e1a49
authored
Jan 08, 2018
by
Leonardo Arena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/inotify-tools: upgrade to 3.20.1
parent
052f9504
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
51 deletions
+3
-51
main/inotify-tools/APKBUILD
main/inotify-tools/APKBUILD
+3
-5
main/inotify-tools/correct-code-alignment.patch
main/inotify-tools/correct-code-alignment.patch
+0
-46
No files found.
main/inotify-tools/APKBUILD
View file @
9a7e1a49
# Contributor:
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname
=
"inotify-tools"
pkgver
=
3.20.
0
pkgver
=
3.20.
1
pkgrel
=
0
pkgdesc
=
"C library and CLI tools providing a simple interface to inotify"
url
=
"https://github.com/rvoicilas/inotify-tools"
...
...
@@ -10,8 +10,7 @@ license="GPL-2.0"
depends
=
"!inotify-tools-inc"
makedepends
=
"automake autoconf libtool"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/rvoicilas/
$pkgname
/archive/
$pkgver
.tar.gz
correct-code-alignment.patch"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/rvoicilas/
$pkgname
/archive/
$pkgver
.tar.gz"
builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
prepare
()
{
...
...
@@ -33,5 +32,4 @@ package() {
make
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"a06b2cd92e1aec2a01fd45a48be442fcf613aec11f17dff123d49d94904394230cb2ca810640180eced8dfe8a5bd76d89226a10f65c3a6e85528b10a24f79e1d inotify-tools-3.20.0.tar.gz
5beb28357c2555961002a12b8ca33b0fdb4e9ce374ad5802c5f98d8fdaca8686a52a4ceb50100e50fca2813c8be0b8e9929168391bf805cb276f8d457bad1ba9 correct-code-alignment.patch"
sha512sums
=
"a97d27e6033036f0db5c0737bee3510206db9f4c843f0d18f1b2e179e838624ea33316c34fd9917c158dbb3580367908e90042fb1bfb146f150c32833b0b2ff2 inotify-tools-3.20.1.tar.gz"
main/inotify-tools/correct-code-alignment.patch
deleted
100644 → 0
View file @
052f9504
From 5fe3ba82134d8b85adc69cf1d6c5742b4bde20b4 Mon Sep 17 00:00:00 2001
From: James Knight <james.d.knight@live.com>
Date: Thu, 16 Jun 2016 00:00:57 -0400
Subject: [PATCH] correct code alignment
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The following replaces the indented section of code from spaces to tabs.
No functional changes. Aside from consistency, this resolves a GCC 6
build issue with the flag `-Werror=misleading-indentation` enabled:
inotifywait.c: In function ‘output_event_csv’:
inotifywait.c:126:5: error: this ‘if’ clause does not guard...
[-Werror=misleading-indentation]
if (filename != NULL)
^~
inotifywait.c:129:2: note: ...this statement, but the latter is
misleadingly indented as if it is guarded
by the ‘if’
printf("%s,", csv_escape( inotifytools_event_to_str( event->mask )
) );
^~~~~~
Signed-off-by: James Knight <james.d.knight@live.com>
---
src/inotifywait.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/inotifywait.c b/src/inotifywait.c
index c5ce5e3..404a85b 100644
--- a/src/inotifywait.c
+++ b/src/inotifywait.c
@@ -122,9 +122,9 @@
void validate_format( char * fmt ) {
void output_event_csv( struct inotify_event * event ) {
- char *filename = csv_escape(inotifytools_filename_from_wd(event->wd));
- if (filename != NULL)
- printf("%s,", filename);
+ char *filename = csv_escape(inotifytools_filename_from_wd(event->wd));
+ if (filename != NULL)
+ printf("%s,", filename);
printf("%s,", csv_escape( inotifytools_event_to_str( event->mask ) ) );
if ( event->len > 0 )
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment