1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-26 00:12:31 +01:00
Files
wmaker/src/osdep_stub.c
Christophe CURIS 73420b3d2d wmaker: replaced old email address with the official one
In the crash handling dialog there was a reference to an old email address.
This patch replaces it with the official one, taken from the 'configure.ac'
definition so it will not need manual update anymore.

The mail address is inserted in the string with a '%s' in order to not have
it in the translation files (po) to ease the maintainer's task in case of
future change.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
2015-06-13 08:40:50 -06:00

37 lines
738 B
C

#include <sys/utsname.h>
#include <WINGs/WUtil.h>
#include "wconfig.h"
#include "osdep.h"
Bool GetCommandForPid(int pid, char ***argv, int *argc)
{
static int notified = 0;
if (!notified) {
struct utsname un;
/* The comment below is placed in the PO file by xgettext to help translator */
if (uname(&un) != -1) {
/*
* 1st %s is a function name
* 2nd %s is an email address
* 3rd %s is the name of the operating system
*/
wwarning(_("%s is not implemented on this platform; "
"tell %s you are running %s release %s version %s"),
__FUNCTION__, PACKAGE_BUGREPORT,
un.sysname, un.release, un.version);
notified = 1;
}
}
*argv = NULL;
*argc = 0;
return False;
}