commit 8ee6d05aef5e988d6f7e6add0aa97ebbc05ae94d Author: František Dvořák Date: Wed Jul 2 18:05:46 2014 +0200 Generate always the same header file by ordering fields. This is the second part of the fix for issue #26. diff --git a/org.glite.lb.client/interface/Event.h.T b/org.glite.lb.client/interface/Event.h.T index 1aa05b3..a917d3d 100644 --- a/org.glite.lb.client/interface/Event.h.T +++ b/org.glite.lb.client/interface/Event.h.T @@ -120,8 +120,8 @@ public: }; @@@{ - for my $f (getAllFields $event) { - for my $t (getFieldOccurence $event $f) { + for my $f (sort {$a cmp $b} getAllFields $event) { + for my $t (sort (getFieldOccurence $event $f)) { my $ff; my $ut; my $utf; diff --git a/org.glite.lb.client/interface/JobStatus.h.T b/org.glite.lb.client/interface/JobStatus.h.T index 20cbcf3..d800327 100644 --- a/org.glite.lb.client/interface/JobStatus.h.T +++ b/org.glite.lb.client/interface/JobStatus.h.T @@ -103,7 +103,7 @@ public: @@@{ selectType $status '_common_'; - for my $n (getAllFields $status) { + for my $n (sort {$a cmp $b} getAllFields $status) { selectField $status $n; my $f = getField $status; if ($f->{codes}) {