From 96ac1ae586bc9cdbbdef543115f74b7bf91eb690 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 25 Jun 2020 14:58:01 +0100 Subject: [PATCH 1/2] =?UTF-8?q?examples:=20Clarify=20that=20envvar=20isn?= =?UTF-8?q?=E2=80=99t=20unset=20after=20being=20used?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Perhaps that was how sysprof used to behave, but it doesn’t seem to behave like that now. Signed-off-by: Philip Withnall --- examples/app.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/app.c b/examples/app.c index d48c5554..c2544cb1 100644 --- a/examples/app.c +++ b/examples/app.c @@ -30,9 +30,7 @@ main (int argc, /* This will check for SYSPROF_TRACE_FD=N, parse the FD number, and use it as * the backing file for the trace data. It may be a file, socket, pipe, - * memfd, etc. To reduce chances of the FD being used a second time, this - * function will also set the environment variable to "" by overwriting the - * first byte to \0. + * memfd, etc. The FD must not be used a second time. */ writer = sysprof_capture_writer_new_from_env (0); From 1bfdcca9d1818130ad9158237b597756c59adf75 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 25 Jun 2020 14:58:42 +0100 Subject: [PATCH 2/2] build: Update bug report define in meson.build GitLab! Signed-off-by: Philip Withnall --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 03e91872..d9f032dc 100644 --- a/meson.build +++ b/meson.build @@ -31,7 +31,7 @@ config_h.set_quoted('API_VERSION_S', '@0@'.format(libsysprof_api_version)) config_h.set_quoted('PACKAGE_NAME', 'sysprof') config_h.set_quoted('PACKAGE_VERSION', meson.project_version()) config_h.set_quoted('PACKAGE_STRING', 'sysprof-' + meson.project_version()) -config_h.set_quoted('PACKAGE_BUGREPORT', 'https://bugzilla.gnome.org/enter_bug.cgi?product=sysprof') +config_h.set_quoted('PACKAGE_BUGREPORT', 'https://gitlab.gnome.org/GNOME/sysprof/-/issues/new') config_h.set_quoted('PACKAGE_LIBEXECDIR', join_paths(get_option('prefix'), get_option('libexecdir'))) config_h.set_quoted('PACKAGE_LIBDIR', join_paths(get_option('prefix'), get_option('libdir'))) config_h.set('PACKAGE_TARNAME', 'PACKAGE_STRING')