Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 117037 | Differences between
and this patch

Collapse All | Expand All

(-)jbofihe-0.38/output2elide.pl (-3 / +3 lines)
Lines 31-39 Link Here
31
31
32
while (<>) {
32
while (<>) {
33
    # Read rules
33
    # Read rules
34
    if (/^rule\s+([0-9]+)\s+subscript/) {
34
    if (/^(rule)?\s+([0-9]+)\s+subscript/) {
35
        $losubscript = $1 unless (defined $losubscript);
35
        $losubscript = $2 unless (defined $losubscript);
36
        $hisubscript = $1;
36
        $hisubscript = $2;
37
    }
37
    }
38
38
39
    if (/^Terminals, with rules/) {
39
    if (/^Terminals, with rules/) {
(-)jbofihe-0.38/lex2.c (+1 lines)
Lines 539-544 Link Here
539
    }
539
    }
540
    
540
    
541
done_this_block:
541
done_this_block:
542
    (void)0;
542
543
543
  }
544
  }
544
545
(-)jbofihe-0.38/dictaccs.c (-1 / +1 lines)
Lines 131-137 Link Here
131
    mmap_base = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, fileno(in), 0);
131
    mmap_base = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, fileno(in), 0);
132
    result = (int) mmap_base;
132
    result = (int) mmap_base;
133
133
134
    if (result < 0) {
134
    if (result == -1) {
135
      perror("Could not mmap the dictionary data\n");
135
      perror("Could not mmap the dictionary data\n");
136
      exit(1);
136
      exit(1);
137
    }
137
    }
(-)jbofihe-0.38/cm_translate.c (-1 / +1 lines)
Lines 117-123 Link Here
117
    mmap_base = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, fileno(in), 0);
117
    mmap_base = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, fileno(in), 0);
118
    result = (int) mmap_base;
118
    result = (int) mmap_base;
119
119
120
    if (result < 0) {
120
    if (result == -1) {
121
      perror("Could not mmap the dictionary data\n");
121
      perror("Could not mmap the dictionary data\n");
122
      exit(1);
122
      exit(1);
123
    }
123
    }
(-)jbofihe-0.38/uncom.l.orig (+1 lines)
Lines 32-37 Link Here
32
%{
32
%{
33
#ifndef yywrap
33
#ifndef yywrap
34
#define yywrap() 1
34
#define yywrap() 1
35
#define YY_SKIP_YYWRAP 
35
#endif
36
#endif
36
37
37
static int depth = 0;
38
static int depth = 0;

Return to bug 117037