mirror of
https://github.com/zsh-users/zsh
synced 2024-07-08 19:55:44 +00:00
18634: Tomi Vainio: work around problem with latest Sun k2 compiler
This commit is contained in:
parent
a267832ddf
commit
e81160def2
|
@ -1,5 +1,8 @@
|
|||
2003-06-25 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 18634: Tomi Vainio: Src/system.h: work around problem with
|
||||
latest Sun k2 compiler mistaking an array as variable length
|
||||
|
||||
* 18631: Completion/AIX/Command/_smit,
|
||||
Completion/Linux/Command/_modutils, Completion/Linux/Command/_uml,
|
||||
Completion/Unix/Command/_ant, Completion/Unix/Command/_arp,
|
||||
|
|
|
@ -418,7 +418,7 @@ struct timezone {
|
|||
* converted to printable decimal form including the sign and the *
|
||||
* terminating null character. Below 0.30103 > lg 2. *
|
||||
* BDIGBUFSIZE is for a number converted to printable binary form. */
|
||||
#define DIGBUFSIZE ((int)(((sizeof(zlong) * 8) - 1) * 0.30103) + 3)
|
||||
#define DIGBUFSIZE ((int)(((sizeof(zlong) * 8) - 1) * 30103/100000) + 3)
|
||||
#define BDIGBUFSIZE ((int)((sizeof(zlong) * 8) + 4))
|
||||
|
||||
/* If your stat macros are broken, we will *
|
||||
|
|
Loading…
Reference in New Issue
Block a user