Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3259)

Issue 4437076: code review 4437076: runtime: fix mkversion to output valid path separators

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by peterGo
Modified:
13 years ago
Reviewers:
rsc
CC:
rsc, golang-dev
Visibility:
Public.

Description

runtime: fix mkversion to output valid path separators In a GOROOT path a backslash is a path separator not an escape character. For example, `C:\go`. Fixes gotest error: version.go:3: unknown escape sequence: g

Patch Set 1 #

Patch Set 2 : diff -r 9658399fdd33 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 9658399fdd33 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/pkg/runtime/mkversion.c View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3
peterGo
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years ago (2011-04-27 18:30:38 UTC) #1
rsc
LGTM
13 years ago (2011-04-27 19:46:44 UTC) #2
rsc
13 years ago (2011-04-27 19:47:14 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=a4ee5538faba ***

runtime: fix mkversion to output valid path separators

In a GOROOT path a backslash is a path separator
not an escape character. For example, `C:\go`.
Fixes gotest error:
version.go:3: unknown escape sequence: g

R=rsc
CC=golang-dev
http://codereview.appspot.com/4437076

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b