Mercurial > vim
view src/proto/vim9compile.pro @ 19661:31d303c0c464 v8.2.0387
patch 8.2.0387: error for possible NULL argument to qsort()
Commit: https://github.com/vim/vim/commit/bb65a5690c24ccfce37e210316bf1d0964c91359
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 15 18:15:03 2020 +0100
patch 8.2.0387: error for possible NULL argument to qsort()
Problem: Error for possible NULL argument to qsort().
Solution: Don't call qsort() when there is nothing to sort. (Dominique
Pelle, closes #5780)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 15 Mar 2020 18:30:04 +0100 |
parents | 2fee087c94cb |
children | ad37a198a708 |
line wrap: on
line source
/* vim9compile.c */ int check_defined(char_u *p, int len, cctx_T *cctx); char_u *skip_type(char_u *start); type_T *parse_type(char_u **arg, garray_T *type_list); char *vartype_name(vartype_T type); char *type_name(type_T *type, char **tofree); int get_script_item_idx(int sid, char_u *name, int check_writable); imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx); char_u *to_name_const_end(char_u *arg); int assignment_len(char_u *p, int *heredoc); void compile_def_function(ufunc_T *ufunc, int set_return_type); void delete_def_function(ufunc_T *ufunc); void free_def_functions(void); /* vim: set ft=c : */