Snippets for arj 3.10.22 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/6y5x9h1639i3c4cbhv4b3sp25829jbp8-arj-3.10.22.drv.
-
arj.c:594:3: warning: implicit declaration of function 'fcloseall'; did you mean 'fclose'? [-Wimplicit-function-declaration] 594 | fcloseall(); | ^~~~~~~~~ | fclose -
environ.h:936:26: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 936 | #define system_cmd(cmd) system(cmd) | ^~~~~~~~~~~ -
arj.c:641:3: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 641 | freopen(dev_con, m_w, stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
fardata.c:61:4: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | freopen(dev_con, m_w, stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
arj_arcv.c:2960:24: warning: '%03d' directive writing between 3 and 10 bytes into a region of size 8 [-Wformat-overflow=] 2960 | sprintf(subdir, "%03d%c", dir_num, PATHSEP_DEFAULT); | ^~~~ -
arj_proc.c:2499:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2499 | fread(buffer, 1, (int)offset, stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
exe_sear.c:123:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | fread(&ehdr, 1, sizeof(ehdr), stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
exe_sear.c:132:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 132 | fread(&shdr, 1, sizeof(shdr), stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:377:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 377 | fread(single_pad, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:385:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 385 | fread(single_pad, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:406:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 406 | fread(single_pad, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:415:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 415 | fread(single_pad_r, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:440:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 440 | fread(protpad, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:460:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 460 | fread(protpad_r, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:553:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 553 | fread(single_pad, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:561:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 561 | fread(single_pad_r, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:586:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 586 | fread(protpad, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:606:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 606 | fread(protpad_r, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:812:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 812 | fread(single_pad, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:821:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 821 | fread(single_pad_r, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:847:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 847 | fread(protpad, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:867:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 867 | fread(protpad_r, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
postproc.c:241:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 241 | system(cmd_text); | ^~~~~~~~~~~~~~~~ -
arjsfx.c:211:3: warning: implicit declaration of function 'fcloseall'; did you mean 'fclose'? [-Wimplicit-function-declaration] 211 | fcloseall(); | ^~~~~~~~~ | fclose -
arjsfx.c:395:4: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 395 | freopen(dev_null, m_w, stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
arjsfx.c:214:3: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 214 | freopen(dev_con, m_w, stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
arjsfx.c:489:3: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 489 | freopen(dev_null, m_w, stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
environ.c:2184:2: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 2184 | getcwd(buf, len); | ^~~~~~~~~~~~~~~~ -
environ.c:3891:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 3891 | chdir(dir); | ^~~~~~~~~~ -
arj_user.c:2297:4: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 2297 | freopen(dev_null, m_w, stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
environ.h:248:32: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 248 | #define _write write
-
rearj.c:663:27: warning: '%s' directive writing up to 511 bytes into a region of size 399 [-Wformat-overflow=] 663 | sprintf(cmd_buffer, "%s %s", preunpack_cmd_text, full_name); | ^~ ~~~~~~~~~ -
rearj.c:690:27: warning: '%s' directive writing up to 511 bytes into a region of size 399 [-Wformat-overflow=] 690 | sprintf(cmd_buffer, "%s %s", precount_cmd_text, full_name); | ^~ ~~~~~~~~~ -
arjdisp.c:193:4: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 193 | system("arj t arj*" EXE_EXTENSION " -hep -*"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
packager.c:475:2: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 475 | system(cmdline); | ^~~~~~~~~~~~~~~ -
packager.c:199:26: warning: '%s' directive writing up to 127 bytes into a region of size 122 [-Wformat-overflow=] 199 | sprintf(out_str, "@{c40}%s@{_}\n", tmp_str); | ^~ ~~~~~~~ -
packager.c:386:39: warning: '%s' directive writing up to 511 bytes into a region of size 494 [-Wformat-overflow=] 386 | sprintf(arj_cmds, "a -2e.*TYPE -jm -z%s -y -je -va retail" P "%s %s", tmp_name, buf, platform_specific); | ^~ ~~~~~~~~ -
packager.c:474:19: warning: '%s' directive writing up to 511 bytes into a region of size 502 [-Wformat-overflow=] 474 | sprintf(cmdline, "%s" P "arj" P "arj @%s -+", argv[1], pkg_rsp); | ^~~~ ~~~~~~~