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 206691 Details for
Bug 306551
Autofs fails to match wildcard
[?]
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]
Correct mistake in logic test in wildcard lookup.
autofs-5.0.1-correct-logic-test-wild-lookup.patch (text/plain), 2.03 KB, created by
Ian Kent
on 2007-09-26 09:11:07 UTC
(
hide
)
Description:
Correct mistake in logic test in wildcard lookup.
Filename:
MIME Type:
Creator:
Ian Kent
Created:
2007-09-26 09:11:07 UTC
Size:
2.03 KB
patch
obsolete
>diff -up autofs-5.0.1/modules/lookup_yp.c.correct-logic-test-wild-lookup autofs-5.0.1/modules/lookup_yp.c >--- autofs-5.0.1/modules/lookup_yp.c.correct-logic-test-wild-lookup 2007-09-25 11:50:47.000000000 +0800 >+++ autofs-5.0.1/modules/lookup_yp.c 2007-09-25 11:51:04.000000000 +0800 >@@ -523,12 +523,12 @@ static int check_map_indirect(struct aut > } > } else { > /* Wildcard not in map but now is */ >- if (wild & (CHE_OK || CHE_UPDATED)) >+ if (wild & (CHE_OK | CHE_UPDATED)) > source->stale = 1; > } > pthread_cleanup_pop(1); > >- if (wild & (CHE_OK || CHE_UPDATED)) >+ if (wild & (CHE_OK | CHE_UPDATED)) > return NSS_STATUS_SUCCESS; > } > >diff -up autofs-5.0.1/modules/lookup_nisplus.c.correct-logic-test-wild-lookup autofs-5.0.1/modules/lookup_nisplus.c >--- autofs-5.0.1/modules/lookup_nisplus.c.correct-logic-test-wild-lookup 2007-09-25 11:50:47.000000000 +0800 >+++ autofs-5.0.1/modules/lookup_nisplus.c 2007-09-25 11:51:04.000000000 +0800 >@@ -438,12 +438,12 @@ static int check_map_indirect(struct aut > } > } else { > /* Wildcard not in map but now is */ >- if (wild & (CHE_OK || CHE_UPDATED)) >+ if (wild & (CHE_OK | CHE_UPDATED)) > source->stale = 1; > } > pthread_cleanup_pop(1); > >- if (wild & (CHE_UPDATED || CHE_OK)) >+ if (wild & (CHE_UPDATED | CHE_OK)) > return NSS_STATUS_SUCCESS; > } > >diff -up autofs-5.0.1/modules/lookup_file.c.correct-logic-test-wild-lookup autofs-5.0.1/modules/lookup_file.c >--- autofs-5.0.1/modules/lookup_file.c.correct-logic-test-wild-lookup 2007-09-25 11:50:47.000000000 +0800 >+++ autofs-5.0.1/modules/lookup_file.c 2007-09-25 11:51:04.000000000 +0800 >@@ -983,12 +983,12 @@ static int check_map_indirect(struct aut > } > } else { > /* Wildcard not in map but now is */ >- if (wild & (CHE_OK || CHE_UPDATED)) >+ if (wild & (CHE_OK | CHE_UPDATED)) > source->stale = 1; > } > pthread_cleanup_pop(1); > >- if (wild & (CHE_OK || CHE_UPDATED)) >+ if (wild & (CHE_OK | CHE_UPDATED)) > return NSS_STATUS_SUCCESS; > } > >diff -up autofs-5.0.1/CHANGELOG.correct-logic-test-wild-lookup autofs-5.0.1/CHANGELOG
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 306551
: 206691