Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1236)

Unified Diff: openssl/util/mklink.pl

Issue 9254031: Upgrade chrome's OpenSSL to same version Android ships with. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/openssl/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « openssl/util/mkfiles.pl ('k') | openssl/util/mkrc.pl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: openssl/util/mklink.pl
===================================================================
--- openssl/util/mklink.pl (revision 105093)
+++ openssl/util/mklink.pl (working copy)
@@ -15,21 +15,13 @@
# Apart from this, this script should be able to handle even the most
# pathological cases.
-my $pwd;
-eval 'use Cwd;';
-if ($@)
- {
- $pwd = `pwd`;
- }
-else
- {
- $pwd = getcwd();
- }
+use Cwd;
my $from = shift;
my @files = @ARGV;
my @from_path = split(/[\\\/]/, $from);
+my $pwd = getcwd();
chomp($pwd);
my @pwd_path = split(/[\\\/]/, $pwd);
@@ -59,6 +51,7 @@
my $file;
$symlink_exists=eval {symlink("",""); 1};
+if ($^O eq "msys") { $symlink_exists=0 };
foreach $file (@files) {
my $err = "";
if ($symlink_exists) {
« no previous file with comments | « openssl/util/mkfiles.pl ('k') | openssl/util/mkrc.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698