tdf#99528: revert vertical tabs changes (24.8 only)
[LibreOffice.git] / external / breakpad / breakpad-no-env.patch.1
blobd1b37bd2186894405d4029936c081663a0dd6709
1 diff -ur breakpad.org/src/client/linux/minidump_writer/minidump_writer.cc breakpad/src/client/linux/minidump_writer/minidump_writer.cc
2 --- breakpad.org/src/client/linux/minidump_writer/minidump_writer.cc    2021-06-19 15:32:57.258078847 +0200
3 +++ breakpad/src/client/linux/minidump_writer/minidump_writer.cc        2021-06-19 15:35:07.014082452 +0200
4 @@ -289,7 +289,8 @@
5      dir.CopyIndex(dir_index++, &dirent);
6  
7      dirent.stream_type = MD_LINUX_ENVIRON;
8 -    if (!WriteProcFile(&dirent.location, GetCrashThread(), "environ"))
9 +    // don't include the user's env
10 +    if (true || !WriteProcFile(&dirent.location, GetCrashThread(), "environ"))
11        NullifyDirectoryEntry(&dirent);
12      dir.CopyIndex(dir_index++, &dirent);