Displaying 5 results from an estimated 5 matches for "stackp".
Did you mean:
stack
2011 Nov 30
1
[PATCH] [MEMALLOC] remove unused variable
Since commit 6ee30a14afac681adb1d62361ebcb0c9b6ba3153 ([klibc]
[MEMALLOC] Add pushstackmark), the 'oldstackp' local variable has been
unused. This change deletes the unused variable.
Signed-off-by: Greg Thelen <gthelen at google.com>
---
usr/dash/memalloc.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/usr/dash/memalloc.c b/usr/dash/memalloc.c
index e75e609..406d0c...
2012 Jul 02
0
[klibc:master] [MEMALLOC] Avoid gcc warning: variable ' oldstackp' set but not used
...ommit;h=cf9ea962f1fb310a92efd184f14df2c04b30f75a
Author: Jim Meyering <meyering at redhat.com>
AuthorDate: Fri, 8 Jul 2011 16:12:20 +0800
Committer: maximilian attems <max at stro.at>
CommitDate: Mon, 2 Jul 2012 10:44:23 +0200
[klibc] [MEMALLOC] Avoid gcc warning: variable 'oldstackp' set but not used
* src/memalloc.c (growstackblock): Remove declaration and set of
set-but-not-used variable. Also remove a stray space-before-TAB.
Signed-off-by: Jim Meyering <meyering at redhat.com>
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: maxim...
2020 Mar 28
0
[klibc:update-dash] dash: memalloc: Avoid looping in growstackto
...k(void)
+static void growstackblock(size_t min)
{
size_t newlen;
newlen = stacknleft * 2;
if (newlen < stacknleft)
sh_error("Out of space");
- if (newlen < 128)
- newlen += 128;
+ min = SHELL_ALIGN(min | 128);
+ if (newlen < min)
+ newlen += min;
if (stacknxt == stackp->space && stackp != &stackbase) {
struct stack_block *sp;
@@ -261,15 +261,15 @@ void *
growstackstr(void)
{
size_t len = stackblocksize();
- growstackblock();
+
+ growstackblock(0);
return stackblock() + len;
}
char *growstackto(size_t len)
{
- while (stackblocksize() &...
2007 Apr 16
0
Branch 'as' - 3 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h
...terpret.c
+++ b/libswfdec/swfdec_as_interpret.c
@@ -1790,40 +1790,60 @@ swfdec_action_extends (SwfdecAsContext *
return JS_FALSE;
return JS_TRUE;
}
+#endif
+
+static gboolean
+swfdec_action_do_enumerate (SwfdecAsObject *object, const SwfdecAsValue *val,
+ SwfdecAsVariable *var, gpointer stackp)
+{
+ SwfdecAsStack *stack = stackp;
+
+ if (var->flags | SWFDEC_AS_VARIABLE_DONT_ENUM)
+ return TRUE;
+ swfdec_as_stack_ensure_left (stack, 1);
+ *swfdec_as_stack_push (stack) = *val;
+ return TRUE;
+}
+
+static void
+swfdec_action_enumerate (SwfdecAsContext *cx, guint action, const gui...
2006 May 26
3
Integrating ProPolice/SSP into FreeBSD
Hi,
first sorry for cross-posting but I thought this patch might interest
-CURRENT users as well as people concerned by security.
I wrote a patch that integrates ProPolice/SSP into FreeBSD, one step
further than it has been realized so far.
It is available here :
http://tataz.chchile.org/~tataz/FreeBSD/SSP/
Everything is explained on the web page, but I will repeat some
informations here.