Project

General

Profile

Actions

Bug #3341

closed

The sftp command should use the native glob()

Added by Gary Mills over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2012-11-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

The sftp command currently does globbing with a private copy of the BSD glob() function. Once bug #1097 is resolved, sftp can use the native glob() function in libc instead. Note that only sftp does globbing. The scp, ssh, and sshd executables do not need it.

Actions #1

Updated by Gary Mills over 9 years ago

  • Assignee set to Gary Mills
  • % Done changed from 0 to 80

This turned out to be pretty easy to do. The only complication was that I had to remove glob.h from the ssh source. As far as I could tell, this was the only way to resolve the header file conflict. The static library was no problem because it could be built without the private glob() function once the proper symbols were defined.

Actions #2

Updated by Gary Mills over 8 years ago

  • Status changed from New to Closed
  • % Done changed from 80 to 100

Dan McDonald: Just pushed it.

Actions

Also available in: Atom PDF