Project

General

Profile

Bug #3341

The sftp command should use the native glob()

Added by Gary Mills about 8 years ago. Updated almost 7 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.

#1

Updated by Gary Mills about 8 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.

#2

Updated by Gary Mills almost 7 years ago

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

Dan McDonald: Just pushed it.

Also available in: Atom PDF