pcp/pcp-3.6.10-gcc5-reservedword.patch
2015-02-23 16:38:12 +00:00

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 */