Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 196492 Details for
Bug 276352
sys-fs/e2fsprogs-1.41.7: resize2fs broken handling of device name
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix from e2fsprogs-git
e2fsprogs-1.41.7-fix-resize2fs.diff (text/plain), 1.10 KB, created by
Matthias Schwarzott
on 2009-07-03 10:29:47 UTC
(
hide
)
Description:
fix from e2fsprogs-git
Filename:
MIME Type:
Creator:
Matthias Schwarzott
Created:
2009-07-03 10:29:47 UTC
Size:
1.10 KB
patch
obsolete
>commit 3a4d9869d47c462c84688b0f8b15df5ab6f93381 >Author: Theodore Ts'o <tytso@mit.edu> >Date: Thu Jul 2 13:54:22 2009 -0400 > > resize2fs: Fix error message so the mountpoint is printed correctly > > The resize2fs program was freeing the mountpoint information too > early, so garbage was getting printed instead of the correct > information in an error message. > > Addresses-Debian-Bug: #535452 > > Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> > >diff --git a/resize/main.c b/resize/main.c >index 9b03ba9..2dae161 100644 >--- a/resize/main.c >+++ b/resize/main.c >@@ -250,10 +250,8 @@ int main (int argc, char ** argv) > device_name); > exit(1); > } >- if (!(mount_flags & EXT2_MF_MOUNTED) || (mtpt[len-1] == 0)) { >- free(mtpt); >+ if (!(mount_flags & EXT2_MF_MOUNTED) || (mtpt[len-1] == 0)) > break; >- } > free(mtpt); > len = 2 * len; > } >@@ -453,6 +451,7 @@ int main (int argc, char ** argv) > ((flags & RESIZE_PERCENT_COMPLETE) ? > resize_progress_func : 0)); > } >+ free(mtpt); > if (retval) { > com_err(program_name, retval, _("while trying to resize %s"), > device_name);
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 276352
: 196492