summaryrefslogtreecommitdiff
path: root/security/sfs/files/patch-rex_rex.C
diff options
context:
space:
mode:
Diffstat (limited to 'security/sfs/files/patch-rex_rex.C')
-rw-r--r--security/sfs/files/patch-rex_rex.C20
1 files changed, 0 insertions, 20 deletions
diff --git a/security/sfs/files/patch-rex_rex.C b/security/sfs/files/patch-rex_rex.C
deleted file mode 100644
index fe24d58ed631..000000000000
--- a/security/sfs/files/patch-rex_rex.C
+++ /dev/null
@@ -1,20 +0,0 @@
---- rex/rex.C.orig 2002-11-19 14:58:44.000000000 -0500
-+++ rex/rex.C 2007-09-15 19:48:38.000000000 -0400
-@@ -746,7 +746,7 @@
- vec<str> cmd2vec (str cmdstr) {
- char *cmd = const_cast<char *> (cmdstr.cstr ());
- vec<str> cmdvec;
-- char *word, *sep = "\t ";
-+ char *word, *sep = const_cast<char *> ("\t ");
- for (word = strtok(cmd, sep); word; word = strtok(NULL, sep))
- cmdvec.push_back (word);
- return cmdvec;
-@@ -962,7 +962,7 @@
- main (int argc, char **argv)
- {
- setprogname (argv[0]);
-- putenv ("POSIXLY_CORRECT=1"); // Prevents Linux from reordering options
-+ putenv (const_cast<char *> ("POSIXLY_CORRECT=1")); // Prevents Linux from reordering options
- sfsconst_init ();
-
- int ch;