[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] net.venge.monotone: 64e690fd0e14f6a0ad816d8fd55
From: |
code |
Subject: |
[Monotone-commits-diffs] net.venge.monotone: 64e690fd0e14f6a0ad816d8fd55044f36d8559d5 |
Date: |
Wed, 13 Mar 2013 22:33:53 +0100 (CET) |
revision: 64e690fd0e14f6a0ad816d8fd55044f36d8559d5
date: 2013-03-13T21:33:40
author: address@hidden
branch: net.venge.monotone
changelog:
src/unix/fs.cc: Meh.. correct the loop around getcwd(), see last
commit.
manifest:
format_version "1"
new_manifest [9742b48715167327df5cfe944016af4ec551ed9e]
old_revision [d23dbf2ce78cd11fc1a1dc85cd78cc28ab2df8ca]
patch "src/unix/fs.cc"
from [532f2f3738853ad53cbb58cb6bcaea98f3871c8f]
to [686805003c24f02e8631c517399f29250b34fb65]
============================================================
--- src/unix/fs.cc 532f2f3738853ad53cbb58cb6bcaea98f3871c8f
+++ src/unix/fs.cc 686805003c24f02e8631c517399f29250b34fb65
@@ -54,10 +54,10 @@ get_current_working_dir()
do
{
cwd_buf.resize(cwd_sz);
- cwd_sz += 4096;
-
if (getcwd(&cwd_buf[0], cwd_sz))
return string(&cwd_buf[0]);
+
+ cwd_sz += 4096;
}
while (errno == ERANGE);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] net.venge.monotone: 64e690fd0e14f6a0ad816d8fd55044f36d8559d5,
code <=