<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>24412</bug_id>
          
          <creation_ts>2003-07-13 14:44 0000</creation_ts>
          <short_desc>wrong behaviour of mc.gentoo</short_desc>
          <delta_ts>2003-08-21 04:20:04 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>sergem@rol.ru</reporter>
          <assigned_to>bug-wranglers@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>sergem@rol.ru</who>
            <bug_when>2003-07-13 14:44:27 0000</bug_when>
            <thetext>mc.gentoo must not include &quot;. /etc/profile&quot;
If I add recomended strings to my .bashrc 

# Midnight Commander chdir enhancement
if [ -f /usr/share/mc/mc.gentoo ]; then
     . /usr/share/mc/mc.gentoo
fi

Any subshells silently discardes my .(bash_)profile environment changes


Reproducible: Always
Steps to Reproduce:
By example:

 $ echo $GDK_USE_XFT 
1
 $ export GDK_USE_XFT=0
 $ echo $GDK_USE_XFT 
0
 $ bash
 $ echo $GDK_USE_XFT
1
 $</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lanius@gentoo.org</who>
            <bug_when>2003-08-21 04:20:04 0000</bug_when>
            <thetext>thx, fixed in -r2</thetext>
          </long_desc>
      
    </bug>

</bugzilla>