commit ec4d1fa0668d0cdd65c95ec5b1d1f4edfda9b413
parent 9dfc24e77ca24f7980a4d3fb5539ec1d44e58c4d
Author: ukai <ukai>
Date: Thu, 22 Nov 2001 14:07:37 +0000
[w3m-dev 02506]
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat:
4 files changed, 7 insertions(+), 12 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,5 +1,12 @@
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]
* configure (alarm): check alarm if USE_ALARM
diff --git a/anchor.c b/anchor.c
@@ -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;
diff --git a/matrix.h b/matrix.h
@@ -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)
diff --git a/table.c b/table.c
@@ -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;
}