kio.git
18 months ago[PATCH] Don't leak file descriptors when spawning new workers
Kevin Ottens [Fri, 5 Jan 2024 10:51:49 +0000 (11:51 +0100)]
[PATCH] Don't leak file descriptors when spawning new workers

By default we inherit file descriptors from the parent in
the worker process. This is a leak of resources since the
worker won't be able to do anything with them. Also, in
the case of CIFS this causes locks which might lead to bad
surprises in the parent process.

Gbp-Pq: Name fix_cifs_file_locks.patch

18 months ago[PATCH] Don't crash if KMountPoint gives nothing back while checking for CIFS
Kevin Ottens [Fri, 15 Sep 2023 07:45:58 +0000 (09:45 +0200)]
[PATCH] Don't crash if KMountPoint gives nothing back while checking for CIFS

BUG: 474451

Gbp-Pq: Name upstream_48322f44_fix_crash_when_kmountpoint_gives_nothing_on_cifs.patch

18 months ago[PATCH] Don't unlink + rename on CIFS mounts during copy operations
Kevin Ottens [Thu, 24 Aug 2023 16:42:19 +0000 (18:42 +0200)]
[PATCH] Don't unlink + rename on CIFS mounts during copy operations

It turns out that the behavior of unlink() on CIFS mounts can be a bit
"interesting". If the file one tries to unlink is opened then the
operation is claimed to have succeeded but the filename is still visible
in the file hierarchy until the last handle is closed.

Since we rightfully attempt to copy under a temporary name + unlink +
rename during copy() operations this would end badly (as the unlink()
would "succeed" but the rename() would fail!). For instance Okular would
constantly hit this case but it's likely not the only one to be affected.

So instead we detect if the destination is a CIFS mount, in such cases
we now overwrite the file directly since this actually succeed.

BUG: 454693
(cherry picked from commit d248949eea3e3dcbb9283f30eebcb9ae86412cd1)

Gbp-Pq: Name upstream_3e6800b3_fix_cifs_copy.patch

18 months agoUse CXX_FLAGS for moc_predefs.h
Maximiliano Curia [Wed, 28 Aug 2019 14:50:33 +0000 (11:50 -0300)]
Use CXX_FLAGS for moc_predefs.h

Gbp-Pq: Name Use-CXX_FLAGS-for-moc_predefs.h.patch

18 months agoOn Hurd, do not look for functions unimplemented in libc
Pino Toscano [Thu, 23 May 2024 21:13:17 +0000 (23:13 +0200)]
On Hurd, do not look for functions unimplemented in libc

Last-Update: 2022-02-22
Forwarded: not-needed

The check_function_exists() function of cmake does not keep into account the
defines that glibc provides for the stubs (i.e. unimplemented functions that
always return ENOSYS), so some functions are detected as available.
Unfortunately, due to --fatal-warnings for the linker, linking will fail.
Hence, do not attempt to look for functions that are currently unimplemented
on GNU/Hurd's libc.

Gbp-Pq: Name hurd_disable_unimplemented.diff

18 months agoreport_error_removing_dirs
Debian/Kubuntu Qt/KDE Maintainers [Thu, 31 Mar 2016 13:38:43 +0000 (15:38 +0200)]
report_error_removing_dirs

===================================================================

Gbp-Pq: Name report_error_removing_dirs

18 months agokio (5.103.0-1+deb12u1) bookworm; urgency=medium
Aurélien COUDERC [Thu, 23 May 2024 21:13:17 +0000 (23:13 +0200)]
kio (5.103.0-1+deb12u1) bookworm; urgency=medium

  [ Aurélien COUDERC ]
  * Backport upstream patches to fix incorrect behaviours with CIFS:
    - Don't unlink + rename on CIFS mounts during copy operations; Don't crash
      if KMountPoint gives nothing back while checking. (Closes: #1069855)
    - Don't leak existing file handles to newly spanwed KIO workers.
      (Closes: #1070322)

[dgit import unpatched kio 5.103.0-1+deb12u1]

18 months agoImport kio_5.103.0-1+deb12u1.debian.tar.xz
Aurélien COUDERC [Thu, 23 May 2024 21:13:17 +0000 (23:13 +0200)]
Import kio_5.103.0-1+deb12u1.debian.tar.xz

[dgit import tarball kio 5.103.0-1+deb12u1 kio_5.103.0-1+deb12u1.debian.tar.xz]

2 years agoImport kio_5.103.0.orig.tar.xz
Aurélien COUDERC [Sun, 12 Feb 2023 20:44:31 +0000 (21:44 +0100)]
Import kio_5.103.0.orig.tar.xz

[dgit import orig kio_5.103.0.orig.tar.xz]