Package: libuv1
Version: 1.23.2-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu disco ubuntu-patch



In Ubuntu, the attached patch was applied to achieve the following:

  * Fix path_max_zero_st_size to follow renaming of variable upstream.

This should be fairly self-explanatory, I'd imagine.

... Adam


-- System Information:
Debian Release: buster/sid
  APT prefers disco
  APT policy: (500, 'disco')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-10-lowlatency (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru libuv1-1.23.2/debian/patches/path_max_zero_st_size 
libuv1-1.23.2/debian/patches/path_max_zero_st_size
--- libuv1-1.23.2/debian/patches/path_max_zero_st_size  2018-10-23 
06:58:34.000000000 -0600
+++ libuv1-1.23.2/debian/patches/path_max_zero_st_size  2018-11-14 
19:29:15.000000000 -0700
@@ -79,13 +79,13 @@
    maxlen = st.st_size;
  
 +  /* Some symlinks in /proc report st_size == 0 */
-+  if (len == 0) {
++  if (maxlen == 0) {
 +#if defined(_POSIX_PATH_MAX)
-+    len = _POSIX_PATH_MAX;
++    maxlen = _POSIX_PATH_MAX;
 +#elif defined(PATH_MAX)
-+    len = PATH_MAX;
++    maxlen = PATH_MAX;
 +#else
-+    len = 4096; /* fallback */
++    maxlen = 4096; /* fallback */
 +#endif
 +  }
 +

Reply via email to