Jump to content

SCS V35 Errors - MAC


Guest Reeca

Recommended Posts

Found it!

In stratagems/sfo2e/lib_ssl.tph at line 92, the REPLACE_TEXTUALLY is exactly backwards from what it should be, it should be the same as line 95.  This is in a block that only gets executed on non-Windows systems.

diff --git a/stratagems/sfo2e/lib_ssl.tph b/stratagems/sfo2e/lib_ssl.tph
index a8bc243..95ea45a 100644
--- a/stratagems/sfo2e/lib_ssl.tph
+++ b/stratagems/sfo2e/lib_ssl.tph
@@ -89,7 +89,7 @@ BEGIN
                        END
                END ELSE BEGIN // something else, assumed to have perl natively present
                        OUTER_PATCH_SAVE ssl_loc "%ssl_loc%" BEGIN
-                               REPLACE_TEXTUALLY EXACT_MATCH "/" "\"
+                               REPLACE_TEXTUALLY EXACT_MATCH "\" "/"
                        END
                        OUTER_INNER_PATCH_SAVE scsargs "%path%/%script%" BEGIN
                                REPLACE_TEXTUALLY EXACT_MATCH "\" "/"

Fixed file attached, drop this in stratagems/sfo2e/.

lib_ssl.tph

Link to comment
2 hours ago, jmerry said:

Is it fixed? Because that isn't something that changed in v35. It's undoubtedly a mistake to fix, but how could it be the one that breaks things when it was there before?

Yes, fixed it for me and I already have had several others confirming it fixed it for them as well.

There are two versions of the ssl_to_bcs function, one is in stratagems/sfo/general/lib_general.tpa, the other is in stratagems/sfo2e/lib_ssl.tpa.  Most likely v34 was still using the old one which doesn't have this bug.

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...