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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



наб <nabijaczleweli@xxxxxxxxxxxxxxxxxx> 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 <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux