With the latest SHA1 head:
14b5274a2201484dee675c3a79879c1889d92fbb for xfstest-bld
37d4f926b525fbba8aa579b9eea4ae0921ea7b7b for xfstest-dev
This test can be built on G, however this will break the build on X, with:
xqmstats.c: In function ‘main’:
xqmstats.c:43:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buffer, 256, stats);
^
quotastats.c: In function ‘get_proc_num’:
quotastats.c:51:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &ret);
^
quota.c: In function ‘main’:
quota.c:388:16: warning: implicit declaration of function ‘reallocarray’ [-Wimplicit-function-declaration]
fsnames = reallocarray(fsnames, fscount, sizeof(char *));
^
quota.c:388:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
fsnames = reallocarray(fsnames, fscount, sizeof(char *));
^
ar: `u' modifier ignored since `D' is the default (see `U')
quota.o: In function `main':
xfstests-bld/quota/quota.c:388: undefined reference to `reallocarray'
collect2: error: ld returned 1 exit status
make[3]: *** [quota] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 1
With the latest SHA1 head: dee675c3a79879c 1889d92fbb for xfstest-bld a8aa579b9eea4ae 0921ea7b7b for xfstest-dev
14b5274a2201484
37d4f926b525fbb
This test can be built on G, however this will break the build on X, with: c:51:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] function- declaration] fsnames, fscount, sizeof(char *)); fsnames, fscount, sizeof(char *)); bld/quota/ quota.c: 388: undefined reference to `reallocarray'
xqmstats.c: In function ‘main’:
xqmstats.c:43:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buffer, 256, stats);
^
quotastats.c: In function ‘get_proc_num’:
quotastats.
fscanf(f, "%d", &ret);
^
quota.c: In function ‘main’:
quota.c:388:16: warning: implicit declaration of function ‘reallocarray’ [-Wimplicit-
fsnames = reallocarray(
^
quota.c:388:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
fsnames = reallocarray(
^
ar: `u' modifier ignored since `D' is the default (see `U')
quota.o: In function `main':
xfstests-
collect2: error: ld returned 1 exit status
make[3]: *** [quota] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 1
This will need some more investigation