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 148088 Details for
Bug 225153
mc doesn't report free space correctly
[?]
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]
fix
225153.patch (text/plain), 871 bytes, created by
Tomas Heinrich
on 2007-02-14 22:51:34 UTC
(
hide
)
Description:
fix
Filename:
MIME Type:
Creator:
Tomas Heinrich
Created:
2007-02-14 22:51:34 UTC
Size:
871 bytes
patch
obsolete
>--- mc-2007-01-24-03/src/main.c.realpath 2007-02-14 19:26:29.213676051 +0100 >+++ mc-2007-01-24-03/src/main.c 2007-02-14 23:35:03.933787801 +0100 >@@ -487,25 +487,15 @@ > return; > > if (old_cwd == NULL || strcmp(old_cwd, panel->cwd) != 0) { >- struct stat st; >+ char rpath[PATH_MAX]; > > init_my_statfs(); > g_free(old_cwd); > old_cwd = g_strdup(panel->cwd); > >- if ( mc_lstat (panel->cwd, &st) ) >- return; >- >- if ( !S_ISLNK (st.st_mode) ) { >- my_statfs (&myfs_stats, panel->cwd); >- } else >- { >- char buf[MC_MAXPATHLEN]; >- memset (buf, 0, sizeof(buf)); >- if ( mc_readlink (panel->cwd, buf, sizeof(buf)-1) <= 0 ) >- return; >- my_statfs (&myfs_stats, buf); >- } >+ if (mc_realpath (panel->cwd, rpath) == NULL) >+ return; >+ my_statfs (&myfs_stats, rpath); > } > > if (myfs_stats.avail > 0 || myfs_stats.total > 0) {
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
Actions:
View
|
Diff
Attachments on
bug 225153
: 148088