Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 170414 - autofs-4.1.3-reentrant-syslog.patch does not compile with other compilers
autofs-4.1.3-reentrant-syslog.patch does not compile with other compilers
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: autofs (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Moyer
Brock Organ
Depends On:
Blocks: 168429
  Show dependency treegraph
Reported: 2005-10-11 10:53 EDT by Rod Nayfield
Modified: 2007-11-30 17:07 EST (History)
4 users (show)

See Also:
Fixed In Version: RHBA-2006-0057
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-03-07 13:30:01 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2006:0057 qe-ready SHIPPED_LIVE autofs bug fix update 2006-03-06 00:00:00 EST

  None (edit)
Description Rod Nayfield 2005-10-11 10:53:15 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7

Description of problem:

Extra semicolon in autofs-4.1.3-reentrant-syslog.patch causes fatal errors on some (non gcc 3.4) compilers.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Compile srpm on with older gcc

Actual Results:  Fatal error

Expected Results:  Compile

Additional info:


--- autofs-4.1.3-reentrant-syslog.patch	Tue Jul 12 00:26:38 2005
+++ autofs-4.1.3-reentrant-syslog-STRAT.patch	Fri Oct  7 00:02:07 2005
@@ -41,7 +41,7 @@
  struct autofs_point ap;
 +/* re-entrant syslog default context data */
-+#define AUTOFS_SYSLOG_CONTEXT {-1, 0, 0, LOG_PID, (const char *)0, LOG_DAEMON, 0xff};
++#define AUTOFS_SYSLOG_CONTEXT {-1, 0, 0, LOG_PID, (const char *)0, LOG_DAEMON, 0xff}
  volatile struct pending_mount *junk_mounts = NULL;
Comment 1 Jeff Moyer 2005-10-17 17:23:01 EDT
The fix is easy enough, so I'll include it.

In the future, please post patches as attachments.


Comment 2 Jeff Moyer 2005-10-19 15:13:07 EDT
The fix has been committed to CVS.  It will appear in the next round of updates
(U3 for RHEL4 and U7 for RHEL 3).

Comment 10 Red Hat Bugzilla 2006-03-07 13:30:01 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.