@@ -1,3 +1,10 @@
|
|||||||
|
2001-11-22 Fumitoshi UKAI <ukai@debian.or.jp>
|
||||||
|
|
||||||
|
* [w3m-dev 02506]
|
||||||
|
* anchor.c (putHmarker): remove #ifdef __CYGWIN__ for bzero()
|
||||||
|
* matrix.h (m_copy): ditto
|
||||||
|
* table.c (pushTable): ditto
|
||||||
|
|
||||||
2001-11-22 Fumitoshi UKAI <ukai@debian.or.jp>
|
2001-11-22 Fumitoshi UKAI <ukai@debian.or.jp>
|
||||||
|
|
||||||
* [w3m-dev 02505]
|
* [w3m-dev 02505]
|
||||||
|
6
anchor.c
6
anchor.c
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: anchor.c,v 1.4 2001/11/16 22:02:00 ukai Exp $ */
|
/* $Id: anchor.c,v 1.5 2001/11/22 14:07:38 ukai Exp $ */
|
||||||
#include "fm.h"
|
#include "fm.h"
|
||||||
#include "myctype.h"
|
#include "myctype.h"
|
||||||
#include "regex.h"
|
#include "regex.h"
|
||||||
@@ -354,11 +354,7 @@ putHmarker(HmarkerList * ml, int line, int pos, int seq)
|
|||||||
if (ml->markmax == 0) {
|
if (ml->markmax == 0) {
|
||||||
ml->markmax = FIRST_MARKER_SIZE;
|
ml->markmax = FIRST_MARKER_SIZE;
|
||||||
ml->marks = NewAtom_N(BufferPoint, ml->markmax);
|
ml->marks = NewAtom_N(BufferPoint, ml->markmax);
|
||||||
#ifdef __CYGWIN__
|
|
||||||
bzero((char *) ml->marks, sizeof(BufferPoint) * ml->markmax);
|
|
||||||
#else /* not __CYGWIN__ */
|
|
||||||
bzero(ml->marks, sizeof(BufferPoint) * ml->markmax);
|
bzero(ml->marks, sizeof(BufferPoint) * ml->markmax);
|
||||||
#endif /* not __CYGWIN__ */
|
|
||||||
}
|
}
|
||||||
if (seq + 1 > ml->nmark)
|
if (seq + 1 > ml->nmark)
|
||||||
ml->nmark = seq + 1;
|
ml->nmark = seq + 1;
|
||||||
|
6
matrix.h
6
matrix.h
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* matrix.h, matrix.c: Liner equation solver using LU decomposition.
|
* matrix.h, matrix.c: Liner equation solver using LU decomposition.
|
||||||
* $Id: matrix.h,v 1.3 2001/11/15 00:32:13 a-ito Exp $
|
* $Id: matrix.h,v 1.4 2001/11/22 14:07:38 ukai Exp $
|
||||||
*
|
*
|
||||||
* by K.Okabe Aug. 1999
|
* by K.Okabe Aug. 1999
|
||||||
*
|
*
|
||||||
@@ -41,11 +41,7 @@ typedef struct vector *Vector;
|
|||||||
|
|
||||||
#define m_entry(m,i,j) (M_VAL(m,i,j))
|
#define m_entry(m,i,j) (M_VAL(m,i,j))
|
||||||
#define v_entry(v,i) (V_VAL(v,i))
|
#define v_entry(v,i) (V_VAL(v,i))
|
||||||
#ifdef __CYGWIN__
|
|
||||||
#define m_copy(m1,m2) (bcopy((const char *)(m1)->me,(char *)(m2)->me,(m1)->dim*(m1)->dim*sizeof(double)))
|
|
||||||
#else /* not __CYGWIN__ */
|
|
||||||
#define m_copy(m1,m2) (bcopy((m1)->me,(m2)->me,(m1)->dim*(m1)->dim*sizeof(double)))
|
#define m_copy(m1,m2) (bcopy((m1)->me,(m2)->me,(m1)->dim*(m1)->dim*sizeof(double)))
|
||||||
#endif /* not __CYGWIN__ */
|
|
||||||
#define v_free(v) ((v)=NULL)
|
#define v_free(v) ((v)=NULL)
|
||||||
#define m_free(m) ((m)=NULL)
|
#define m_free(m) ((m)=NULL)
|
||||||
#define px_free(px) ((px)=NULL)
|
#define px_free(px) ((px)=NULL)
|
||||||
|
6
table.c
6
table.c
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: table.c,v 1.5 2001/11/22 13:35:45 ukai Exp $ */
|
/* $Id: table.c,v 1.6 2001/11/22 14:07:38 ukai Exp $ */
|
||||||
/*
|
/*
|
||||||
* HTML table
|
* HTML table
|
||||||
*/
|
*/
|
||||||
@@ -3109,11 +3109,7 @@ pushTable(struct table *tbl, struct table *tbl1)
|
|||||||
tbl->tables_size += MAX_TABLE_N;
|
tbl->tables_size += MAX_TABLE_N;
|
||||||
tmp = New_N(struct table_in, tbl->tables_size);
|
tmp = New_N(struct table_in, tbl->tables_size);
|
||||||
if (tbl->tables)
|
if (tbl->tables)
|
||||||
#ifdef __CYGWIN__
|
|
||||||
bcopy((const char *) tbl->tables, (char *) tmp, (size_t) tbl->ntable * sizeof(struct table_in));
|
|
||||||
#else /* not __CYGWIN__ */
|
|
||||||
bcopy(tbl->tables, tmp, tbl->ntable * sizeof(struct table_in));
|
bcopy(tbl->tables, tmp, tbl->ntable * sizeof(struct table_in));
|
||||||
#endif /* not __CYGWIN__ */
|
|
||||||
tbl->tables = tmp;
|
tbl->tables = tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user