[w3m-dev 02506]

From: Fumitoshi UKAI <ukai@debian.or.jp>
This commit is contained in:
Fumitoshi UKAI
2001-11-22 14:07:37 +00:00
parent b7aa17d4b2
commit 06680ddf4c
4 changed files with 10 additions and 15 deletions

View File

@@ -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>
* [w3m-dev 02505]

View File

@@ -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 "myctype.h"
#include "regex.h"
@@ -354,11 +354,7 @@ putHmarker(HmarkerList * ml, int line, int pos, int seq)
if (ml->markmax == 0) {
ml->markmax = FIRST_MARKER_SIZE;
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);
#endif /* not __CYGWIN__ */
}
if (seq + 1 > ml->nmark)
ml->nmark = seq + 1;

View File

@@ -1,6 +1,6 @@
/*
* 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
*
@@ -41,11 +41,7 @@ typedef struct vector *Vector;
#define m_entry(m,i,j) (M_VAL(m,i,j))
#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)))
#endif /* not __CYGWIN__ */
#define v_free(v) ((v)=NULL)
#define m_free(m) ((m)=NULL)
#define px_free(px) ((px)=NULL)

View File

@@ -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
*/
@@ -3109,11 +3109,7 @@ pushTable(struct table *tbl, struct table *tbl1)
tbl->tables_size += MAX_TABLE_N;
tmp = New_N(struct table_in, tbl->tables_size);
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));
#endif /* not __CYGWIN__ */
tbl->tables = tmp;
}