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

Issue 5154042: code review 5154042: cgo: allow Window's specific path characters in flag di... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by Joe Poirier
Modified:
12 years, 7 months ago
Reviewers:
CC:
brainman, peterGo, golang-dev, rsc
Visibility:
Public.

Description

cgo: allow Window's specific path characters in flag directives. Example: #cgo windows LDFLAGS: -LC:\\WINDOWS\\system32

Patch Set 1 #

Patch Set 2 : diff -r 7ae32f195afd https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 7ae32f195afd https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 40f9c1636141 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/cmd/cgo/gcc.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11
Joe Poirier
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 7 months ago (2011-09-29 03:25:29 UTC) #1
rsc
Why the doubled backslashes in the example? Russ
12 years, 7 months ago (2011-09-29 12:51:18 UTC) #2
peterGo
Russ, The revised safeBytes, var safeBytes = []byte("+-.,/0123456789:=ABCDEFGHIJKLMNOPQRSTUVWXYZ\\_abcdefghijklmnopqrstuvwxyz") is an interpreted string literal, not a ...
12 years, 7 months ago (2011-09-29 14:11:19 UTC) #3
rsc
Okay, but why the doubled backslash in Example: #cgo windows LDFLAGS: -LC:\\WINDOWS\\system32
12 years, 7 months ago (2011-09-29 15:30:30 UTC) #4
Joe Poirier
On Thu, Sep 29, 2011 at 10:30 AM, Russ Cox <rsc@golang.org> wrote: > Okay, but ...
12 years, 7 months ago (2011-09-29 15:50:09 UTC) #5
Joe Poirier
On Thu, Sep 29, 2011 at 10:49 AM, Joseph Poirier <jdpoirier@gmail.com> wrote: > On Thu, ...
12 years, 7 months ago (2011-09-29 16:07:58 UTC) #6
brainman
The change LGTM. I would use `` as peterGo suggested and would have / and ...
12 years, 7 months ago (2011-10-03 01:31:57 UTC) #7
Joe Poirier
Hello alex.brainman@gmail.com, go.peter.90@gmail.com, golang-dev@googlegroups.com, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 7 months ago (2011-10-03 16:19:11 UTC) #8
Joe Poirier
Uses a raw string literal. The order is the same since it's consistent with the ...
12 years, 7 months ago (2011-10-03 16:23:06 UTC) #9
brainman
On 2011/10/03 16:23:06, Joe Poirier wrote: > > The order is the same since it's ...
12 years, 7 months ago (2011-10-04 04:07:11 UTC) #10
brainman
12 years, 7 months ago (2011-10-04 04:07:42 UTC) #11
*** Submitted as http://code.google.com/p/go/source/detail?r=6aa111bd2d11 ***

cgo: allow Window's specific path characters in flag directives.

Example: #cgo windows LDFLAGS: -LC:\\WINDOWS\\system32

R=alex.brainman, go.peter.90, golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5154042

Committer: Alex Brainman <alex.brainman@gmail.com>
Sign in to reply to this message.

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