Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • G go
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • go
  • Repository
  • go
  • src
  • pkg
  • runtime
  • debug
  • stack.go
Find file BlameHistoryPermalink
  • Vincent Vanackere's avatar
    runtime/debug: fix incorrect Stack output if package path contains a dot · d7c14655
    Vincent Vanackere authored Jan 27, 2014
    Although debug.Stack is deprecated, it should still return the correct result.
    Output before this CL (using a trivial library in $GOPATH/test.com/a):
    /home/vince/src/test.com/a/lib.go:9 (0x42311e)
            com/a.ShowStack: os.Stdout.Write(debug.Stack())
    
    Output with this CL applied:
    /home/vince/src/test.com/a/lib.go:9 (0x42311e)
            ShowStack: os.Stdout.Write(debug.Stack())
    
    LGTM=iant
    R=golang-codereviews, iant
    CC=golang-codereviews
    https://golang.org/cl/57330043
    d7c14655
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7