"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "shell/source/unix/exec/shellexec.cxx" between
libreoffice-7.0.6.1.tar.xz and libreoffice-7.0.6.2.tar.xz

About: LibreOffice source code (core). "Still" packages (released version).

shellexec.cxx  (libreoffice-7.0.6.1.tar.xz):shellexec.cxx  (libreoffice-7.0.6.2.tar.xz)
skipping to change at line 154 skipping to change at line 154
SAL_INFO("shell", "stat(" << pathname8 << ") failed with errno " << e3); SAL_INFO("shell", "stat(" << pathname8 << ") failed with errno " << e3);
} }
if (e2 == 0 && S_ISDIR(st.st_mode)) { if (e2 == 0 && S_ISDIR(st.st_mode)) {
dir = true; dir = true;
} else if (e2 != 0 || !S_ISREG(st.st_mode) } else if (e2 != 0 || !S_ISREG(st.st_mode)
|| (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) != 0) || (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) != 0)
{ {
throw css::lang::IllegalArgumentException( throw css::lang::IllegalArgumentException(
"XSystemShellExecute.execute, cannot process <" + aCommand + ">", {}, 0); "XSystemShellExecute.execute, cannot process <" + aCommand + ">", {}, 0);
} else if (pathname.endsWithIgnoreAsciiCase(".class") } else if (pathname.endsWithIgnoreAsciiCase(".class")
|| pathname.endsWithIgnoreAsciiCase(".fileloc")
|| pathname.endsWithIgnoreAsciiCase(".jar")) || pathname.endsWithIgnoreAsciiCase(".jar"))
{ {
dir = true; dir = true;
} }
} }
//TODO: Using open(1) with an argument that syntactically is an absolute //TODO: Using open(1) with an argument that syntactically is an absolute
// URI reference does not necessarily give expected results: // URI reference does not necessarily give expected results:
// 1 If the given URI reference matches a supported scheme (e.g., // 1 If the given URI reference matches a supported scheme (e.g.,
// "mailto:foo"): // "mailto:foo"):
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)