lcore.org gitweb
/
lcore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix destroysourcestream always false bug
[lcore.git]
/
unixstuff.inc
diff --git
a/unixstuff.inc
b/unixstuff.inc
index 773656d2b15c405cc63138916bb5835d3406abb8..dca63ce0965c84a6dc4531b1385f1cbe5e06a26e 100755
(executable)
--- a/
unixstuff.inc
+++ b/
unixstuff.inc
@@
-47,7
+47,7
@@
var
\r
p : ppchar;
\r
begin
\r
var
\r
p : ppchar;
\r
begin
\r
- p := unixutil.StringToPPChar(Todo,
1
);
\r
+ p := unixutil.StringToPPChar(Todo,
0
);
\r
if (p=nil) or (p^=nil) then exit;
\r
fpexecv(p^,p);
\r
end;
\r
if (p=nil) or (p^=nil) then exit;
\r
fpexecv(p^,p);
\r
end;
\r
@@
-159,5
+159,13
@@
IPV6_V6ONLY = 26;
\r
{$endif}
\r
{$endif}
\r
IPV6_V6ONLY = 26;
\r
{$endif}
\r
{$endif}
\r
+ {$ifdef freebsd}
\r
+ //freepascal doesn't seem to define IPV6_V6ONLY on freebsd, the definition
\r
+ //here is taken from the include files of a freebsd 8 system
\r
+ const
\r
+ IPV6_V6ONLY = 27;
\r
+ {$endif}
\r
+
\r
{$endif}
\r
{$endif}
\r
-
\ No newline at end of file
+
\r
+
\r