summaryrefslogtreecommitdiffstats
path: root/fish/destpaths.c
Commit message (Collapse)AuthorAgeFilesLines
* Guestfish tab-completion on destination paths, fixed this time.Richard W.M. Jones2009-07-031-49/+74
| | | | Tab-completion on destination paths should now work correctly.
* fish: handle some out-of-memory conditionsJim Meyering2009-07-011-29/+62
| | | | | | | | | | | | | * fish/destpaths.c (xalloc_oversized): Define. (complete_dest_paths_generator): Use size_t as type for a few variables, rather than int. Don't deref NULL or undef on failed heap alloc. Don't leak on failed realloc. Detect theoretical overflow when count_strings returns a very large number of strings. Handle asprintf failure. (APPEND_STRS_AND_FREE): Rewrite as do {...}while(0), so that each use can/must be followed by a semicolon. Better for auto-formatters.
* Add tab-completion of guest filenames (currently disabled).Richard Jones2009-06-181-0/+173