mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-06-12 19:38:03 +02:00
51490: Use time_t for lastt which stores result of time(0)
Coverity complained about this, and possibly some more people would in 15 years
This commit is contained in:
parent
c9da370470
commit
6b34f3dc14
2 changed files with 5 additions and 2 deletions
|
@ -3,6 +3,9 @@
|
||||||
* 52056: Completion/Unix/Command/_sccs: _sccs: don't handle
|
* 52056: Completion/Unix/Command/_sccs: _sccs: don't handle
|
||||||
subcommands in main namespace
|
subcommands in main namespace
|
||||||
|
|
||||||
|
* 51490: Src/Zle/computil.c: Use time_t for lastt which stores
|
||||||
|
result of time(0)
|
||||||
|
|
||||||
2023-10-15 Bart Schaefer <schaefer@zsh.org>
|
2023-10-15 Bart Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
* 52218: Etc/BUGS, NEWS, README: notes since 5.9 release
|
* 52218: Etc/BUGS, NEWS, README: notes since 5.9 release
|
||||||
|
|
|
@ -911,7 +911,7 @@ struct cadef {
|
||||||
Caarg rest; /* the rest-argument */
|
Caarg rest; /* the rest-argument */
|
||||||
char **defs; /* the original strings */
|
char **defs; /* the original strings */
|
||||||
int ndefs; /* number of ... */
|
int ndefs; /* number of ... */
|
||||||
int lastt; /* last time this was used */
|
time_t lastt; /* last time this was used */
|
||||||
Caopt *single; /* array of single-letter options */
|
Caopt *single; /* array of single-letter options */
|
||||||
char *match; /* -M spec to use */
|
char *match; /* -M spec to use */
|
||||||
int argsactive; /* if normal arguments are still allowed */
|
int argsactive; /* if normal arguments are still allowed */
|
||||||
|
@ -2935,7 +2935,7 @@ struct cvdef {
|
||||||
Cvval vals; /* value definitions */
|
Cvval vals; /* value definitions */
|
||||||
char **defs; /* original strings */
|
char **defs; /* original strings */
|
||||||
int ndefs; /* number of ... */
|
int ndefs; /* number of ... */
|
||||||
int lastt; /* last time used */
|
time_t lastt; /* last time used */
|
||||||
int words; /* if to look at other words */
|
int words; /* if to look at other words */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue