Make fish avoid iterating through user list when completing file part of directory starting with tilde. Also add a timeout to the directory iteration, to protect against humongously large user databases.

darcs-hash:20090202224645-ac50b-353047a73e4d6f494f470fe2ea6c4a34b486d302.gz
This commit is contained in:
axel
2009-02-03 08:46:45 +10:00
parent 05341b055b
commit 72025a6a38
4 changed files with 133 additions and 137 deletions

View File

@@ -469,4 +469,8 @@ long sysconf(int name);
#endif
#ifndef NAN
#define NAN (0.0/0.0)
#endif
#endif