Compare commits

..

6 Commits

Author SHA1 Message Date
Robert Roth
7e3e4b6860 Prepared release 3.19.3 2015-12-14 19:40:21 +02:00
Jasper Lievisse Adriaanse
02070b7170 Add various headers to unbreak compilation 2015-12-11 15:03:49 +01:00
Jasper Lievisse Adriaanse
fcfacf3213 PROT_EXECUTE -> PROT_EXEC 2015-12-11 14:59:11 +01:00
Jasper Lievisse Adriaanse
7925f83b57 Fix compilation because glibtop_machine definition has moved. 2015-12-11 14:57:34 +01:00
Cédric Valmary
68104bdde1 Updated Occitan translation 2015-11-10 14:02:39 +00:00
Robert Roth
ac2aef0f47 Prepared release 3.18.0 2015-09-21 20:10:23 +03:00
9 changed files with 78 additions and 61 deletions

9
NEWS
View File

@@ -1,3 +1,12 @@
14 December: Overview of changes in 2.33.3
* Fixed borken compilation on OpenBSD
* Updated translations.
21 September 2015: Overview of changes in 2.32.0
* Stable release
14 September 2015: Overview of changes in 2.31.91
================================================
* Darwin:

View File

@@ -3,8 +3,8 @@ dnl Configure script for the Gnome library
dnl
m4_define([libgtop_major_version], [2])
m4_define([libgtop_minor_version], [31])
m4_define([libgtop_micro_version], [91])
m4_define([libgtop_minor_version], [33])
m4_define([libgtop_micro_version], [3])
m4_define([libgtop_version], [libgtop_major_version.libgtop_minor_version.libgtop_micro_version])
dnl increment if the interface has additions, changes, removals.

View File

@@ -1,25 +1,23 @@
# Occitan translation of libgtop.
# Copyright (C) 1998-2004 Free Software Foundation, Inc.
# This file is distributed under the GNU General Public License Version 2.
#
#
#
# Cédric Valmary (Tot en Òc) <cvalmary@yahoo.fr>, 2015.
# Cédric Valmary <cvalmary@yahoo.fr>, 2015.
# Cédric Valmary (Tot en òc) <cvalmary@yahoo.fr>, 2015.
msgid ""
msgstr ""
"Project-Id-Version: libgtop 2.9.91\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=libgto"
"p&keywords=I18N+L10N&component=general\n"
"POT-Creation-Date: 2013-12-19 14:39+0000\n"
"PO-Revision-Date: 2015-04-30 09:46+0200\n"
"Last-Translator: Cédric Valmary (Tot en Òc) <cvalmary@yahoo.fr>\n"
"Language-Team: www.totenoc.eu\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=libgtop"
"&keywords=I18N+L10N&component=general\n"
"POT-Creation-Date: 2015-04-30 07:47+0000\n"
"PO-Revision-Date: 2015-10-31 08:15+0200\n"
"Last-Translator: Cédric Valmary (Tot en òc) <cvalmary@yahoo.fr>\n"
"Language-Team: Tot en òc (totenoc.eu)\n"
"Language: oc\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Virtaal 0.7.0\n"
"X-Generator: Virtaal 0.7.1\n"
"X-Project-Style: gnome\n"
#: ../lib/read.c:51
@@ -53,7 +51,7 @@ msgstr "Activa lo desbugatge"
#: ../src/daemon/gnuserv.c:457
msgid "Enable verbose output"
msgstr "Activa la sortida charraira"
msgstr "Activa la sortida verbosa"
#: ../src/daemon/gnuserv.c:459
msgid "Don't fork into background"
@@ -61,12 +59,13 @@ msgstr "Aviar pas en prètzfach de fons"
#: ../src/daemon/gnuserv.c:461
msgid "Invoked from inetd"
msgstr "Invocat a partir de inetd"
msgstr "Invocat a partir d'inetd"
#: ../src/daemon/gnuserv.c:495
#, c-format
msgid "Run '%s --help' to see a full list of available command line options.\n"
msgstr "Aviar « %s --help » per afichar la lista de las opcions de la linha de "
msgstr ""
"Aviar « %s --help » per afichar la lista de las opcions de la linha de "
"comanda.\n"
#: ../sysdeps/osf1/siglist.c:27 ../sysdeps/sun4/siglist.c:27

View File

@@ -28,6 +28,8 @@ G_BEGIN_DECLS
#include <sys/param.h>
#endif
#include <glibtop_machine.h>
#define KI_PROC(ki) (&(ki))->kp_proc)
#define KI_EPROC(ki) (&(ki))->kp_eproc)

View File

@@ -21,6 +21,7 @@
#include <config.h>
#include <sys/types.h>
#include <sys/sysctl.h>
#include <glibtop.h>
#include <glibtop/open.h>
#include <glibtop/cpu.h>

View File

@@ -284,7 +284,7 @@ glibtop_get_proc_map_p (glibtop *server, glibtop_proc_map *buf,
mentry->perm |= GLIBTOP_MAP_PERM_READ;
if (entry->protection & PROT_WRITE)
mentry->perm |= GLIBTOP_MAP_PERM_WRITE;
if (entry->protection & PROT_EXECUTE)
if (entry->protection & PROT_EXEC)
mentry->perm |= GLIBTOP_MAP_PERM_EXECUTE;
}

View File

@@ -42,6 +42,7 @@
#include <arpa/inet.h>
#include <string.h>
#include <stdlib.h>
#include <kvm.h>
#include "glibtop_private.h"

View File

@@ -25,7 +25,10 @@
#include <glibtop/cpu.h>
#include <glibtop/open.h>
#include <glibtop/init_hooks.h>
#include <glibtop/machine.h>
#include <fcntl.h>
#include <kvm.h>
/* !!! THIS FUNCTION RUNS SUID ROOT - CHANGE WITH CAUTION !!! */

View File

@@ -26,6 +26,8 @@
#include <glibtop/cpu.h>
#include <sys/sysctl.h>
static const unsigned long _glibtop_sysdeps_uptime =
(1L << GLIBTOP_UPTIME_UPTIME) + (1L << GLIBTOP_UPTIME_IDLETIME) +
(1UL << GLIBTOP_UPTIME_BOOT_TIME);