Bug 1854 - Build on Linux fails due to syntax error in port-linux.c
Summary: Build on Linux fails due to syntax error in port-linux.c
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: 5.7p1
Hardware: All All
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_5_9
  Show dependency treegraph
 
Reported: 2011-02-06 19:24 AEDT by Steve Caligo
Modified: 2011-09-06 15:32 AEST (History)
1 user (show)

See Also:


Attachments
Patch that adds missing "{" (285 bytes, patch)
2011-02-06 19:24 AEDT, Steve Caligo
no flags Details | Diff
Same patch, previous one was truncated (314 bytes, patch)
2011-02-06 19:34 AEDT, Steve Caligo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Caligo 2011-02-06 19:24:30 AEDT
Created attachment 1992 [details]
Patch that adds missing "{"

Version should be 5.8p1, but that option isn't available yet.

Build on Linux (in my case SLES 11 SP1 x86_64) fails due to a syntax error in port-linux.c

port-linux.c: At top level:
port-linux.c:220: error: expected identifier or ‘(’ before ‘if’
port-linux.c:222: error: expected identifier or ‘(’ before ‘}’ token

Patch attached.
Comment 1 Steve Caligo 2011-02-06 19:34:35 AEDT
Created attachment 1993 [details]
Same patch, previous one was truncated
Comment 2 Darren Tucker 2011-02-06 21:03:55 AEDT
Thanks, this was fixed in the development tree earlier today and it'll be in the next release.
Comment 3 Damien Miller 2011-09-06 15:32:55 AEST
close resolved bugs now that openssh-5.9 has been released