Re: [PATCH] bltin/test: align -nt and -ot with POSIX.1-2024

Herbert Xu <[email protected]>
Newsgroups org.kernel.vger.dash
Message-ID <[email protected]>
наб <[email protected]> wrote:
>
> diff --git a/src/bltin/test.c b/src/bltin/test.c
> index 2db4d0f..06f6818 100644
> --- a/src/bltin/test.c
> +++ b/src/bltin/test.c
> @@ -17,6 +17,7 @@
> #include <string.h>
> #include <unistd.h>
> #include <stdarg.h>
> +#include <stdbool.h>
> #include "bltin.h"
> #include "../exec.h"
> 
> @@ -471,16 +472,17 @@ newerf (const char *f1, const char *f2)
> {
>        struct stat64 b1, b2;
> 
> +       if(stat64(f1, &b1) != 0)

Please add a space between if and '('.

Thanks,
-- 
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.