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

Issue 16096006: Skip argv[0] when processing command line options in symlink.py (Closed)

Created:
7 years, 6 months ago by Mostyn Bramley-Moore
Modified:
7 years, 6 months ago
CC:
chromium-reviews, rogerj
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Skip argv[0] when processing command line options in symlink.py The problem fixed by this patch is that this script always creates a link to itself in the target location. That behavior was probably not intended and caused problems when running this script several times with the same target folder. Each run of this script would create one expected link and one link to the script itself. Meaning that the need to use --force the second time was needed to overwrite the "self-link" from the first run. Even with --force there were issues if this script was run in parallel since there can be a race condition in overwriting the "self-link". Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202661

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M build/symlink.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Mostyn Bramley-Moore
Paweł, Mark: any comments on this small fix?
7 years, 6 months ago (2013-05-28 18:39:26 UTC) #1
Mark Mentovai
LGTM
7 years, 6 months ago (2013-05-28 18:48:54 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mostynb@opera.com/16096006/1
7 years, 6 months ago (2013-05-28 18:51:21 UTC) #3
commit-bot: I haz the power
7 years, 6 months ago (2013-05-28 21:49:13 UTC) #4
Message was sent while issue was closed.
Change committed as 202661

Powered by Google App Engine
This is Rietveld 408576698