Revert 5367 "Update talk to 59410372."

> Update talk to 59410372.
> 
> R=jiayl@webrtc.org, wu@webrtc.org
> 
> Review URL: https://webrtc-codereview.appspot.com/6929004

TBR=mallinath@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/6999004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5371 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/talk/base/unixfilesystem.cc b/talk/base/unixfilesystem.cc
index 1a5b75e..3c8f4d2 100644
--- a/talk/base/unixfilesystem.cc
+++ b/talk/base/unixfilesystem.cc
@@ -50,6 +50,7 @@
 #include <limits.h>
 #include <pwd.h>
 #include <stdio.h>
+#include <unistd.h>
 #endif  // POSIX && !OSX
 
 #if defined(LINUX)
@@ -367,8 +368,6 @@
   if (success)
     path->SetPathname(path8);
   return success;
-#elif defined(__native_client__)
-  return false;
 #else  // OSX
   char buffer[NAME_MAX+1];
   size_t len = readlink("/proc/self/exe", buffer, ARRAY_SIZE(buffer) - 1);
@@ -454,7 +453,6 @@
   if (!CreateFolder(*path, 0700)) {
     return false;
   }
-#if !defined(__native_client__)
   // If the folder already exists, it may have the wrong mode or be owned by
   // someone else, both of which are security problems. Setting the mode
   // avoids both issues since it will fail if the path is not owned by us.
@@ -462,7 +460,6 @@
     LOG_ERR(LS_ERROR) << "Can't set mode on " << path;
     return false;
   }
-#endif
   return true;
 }
 
@@ -556,11 +553,3 @@
 }
 
 }  // namespace talk_base
-
-#if defined(__native_client__)
-extern "C" int __attribute__((weak))
-link(const char* oldpath, const char* newpath) {
-  errno = EACCES;
-  return -1;
-}
-#endif