[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Turn SENTINELS back on; give NOINLINE a name and turn it off.
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] Turn SENTINELS back on; give NOINLINE a name and turn it off.
- From: nickm@xxxxxxxx (Nick Mathewson)
- Date: Wed, 27 Apr 2005 15:40:34 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Wed, 27 Apr 2005 15:44:57 -0400
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv30996/src/or
Modified Files:
buffers.c
Log Message:
Turn SENTINELS back on; give NOINLINE a name and turn it off.
Index: buffers.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/buffers.c,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -d -r1.141 -r1.142
--- buffers.c 27 Apr 2005 17:21:42 -0000 1.141
+++ buffers.c 27 Apr 2005 19:40:31 -0000 1.142
@@ -12,9 +12,10 @@
#include "or.h"
-#undef SENTINELS
+#define SENTINELS
#undef CHECK_AFTER_RESIZE
#undef PARANOIA
+#undef NOINLINE
#ifdef SENTINELS
/* If SENTINELS is defined, check for attempts to write beyond the
@@ -40,8 +41,10 @@
#define check() do { } while (0)
#endif
+#ifdef NOINLINE
#undef INLINE
#define INLINE
+#endif
#define BUFFER_MAGIC 0xB0FFF312u
struct buf_t {