Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #26576

Closed (moved)
Open
Opened Jun 29, 2018 by Matthew Finkel@sysrqb

Don't find absolute path from /proc/self/exe

Similar to #20283 (moved), Mozilla cleaned up their 13+ year old code for finding the install directory path in [1403366]. Instead of relying on argv[0], they now follow /proc/self/exe on Linux systems (they changed how they handle this on other platforms, too).

I'm not sure if we should revert part of the patch.

commit 4fe745918004db0e36e737f945901650be10c1de
Author: Mike Hommey <mh+mozilla@glandium.org>
Date:   Thu Sep 28 10:37:27 2017 +0900

    Bug 1403366 - Stop requiring argv[0] for XRE_GetBinaryPath and the underlying BinaryPath::Get. r=froydnj
    
    --HG--
    extra : rebase_source : ac7bb0d7766fce5b6325c34c2868b26eec594e18
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#26576