Closed Bug 421029 Opened 16 years ago Closed 2 years ago

Implement file search in NSPR

Categories

(NSPR :: NSPR, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: WeirdAl, Unassigned)

References

(Blocks 1 open bug)

Details

Currently, NSPR has no capabilities for file searching on the operating system.  This would be very useful to have - sdwilsh says Download Manager could use it, and it would save me time in Verbosio to have file-search as a native XPCOM component.
I think this feature should be provided in XPCOM.
Are there system calls on Windows and Mac OS X for file searching?
Blocks: 329973
http://developer.apple.com/documentation/Cocoa/Conceptual/LowLevelFileMgmt/Tasks/LocatingDirectories.html - this might be a starting point:

"Ideally, you should use the Cocoa functions and constants defined in NSPathUtilities.h. They are easier to use and more efficient in Cocoa code. The primary function for obtaining paths to standard directories is NSSearchPathForDirectoriesInDomains."
Here's a GNU tool for file searching:
http://www.gnu.org/software/findutils/

That covers Linux, in one way.

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: wtc → nobody
Severity: normal → --
Status: NEW → RESOLVED
Type: defect → enhancement
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.