Bug 1407 - A patch for forcing openbsd-compat implementation of glob(3) on Mac OS X
Summary: A patch for forcing openbsd-compat implementation of glob(3) on Mac OS X
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sftp (show other bugs)
Version: 4.7p1
Hardware: Other Mac OS X
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_4_8
  Show dependency treegraph
 
Reported: 2007-12-21 13:24 AEDT by Disco Vince Giffin
Modified: 2008-03-31 15:23 AEDT (History)
1 user (show)

See Also:


Attachments
Forces the openbsd-compat implementation of glob(3). (1.08 KB, patch)
2007-12-21 13:24 AEDT, Disco Vince Giffin
no flags Details | Diff
Add BROKEN_GLOB and define in configure for OS X (1.84 KB, patch)
2007-12-21 21:20 AEDT, Darren Tucker
dtucker: ok?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Disco Vince Giffin 2007-12-21 13:24:05 AEDT
Created attachment 1401 [details]
Forces the openbsd-compat implementation of glob(3).

Attached is a patch for building OpenSSH 4.7p1 on Mac OS X.

sftp makes certain assumptions about the behavior of glob(3) that no longer hold on Mac OS X.  This patch forces the openbsd-compat implementation.
Comment 1 Darren Tucker 2007-12-21 21:20:55 AEDT
Created attachment 1421 [details]
Add BROKEN_GLOB and define in configure for OS X

Using the built in globbing is fine, however I would prefer to activate the replacement based on the characteristic not the platform.
Comment 2 Darren Tucker 2007-12-31 21:30:22 AEDT
Patch #1421 has been applied and will be in the 4.8 release.  Thanks.
Comment 3 Damien Miller 2008-03-31 15:23:07 AEDT
Fix shipped in 4.9/4.9p1 release.