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 309108 Details for
Bug 450836
Ignoring return value in gfs_mkfs
[?]
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]
Proposed patch
450836.patch (text/plain), 586 bytes, created by
Robert Peterson
on 2008-06-12 17:12:46 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Robert Peterson
Created:
2008-06-12 17:12:46 UTC
Size:
586 bytes
patch
obsolete
> gfs/gfs_mkfs/main.c | 4 +--- > 1 files changed, 1 insertions(+), 3 deletions(-) > >diff --git a/gfs/gfs_mkfs/main.c b/gfs/gfs_mkfs/main.c >index 3027d06..0dc75b4 100644 >--- a/gfs/gfs_mkfs/main.c >+++ b/gfs/gfs_mkfs/main.c >@@ -221,9 +221,7 @@ void are_you_sure(commandline_t *comline) > vid->usage_id == VOLUME_ID_OTHER? "partition" : vid->usage); > volume_id_close(vid); > printf("\nAre you sure you want to proceed? [y/n] "); >- fgets(input, 32, stdin); >- >- if (input[0] != 'y') >+ if (fgets(input, 32, stdin) == NULL || input[0] != 'y') > die("aborted\n"); > else > printf("\n");
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 450836
: 309108