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

Issue 7583034: [Linux] Make FilePathWatcher somewhat more symlink aware. (Closed)

Created:
9 years, 4 months ago by Craig
Modified:
9 years, 3 months ago
CC:
chromium-reviews, brettw-cc_chromium.org, Paweł Hajdan Jr., dmac
Visibility:
Public.

Description

[Linux] Make FilePathWatcher somewhat more symlink aware. This is still broken in a variety of ways. BUG=91561 TEST=updated FilePathWatcher tests and manual testing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99657

Patch Set 1 #

Patch Set 2 : try watching symlink's dir #

Total comments: 16

Patch Set 3 : more tests. deal with symlinks on path better. #

Total comments: 4

Patch Set 4 : update comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -33 lines) Patch
M base/files/file_path_watcher_browsertest.cc View 1 2 3 2 chunks +164 lines, -0 lines 0 comments Download
M base/files/file_path_watcher_linux.cc View 1 2 3 4 chunks +63 lines, -33 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Craig
Mattias would you mind taking a look at this please? It's not a full solution ...
9 years, 3 months ago (2011-08-30 05:01:15 UTC) #1
Mattias Nissler (ping if slow)
A couple of comments. I can see that this version solves your resolv.conf use case, ...
9 years, 3 months ago (2011-08-30 09:53:06 UTC) #2
Craig
Thanks for the comments! I'll add some extra comments as requested and an extra "delete" ...
9 years, 3 months ago (2011-08-30 16:00:16 UTC) #3
Mattias Nissler (ping if slow)
http://codereview.chromium.org/7583034/diff/2001/base/files/file_path_watcher_linux.cc File base/files/file_path_watcher_linux.cc (right): http://codereview.chromium.org/7583034/diff/2001/base/files/file_path_watcher_linux.cc#newcode333 base/files/file_path_watcher_linux.cc:333: if (fired_watch == watch_entry->watch_) { On 2011/08/30 16:00:16, Craig ...
9 years, 3 months ago (2011-08-30 16:38:26 UTC) #4
Craig
Sorry for the delay in responding ... I've been fighting other fires. I'll try to ...
9 years, 3 months ago (2011-09-01 19:04:07 UTC) #5
Craig
I've added some extra tests and tweaked the determination of whether the path etc. has ...
9 years, 3 months ago (2011-09-02 07:23:41 UTC) #6
Mattias Nissler (ping if slow)
LGTM if you address my question regarding the root dir. In the best case, the ...
9 years, 3 months ago (2011-09-02 11:34:32 UTC) #7
Craig
On 2011/09/02 11:34:32, Mattias Nissler wrote: > LGTM if you address my question regarding the ...
9 years, 3 months ago (2011-09-03 07:46:05 UTC) #8
Craig
Comments updated in patch 4 to address issues raised.
9 years, 3 months ago (2011-09-04 19:42:24 UTC) #9
Mattias Nissler (ping if slow)
9 years, 3 months ago (2011-09-05 09:07:54 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld 408576698