aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-22 14:07:37 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-22 14:07:37 +0000
commit06680ddf4c51cccd6dc74b3c72348b225183bfb0 (patch)
tree683fb9940a92cece3b0c4cb23c1585551a1e173d
parent[w3m-dev 02505] (diff)
downloadw3m-06680ddf4c51cccd6dc74b3c72348b225183bfb0.tar.gz
w3m-06680ddf4c51cccd6dc74b3c72348b225183bfb0.zip
[w3m-dev 02506]
From: Fumitoshi UKAI <ukai@debian.or.jp>
-rw-r--r--ChangeLog7
-rw-r--r--anchor.c6
-rw-r--r--matrix.h6
-rw-r--r--table.c6
4 files changed, 10 insertions, 15 deletions
diff --git a/ChangeLog b/ChangeLog
index 866df38..1aeca0a 100644
--- 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
index 6fa2ea0..a56690f 100644
--- a/anchor.c
+++ b/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 "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;
diff --git a/matrix.h b/matrix.h
index 7bdc5b7..ec0fd2b 100644
--- a/matrix.h
+++ b/matrix.h
@@ -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)
diff --git a/table.c b/table.c
index 399edcf..fb3b6f9 100644
--- a/table.c
+++ b/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
*/
@@ -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;
}