Merge branch 'more-misc-fixes' into 'master'

Misc fixes

See merge request GNOME/sysprof!28
This commit is contained in:
Christian Hergert
2020-06-25 20:57:11 +00:00
2 changed files with 2 additions and 4 deletions

View File

@ -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);

View File

@ -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')