projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lex_get_text_buffer_read: Avoid potential buffer overflow.
[pspp]
/
src
/
libpspp
/
range-set.c
diff --git
a/src/libpspp/range-set.c
b/src/libpspp/range-set.c
index cd17fe02a4e2130544d5d37687cf46210ff2de39..da83edd89441eda4060aeecef66f20d204f42572 100644
(file)
--- a/
src/libpspp/range-set.c
+++ b/
src/libpspp/range-set.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2009
, 2011
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-23,17
+23,17
@@
#include <config.h>
#include <config.h>
-#include
<libpspp/range-set.h>
+#include
"libpspp/range-set.h"
#include <limits.h>
#include <stdlib.h>
#include <limits.h>
#include <stdlib.h>
-#include
<libpspp/assertion.h>
-#include
<libpspp/compiler.h>
-#include
<libpspp/pool.h>
+#include
"libpspp/assertion.h"
+#include
"libpspp/compiler.h"
+#include
"libpspp/pool.h"
-#include "minmax.h"
-#include "xalloc.h"
+#include "
gl/
minmax.h"
+#include "
gl/
xalloc.h"
static int compare_range_set_nodes (const struct bt_node *,
const struct bt_node *,
static int compare_range_set_nodes (const struct bt_node *,
const struct bt_node *,
@@
-152,7
+152,7
@@
range_set_insert (struct range_set *rs,
}
}
}
}
-/*
Insert
s the region starting at START and extending for WIDTH
+/*
Delete
s the region starting at START and extending for WIDTH
from RS. */
void
range_set_delete (struct range_set *rs,
from RS. */
void
range_set_delete (struct range_set *rs,