summaryrefslogtreecommitdiff
path: root/math/octave-current/patches/patch-aj
blob: 0baa5b1526de7004b3ce24c85a9a9ed10ee22636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aj,v 1.3 2007/09/24 20:56:46 drochner Exp $

--- src/syscalls.cc.orig	2007-09-24 16:38:36.000000000 +0200
+++ src/syscalls.cc
@@ -236,7 +236,7 @@ For example,\n\
 \n\
 @example\n\
 @group\n\
-[in, out, pid] = popen2 (\"sort\", \"-nr\");\n\
+[in, out, pid] = popen2 (\"sort\", \"-r\");\n\
 fputs (in, \"these\\nare\\nsome\\nstrings\\n\");\n\
 fclose (in);\n\
 EAGAIN = errno (\"EAGAIN\");\n\
@@ -352,7 +352,7 @@ fclose (out);\n\
 
 %!test
 %!  if (isunix())
-%!    [in, out, pid] = popen2 ("sort", "-nr");
+%!    [in, out, pid] = popen2 ("sort", "-r");
 %!    EAGAIN = errno ("EAGAIN");
 %!  else
 %!    [in, out, pid] = popen2 ("sort", "/R");