"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/mock-flatpak.c" between
flatpak-1.15.1.tar.xz and flatpak-1.15.2.tar.xz

About: Flatpak is a Linux application sandboxing and distribution framework. Pre-release.

mock-flatpak.c  (flatpak-1.15.1.tar.xz):mock-flatpak.c  (flatpak-1.15.2.tar.xz)
skipping to change at line 35 skipping to change at line 35
#include <gio/gio.h> #include <gio/gio.h>
#include "flatpak-context-private.h" #include "flatpak-context-private.h"
int int
main (int argc, main (int argc,
char **argv) char **argv)
{ {
int i; int i;
g_debug ("This is a mock implementation of `flatpak run` for the portal"); g_info ("This is a mock implementation of `flatpak run` for the portal");
for (i = 0; i < argc; i++) for (i = 0; i < argc; i++)
g_print ("argv[%d] = %s\n", i, argv[i]); g_print ("argv[%d] = %s\n", i, argv[i]);
for (i = 0; i < argc; i++) for (i = 0; i < argc; i++)
{ {
if (g_str_has_prefix (argv[i], "--env-fd=")) if (g_str_has_prefix (argv[i], "--env-fd="))
{ {
g_autoptr(FlatpakContext) context = flatpak_context_new (); g_autoptr(FlatpakContext) context = flatpak_context_new ();
const char *value = argv[i] + strlen ("--env-fd="); const char *value = argv[i] + strlen ("--env-fd=");
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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