Skip to content

trivial time_t vs long in ar.c #40

Closed
@gopherbot

Description

@gopherbot

by smcpolin:

What steps will reproduce the problem?
1. install on freebsd
2. ./all.bash
3.

What is the expected output? What do you see instead?
pointer type violation on line 1222 of gopack/ar.c


What is your $GOOS?  $GOARCH?
nacl, 386
Which revision are you sync'ed to?  (hg log -l 1)


changeset:   3975:b51fd2d6c160
tag:         tip
user:        Kevin Ballard <[email protected]>
date:        Tue Nov 10 20:05:24 2009 -0800
summary:     Implement new emacs command M-x gofmt


Which revision are you sync'ed to?  (hg log -l 1)


Please provide any additional information below.
Line 1222 should be something like:
time_t rt = bp->date; cp = ctime(&rt);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions