Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 925471 Details for
Bug 1117334
unload from loaded modulefile broken
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
unload from modulefile fix
unload_from_modulefile.patch (text/plain), 808 bytes, created by
Filip Krska
on 2014-08-10 07:13:00 UTC
(
hide
)
Description:
unload from modulefile fix
Filename:
MIME Type:
Creator:
Filip Krska
Created:
2014-08-10 07:13:00 UTC
Size:
808 bytes
patch
obsolete
>diff -up modules-3.2.10/ModuleCmd_Load.c.unload_from_modulefile modules-3.2.10/ModuleCmd_Load.c >--- modules-3.2.10/ModuleCmd_Load.c.unload_from_modulefile 2014-07-08 10:43:41.615212949 +0200 >+++ modules-3.2.10/ModuleCmd_Load.c 2014-07-08 13:49:21.674701003 +0200 >@@ -126,7 +126,7 @@ int ModuleCmd_Load( Tcl_Interp *interp, > ** Set up the flags controling the Tcl callback functions > **/ > >- /* avoid changes when invoked as a subcommand */ >+ /* avoid changes when invoked as a subcommand and loading */ > if (!(g_flags & M_SUBCMD)) { > if( load) { > g_flags |= M_LOAD; >@@ -136,6 +136,11 @@ int ModuleCmd_Load( Tcl_Interp *interp, > g_flags &= ~M_LOAD; > } > g_flags |= M_SUBCMD; >+ } else { >+ if (!load) { >+ g_flags |= M_REMOVE; >+ g_flags &= ~M_LOAD; >+ } > } > > /**
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
fkrska
: review?
Actions:
View
|
Diff
Attachments on
bug 1117334
: 925471 |
925472