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
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: autofs (Show other bugs)
4.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeffrey 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:
Environment:
Last Closed: 2006-03-07 13:30:01 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  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:
Always

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

Actual Results:  Fatal error

Expected Results:  Compile

Additional info:

Fix:

--- 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 Jeffrey 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.

Thanks,

Jeff
Comment 2 Jeffrey 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).

Thanks.
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.

http://rhn.redhat.com/errata/RHBA-2006-0057.html

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