Displaying 2 results from an estimated 2 matches for "set_unlimit".
Did you mean:
set_ulimit
2004 Jul 14
1
New dynamic window patch (with limits)
...ile
diff -u openssh-3.8.1p1/buffer.c openssh-3.8.1p1-dynwindow/buffer.c
--- openssh-3.8.1p1/buffer.c 2003-11-21 07:56:47.000000000 -0500
+++ openssh-3.8.1p1-dynwindow/buffer.c 2004-07-12 07:49:29.000000000 -0400
@@ -18,6 +18,12 @@
#include "buffer.h"
#include "log.h"
+void
+set_unlimited(Buffer *buffer, int new_value)
+{
+ buffer->unlimited = new_value;
+}
+
/* Initializes the buffer structure. */
void
@@ -30,6 +36,7 @@
buffer->alloc = len;
buffer->offset = 0;
buffer->end = 0;
+ buffer->unlimited = 0;
}
/* Frees any memory used for the buffer. */
@@ -...
2004 Jul 07
3
DynamicWindow Patch
...sh/CVS and ssh/CVS
diff -u src/usr.bin/ssh/buffer.c ssh/buffer.c
--- src/usr.bin/ssh/buffer.c 2003-11-21 06:57:03.000000000 -0500
+++ ssh/buffer.c 2004-07-07 10:04:27.000000000 -0400
@@ -18,6 +18,14 @@
#include "buffer.h"
#include "log.h"
+static int unlimited = 0;
+
+void
+set_unlimited(Buffer *buffer, int new_value)
+{
+ buffer->unlimited = new_value;
+}
+
/* Initializes the buffer structure. */
void
@@ -30,6 +38,7 @@
buffer->alloc = len;
buffer->offset = 0;
buffer->end = 0;
+ buffer->unlimited = 0;
}
/* Frees any memory used for the buffer. */
@@ -...