- fix gcc5 C99 reserved issue problems with patch pcp-3.6.10-gcc5-reservedword.patch OBS-URL: https://build.opensuse.org/request/show/287365 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=36
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
Index: src/pmdas/bash/event.c
|
|
===================================================================
|
|
--- src/pmdas/bash/event.c.orig 2012-10-14 00:50:38.000000000 +0200
|
|
+++ src/pmdas/bash/event.c 2015-02-23 16:08:13.039795393 +0100
|
|
@@ -168,7 +168,7 @@ process_alloc(const char *bashname, bash
|
|
bashful->queueid = queueid;
|
|
bashful->exited = 0;
|
|
bashful->finished = 0;
|
|
- bashful->restrict = 0;
|
|
+ bashful->restricted = 0;
|
|
bashful->version = init->version;
|
|
bashful->padding = 0;
|
|
|
|
Index: src/pmdas/bash/event.h
|
|
===================================================================
|
|
--- src/pmdas/bash/event.h.orig 2012-10-08 07:16:37.000000000 +0200
|
|
+++ src/pmdas/bash/event.h 2015-02-23 16:08:03.822057504 +0100
|
|
@@ -29,7 +29,7 @@ typedef struct bash_process {
|
|
|
|
int exited : 1; /* flag: process running? */
|
|
int finished: 1; /* flag: exit event sent? */
|
|
- int restrict: 1; /* flag: store-to-access? */
|
|
+ int restricted: 1; /* flag: store-to-access? */
|
|
int version : 8; /* pmda <-> bash xtrace version */
|
|
int padding : 21; /* filler */
|
|
|