Package: sway / 1.7-6

Metadata

Package Version Patches format
sway 1.7-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Install zsh completions into the correct directory.patch | (download)

meson.build | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 [patch] install zsh completions into the correct directory


0002 Modify default configuration for Debian.patch | (download)

config.in | 2 2 0 - 0 !
1 file changed, 2 insertions( )

 [patch] modify default configuration for debian


0003 Replace strncpy with memcpy.patch | (download)

sway/criteria.c | 6 3 3 - 0 !
1 file changed, 3 insertions( ), 3 deletions(-)

 [patch] replace strncpy with memcpy
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

strncpy is useless here, is dangerous because it doesn't guarantee
that the string is NUL-terminated and causes the following warning:

    ../sway/criteria.c: In function criteria_parse:
    ../sway/criteria.c:712:25: error: strncpy destination unchanged after copying no bytes [-Werror=stringop-truncation]
      712 |                         strncpy(value, valuestart, head - valuestart);
          |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0004 Swaynag remove buffer destruction condition.patch | (download)

swaynag/swaynag.c | 9 2 7 - 0 !
1 file changed, 2 insertions( ), 7 deletions(-)

 [patch] swaynag: remove buffer destruction condition

An address of a variable can never be NULL, so checking it doesn't make
sense; and `destroy_buffer()` can operate on already destroyed buffers
anyway.

Fixes #6780

0005 Backport patch for pcre2.patch | (download)

include/sway/criteria.h | 7 4 3 - 0 !
meson.build | 2 1 1 - 0 !
sway/criteria.c | 44 25 19 - 0 !
sway/meson.build | 2 1 1 - 0 !
4 files changed, 31 insertions( ), 24 deletions(-)

 [patch] backport pcre patch


0006 Backport pcre2 criteria checking.patch | (download)

sway/criteria.c | 16 8 8 - 0 !
1 file changed, 8 insertions( ), 8 deletions(-)

 [patch] updating criteria checking with pcre2