summaryrefslogtreecommitdiff
path: root/lang/squeak-dev/files/patch-platforms__unix__src__plugins__UnixOSProcessPlugin__UnixOSProcessPlugin.c
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-08-25 21:04:41 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-08-25 21:04:41 +0000
commitc04df41256ab2b6e3c15df6b080be7450a7c8709 (patch)
tree78bbab11ef9dcf375acdb44c0210cb1db7ee8705 /lang/squeak-dev/files/patch-platforms__unix__src__plugins__UnixOSProcessPlugin__UnixOSProcessPlugin.c
parentUpdate to 9.52. Security update which fixes important vulnerabilities. (diff)
- Update to 3.9-7
PR: 126298 Submitted by: Takeshi MUTOH <mutoh@openedu.org> (maintainer)
Notes
Notes: svn path=/head/; revision=219169
Diffstat (limited to 'lang/squeak-dev/files/patch-platforms__unix__src__plugins__UnixOSProcessPlugin__UnixOSProcessPlugin.c')
-rw-r--r--lang/squeak-dev/files/patch-platforms__unix__src__plugins__UnixOSProcessPlugin__UnixOSProcessPlugin.c47
1 files changed, 47 insertions, 0 deletions
diff --git a/lang/squeak-dev/files/patch-platforms__unix__src__plugins__UnixOSProcessPlugin__UnixOSProcessPlugin.c b/lang/squeak-dev/files/patch-platforms__unix__src__plugins__UnixOSProcessPlugin__UnixOSProcessPlugin.c
new file mode 100644
index 000000000000..91518b93b728
--- /dev/null
+++ b/lang/squeak-dev/files/patch-platforms__unix__src__plugins__UnixOSProcessPlugin__UnixOSProcessPlugin.c
@@ -0,0 +1,47 @@
+--- platforms/unix/src/plugins/UnixOSProcessPlugin/UnixOSProcessPlugin.c.org Sun Apr 23 16:18:27 2006
++++ platforms/unix/src/plugins/UnixOSProcessPlugin/UnixOSProcessPlugin.c Sun Apr 23 16:20:43 2006
+@@ -1818,7 +1818,7 @@
+ return interpreterProxy->primitiveFail();
+ }
+ sqFile = interpreterProxy->arrayValueOf(sqFileOop);
+- if ((feof(sqFile->file)) == 0) {
++ if ((feof((FILE *)sqFile->file)) == 0) {
+ result = interpreterProxy->falseObject();
+ } else {
+ result = interpreterProxy->trueObject();
+@@ -1870,7 +1870,7 @@
+
+ /* Set up the flock structure parameter for fcntl() */
+
+- fileNo = fileno(sqFile->file);
++ fileNo = fileno((FILE *)sqFile->file);
+ if (exclusive) {
+ lockStruct.l_type = F_WRLCK;
+ } else {
+@@ -2897,7 +2897,7 @@
+
+ /* Set up the flock structure parameter for fcntl() */
+
+- fileNo = fileno(sqFile->file);
++ fileNo = fileno((FILE *)sqFile->file);
+ if (exclusive) {
+ lockStruct.l_type = F_WRLCK;
+ } else {
+@@ -2957,7 +2957,7 @@
+ return interpreterProxy->primitiveFail();
+ }
+ sqFile = interpreterProxy->arrayValueOf(sqFileOop);
+- fileNo = fileno(sqFile->file);
++ fileNo = fileno((FILE *)sqFile->file);
+ interpreterProxy->pop(2);
+ interpreterProxy->pushInteger(fileNo);
+ }
+@@ -3001,7 +3001,7 @@
+
+ /* Set up the flock structure parameter for fcntl() */
+
+- fileNo = fileno(sqFile->file);
++ fileNo = fileno((FILE *)sqFile->file);
+ lockStruct.l_type = F_UNLCK;
+ lockStruct.l_whence = SEEK_SET;
+ lockStruct.l_start = start;