summaryrefslogtreecommitdiff
path: root/packaging/Caldera/OpenServer/samba-2.2-osr5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Caldera/OpenServer/samba-2.2-osr5.patch')
-rw-r--r--packaging/Caldera/OpenServer/samba-2.2-osr5.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/packaging/Caldera/OpenServer/samba-2.2-osr5.patch b/packaging/Caldera/OpenServer/samba-2.2-osr5.patch
new file mode 100644
index 0000000000..fb71d9298b
--- /dev/null
+++ b/packaging/Caldera/OpenServer/samba-2.2-osr5.patch
@@ -0,0 +1,29 @@
+--- utils/torture.c.00 Fri Mar 30 13:53:26 2001
++++ utils/torture.c Fri Apr 13 15:06:04 2001
+@@ -2703,7 +2703,11 @@
+
+ dbf = stdout;
+
++#if defined(_SCO_DS) /* SCO OpenServer */
++ setvbuf(stdout, NULL, _IONBF, 0);
++#else
+ setbuffer(stdout, NULL, 0);
++#endif
+
+ charset_initialise();
+
+--- utils/locktest.c.00 Fri Sep 29 13:18:14 2000
++++ utils/locktest.c Fri Apr 13 17:54:11 2001
+@@ -384,8 +384,12 @@
+ recorded[n].conn = random() % NCONNECTIONS;
+ recorded[n].f = random() % NFILES;
+ recorded[n].start = LOCKBASE + ((unsigned)random() % (LOCKRANGE-1));
++#if defined(_SCO_DS) /* OpenServer */
++ recorded[n].len = 1;
++#else
+ recorded[n].len = 1 +
+ random() % (LOCKRANGE-(recorded[n].start-LOCKBASE));
++#endif
+ recorded[n].start *= RANGE_MULTIPLE;
+ recorded[n].len *= RANGE_MULTIPLE;
+ recorded[n].r1 = random() % 100;