Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 294822
Collapse All | Expand All

(-)chipmunk-dist-old/log/src/log.c (-4 / +7 lines)
Lines 153-158 extern char *GetChipmunkPath(); Link Here
153
char *my_strdup();
153
char *my_strdup();
154
#undef strdup
154
#undef strdup
155
#define strdup my_strdup
155
#define strdup my_strdup
156
/* Support copy between overlapping regions: */
157
#undef strcpy
158
#define strcpy(dest,src) ((char*)memmove((dest),(src),strlen(src)+1))
156
#define newci_findprocedure2  findprocedure
159
#define newci_findprocedure2  findprocedure
157
extern boolean findprocedure PP((Char *name, Void (**start)()));
160
extern boolean findprocedure PP((Char *name, Void (**start)()));
158
161
Lines 273-279 extern boolean findprocedure PP((Char *n Link Here
273
276
274
277
275
typedef struct descrec {
278
typedef struct descrec {
276
#ifdef __alpha__
279
#if defined(__alpha__) || defined(__LP64__)
277
  int ptr;
280
  int ptr;
278
#else
281
#else
279
  long ptr;
282
  long ptr;
Lines 292-298 typedef union filerec { Link Here
292
  schar sb[256];
295
  schar sb[256];
293
  Char c[256];
296
  Char c[256];
294
  short sh[128];
297
  short sh[128];
295
#ifdef __alpha__
298
#if defined(__alpha__) || defined(__LP64__)
296
  int i[64];
299
  int i[64];
297
#else
300
#else
298
  long i[64];
301
  long i[64];
Lines 5466-5472 Static Void pass() Link Here
5466
/* p2c: log.text, line 5010:
5469
/* p2c: log.text, line 5010:
5467
 * Note: Suspicious mixture of sizes in NA_NEW [173] */
5470
 * Note: Suspicious mixture of sizes in NA_NEW [173] */
5468
5471
5469
#ifdef __alpha__
5472
#if defined(__alpha__) || defined(__LP64__)
5470
          ht = (log_htrec *)Malloc(sizeof(log_htrec) -
5473
          ht = (log_htrec *)Malloc(sizeof(log_htrec) -
5471
                                  log_million * sizeof(Anyptr) +
5474
                                  log_million * sizeof(Anyptr) +
5472
                                  hncount * sizeof(Anyptr) *2);
5475
                                  hncount * sizeof(Anyptr) *2);
Lines 20190-20196 Char *name; Link Here
20190
  }
20193
  }
20191
/* p2c: log.text, line 18951:
20194
/* p2c: log.text, line 18951:
20192
 * Note: Suspicious mixture of sizes in NA_NEW [173] */
20195
 * Note: Suspicious mixture of sizes in NA_NEW [173] */
20193
  mp3 = (macrorec *)Malloc(strlen(name) + 9L);
20196
  mp3 = (macrorec *)Malloc(sizeof(macrorec) - 32 + strlen(name));
20194
  if (mp != NULL && mp->key == key) {
20197
  if (mp != NULL && mp->key == key) {
20195
    mp3->next = mp->next;
20198
    mp3->next = mp->next;
20196
    Free(mp);
20199
    Free(mp);
(-)chipmunk-dist-old/log/src/loged.c (-2 / +2 lines)
Lines 192-198 typedef union filerec { Link Here
192
  schar sb[256];
192
  schar sb[256];
193
  uchar c[256];
193
  uchar c[256];
194
  short sh[128];
194
  short sh[128];
195
#ifdef __alpha__
195
#if defined(__alpha__) || defined(__LP64__)
196
  int i[64];
196
  int i[64];
197
#else
197
#else
198
  long i[64];
198
  long i[64];
Lines 218-224 typedef struct oldrec { Link Here
218
  _REC_pin pin[32];
218
  _REC_pin pin[32];
219
  short numvects;
219
  short numvects;
220
  ovectorrec vector[64];
220
  ovectorrec vector[64];
221
#ifdef __alpha__
221
#if defined(__alpha__) || defined(__LP64__)
222
  int next;
222
  int next;
223
#else
223
#else
224
  long next;
224
  long next;
(-)chipmunk-dist-old/log/src/loged.safe.c (-2 / +2 lines)
Lines 192-198 typedef union filerec { Link Here
192
  schar sb[256];
192
  schar sb[256];
193
  uchar c[256];
193
  uchar c[256];
194
  short sh[128];
194
  short sh[128];
195
#ifdef __alpha__
195
#if defined(__alpha__) || defined(__LP64__)
196
  int i[64];
196
  int i[64];
197
#else
197
#else
198
  long i[64];
198
  long i[64];
Lines 218-224 typedef struct oldrec { Link Here
218
  _REC_pin pin[32];
218
  _REC_pin pin[32];
219
  short numvects;
219
  short numvects;
220
  ovectorrec vector[64];
220
  ovectorrec vector[64];
221
#ifdef __alpha__
221
#if defined(__alpha__) || defined(__LP64__)
222
  int next;
222
  int next;
223
#else
223
#else
224
  long next;
224
  long next;
(-)chipmunk-dist-old/psys/include/p2c/p2c.h (-1 / +1 lines)
Lines 384-390 typedef struct { Link Here
384
384
385
/* Memory allocation */
385
/* Memory allocation */
386
#ifdef __GCC__
386
#ifdef __GCC__
387
#ifdef __alpha__
387
#if defined(__alpha__) || defined(__LP64__)
388
# define Malloc(n)  (malloc((n) ? (n) : 1) ?: (Anyptr)(long)_OutMem())
388
# define Malloc(n)  (malloc((n) ? (n) : 1) ?: (Anyptr)(long)_OutMem())
389
#else
389
#else
390
# define Malloc(n)  (malloc((n) ? (n) : 1) ?: (Anyptr)_OutMem())
390
# define Malloc(n)  (malloc((n) ? (n) : 1) ?: (Anyptr)_OutMem())
(-)chipmunk-dist-old/until/V1.2/ffman.c (-4 / +4 lines)
Lines 136-142 Static void read_error(Char *s) Link Here
136
}
136
}
137
137
138
138
139
Static boolean getline(void)
139
Static boolean getline_comments(void)
140
{
140
{
141
  Char *TEMP;
141
  Char *TEMP;
142
142
Lines 181-193 Static boolean getInterestingLine(void) Link Here
181
  if (cpos <= strlen(buffer))
181
  if (cpos <= strlen(buffer))
182
    return true;
182
    return true;
183
183
184
  if (!getline())
184
  if (!getline_comments())
185
    return false;
185
    return false;
186
186
187
  q = true;
187
  q = true;
188
  skip_blanks();
188
  skip_blanks();
189
  while (cpos > strlen(buffer) && q) {
189
  while (cpos > strlen(buffer) && q) {
190
    q = getline();
190
    q = getline_comments();
191
    skip_blanks();
191
    skip_blanks();
192
  }
192
  }
193
  return (q == true);
193
  return (q == true);
Lines 1512-1518 fileSpec *read_in_a_file(Char *s_) Link Here
1512
  strcpy(s, s_);
1512
  strcpy(s, s_);
1513
  if (start_Read_operation(s)) {
1513
  if (start_Read_operation(s)) {
1514
    fs = make_filespec(s, established);
1514
    fs = make_filespec(s, established);
1515
    while (getline())   /*still more stuff out there*/
1515
    while (getline_comments())   /*still more stuff out there*/
1516
      f = read_figure();
1516
      f = read_figure();
1517
    Result = fs;
1517
    Result = fs;
1518
    if (ff_file != NULL)
1518
    if (ff_file != NULL)
(-)chipmunk-dist-old/view/viewmod.c (+2 lines)
Lines 60-65 the Free Software Foundation, Inc., 675 Link Here
60
/* Last edit by dave on Nov 11, 1987 3:14 am */
60
/* Last edit by dave on Nov 11, 1987 3:14 am */
61
/* Last edit by dave on Nov 9, 1987 11:49 pm */
61
/* Last edit by dave on Nov 9, 1987 11:49 pm */
62
62
63
#define _GNU_SOURCE
64
#include <stdio.h>
63
#include <sys/types.h>
65
#include <sys/types.h>
64
#include <sys/stat.h>
66
#include <sys/stat.h>
65
67
(-)chipmunk-dist-old/wol/wol_init.c (+2 lines)
Lines 33-38 the Free Software Foundation, Inc., 675 Link Here
33
33
34
34
35
35
36
#define _GNU_SOURCE
37
#include <stdio.h>
36
#include "global.h"
38
#include "global.h"
37
39
38
40

Return to bug 294822