| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/pinky.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||||||||||||||||||||
| 2 | - | |||||||||||||||||||||||||
| 3 | - | |||||||||||||||||||||||||
| 4 | static | - | ||||||||||||||||||||||||
| 5 | _Bool | - | ||||||||||||||||||||||||
| 6 | include_idle = | - | ||||||||||||||||||||||||
| 7 | 1 | - | ||||||||||||||||||||||||
| 8 | ; | - | ||||||||||||||||||||||||
| 9 | - | |||||||||||||||||||||||||
| 10 | - | |||||||||||||||||||||||||
| 11 | static | - | ||||||||||||||||||||||||
| 12 | _Bool | - | ||||||||||||||||||||||||
| 13 | include_heading = | - | ||||||||||||||||||||||||
| 14 | 1 | - | ||||||||||||||||||||||||
| 15 | ; | - | ||||||||||||||||||||||||
| 16 | - | |||||||||||||||||||||||||
| 17 | - | |||||||||||||||||||||||||
| 18 | static | - | ||||||||||||||||||||||||
| 19 | _Bool | - | ||||||||||||||||||||||||
| 20 | include_fullname = | - | ||||||||||||||||||||||||
| 21 | 1 | - | ||||||||||||||||||||||||
| 22 | ; | - | ||||||||||||||||||||||||
| 23 | - | |||||||||||||||||||||||||
| 24 | - | |||||||||||||||||||||||||
| 25 | static | - | ||||||||||||||||||||||||
| 26 | _Bool | - | ||||||||||||||||||||||||
| 27 | include_project = | - | ||||||||||||||||||||||||
| 28 | 1 | - | ||||||||||||||||||||||||
| 29 | ; | - | ||||||||||||||||||||||||
| 30 | - | |||||||||||||||||||||||||
| 31 | - | |||||||||||||||||||||||||
| 32 | static | - | ||||||||||||||||||||||||
| 33 | _Bool | - | ||||||||||||||||||||||||
| 34 | include_plan = | - | ||||||||||||||||||||||||
| 35 | 1 | - | ||||||||||||||||||||||||
| 36 | ; | - | ||||||||||||||||||||||||
| 37 | - | |||||||||||||||||||||||||
| 38 | - | |||||||||||||||||||||||||
| 39 | - | |||||||||||||||||||||||||
| 40 | static | - | ||||||||||||||||||||||||
| 41 | _Bool | - | ||||||||||||||||||||||||
| 42 | include_home_and_shell = | - | ||||||||||||||||||||||||
| 43 | 1 | - | ||||||||||||||||||||||||
| 44 | ; | - | ||||||||||||||||||||||||
| 45 | - | |||||||||||||||||||||||||
| 46 | - | |||||||||||||||||||||||||
| 47 | static | - | ||||||||||||||||||||||||
| 48 | _Bool | - | ||||||||||||||||||||||||
| 49 | do_short_format = | - | ||||||||||||||||||||||||
| 50 | 1 | - | ||||||||||||||||||||||||
| 51 | ; | - | ||||||||||||||||||||||||
| 52 | - | |||||||||||||||||||||||||
| 53 | - | |||||||||||||||||||||||||
| 54 | - | |||||||||||||||||||||||||
| 55 | static | - | ||||||||||||||||||||||||
| 56 | _Bool | - | ||||||||||||||||||||||||
| 57 | include_where = | - | ||||||||||||||||||||||||
| 58 | 1 | - | ||||||||||||||||||||||||
| 59 | ; | - | ||||||||||||||||||||||||
| 60 | - | |||||||||||||||||||||||||
| 61 | - | |||||||||||||||||||||||||
| 62 | - | |||||||||||||||||||||||||
| 63 | - | |||||||||||||||||||||||||
| 64 | static char const *time_format; | - | ||||||||||||||||||||||||
| 65 | static int time_format_width; | - | ||||||||||||||||||||||||
| 66 | - | |||||||||||||||||||||||||
| 67 | static struct option const longopts[] = | - | ||||||||||||||||||||||||
| 68 | { | - | ||||||||||||||||||||||||
| 69 | {"help", | - | ||||||||||||||||||||||||
| 70 | 0 | - | ||||||||||||||||||||||||
| 71 | , | - | ||||||||||||||||||||||||
| 72 | ((void *)0) | - | ||||||||||||||||||||||||
| 73 | , GETOPT_HELP_CHAR}, | - | ||||||||||||||||||||||||
| 74 | {"version", | - | ||||||||||||||||||||||||
| 75 | 0 | - | ||||||||||||||||||||||||
| 76 | , | - | ||||||||||||||||||||||||
| 77 | ((void *)0) | - | ||||||||||||||||||||||||
| 78 | , GETOPT_VERSION_CHAR}, | - | ||||||||||||||||||||||||
| 79 | { | - | ||||||||||||||||||||||||
| 80 | ((void *)0) | - | ||||||||||||||||||||||||
| 81 | , 0, | - | ||||||||||||||||||||||||
| 82 | ((void *)0) | - | ||||||||||||||||||||||||
| 83 | , 0} | - | ||||||||||||||||||||||||
| 84 | }; | - | ||||||||||||||||||||||||
| 85 | - | |||||||||||||||||||||||||
| 86 | - | |||||||||||||||||||||||||
| 87 | - | |||||||||||||||||||||||||
| 88 | static size_t | - | ||||||||||||||||||||||||
| 89 | __attribute__ ((__pure__)) | - | ||||||||||||||||||||||||
| 90 | - | |||||||||||||||||||||||||
| 91 | count_ampersands (const char *str) | - | ||||||||||||||||||||||||
| 92 | { | - | ||||||||||||||||||||||||
| 93 | size_t count = 0; | - | ||||||||||||||||||||||||
| 94 | do | - | ||||||||||||||||||||||||
| 95 | { | - | ||||||||||||||||||||||||
| 96 | if (*
| 0-13 | ||||||||||||||||||||||||
| 97 | count++; never executed: count++; | 0 | ||||||||||||||||||||||||
| 98 | } executed 13 times by 1 test: while (*end of blockExecuted by:
| 1-13 | ||||||||||||||||||||||||
| 99 | return executed 1 time by 1 test: count;return count;Executed by:
executed 1 time by 1 test: return count;Executed by:
| 1 | ||||||||||||||||||||||||
| 100 | } | - | ||||||||||||||||||||||||
| 101 | - | |||||||||||||||||||||||||
| 102 | - | |||||||||||||||||||||||||
| 103 | - | |||||||||||||||||||||||||
| 104 | - | |||||||||||||||||||||||||
| 105 | - | |||||||||||||||||||||||||
| 106 | - | |||||||||||||||||||||||||
| 107 | - | |||||||||||||||||||||||||
| 108 | static char * | - | ||||||||||||||||||||||||
| 109 | create_fullname (const char *gecos_name, const char *user_name) | - | ||||||||||||||||||||||||
| 110 | { | - | ||||||||||||||||||||||||
| 111 | size_t rsize = strlen (gecos_name) + 1; | - | ||||||||||||||||||||||||
| 112 | char *result; | - | ||||||||||||||||||||||||
| 113 | char *r; | - | ||||||||||||||||||||||||
| 114 | size_t ampersands = count_ampersands (gecos_name); | - | ||||||||||||||||||||||||
| 115 | - | |||||||||||||||||||||||||
| 116 | if (ampersands != 0
| 0-1 | ||||||||||||||||||||||||
| 117 | { | - | ||||||||||||||||||||||||
| 118 | size_t ulen = strlen (user_name); | - | ||||||||||||||||||||||||
| 119 | size_t product = ampersands * ulen; | - | ||||||||||||||||||||||||
| 120 | rsize += product - ampersands; | - | ||||||||||||||||||||||||
| 121 | if ((
| 0 | ||||||||||||||||||||||||
| 122 | (9223372036854775807L)
| 0 | ||||||||||||||||||||||||
| 123 | <
| 0 | ||||||||||||||||||||||||
| 124 | (18446744073709551615UL)
| 0 | ||||||||||||||||||||||||
| 125 | ?
| 0 | ||||||||||||||||||||||||
| 126 | (9223372036854775807L)
| 0 | ||||||||||||||||||||||||
| 127 | :
| 0 | ||||||||||||||||||||||||
| 128 | (18446744073709551615UL)
| 0 | ||||||||||||||||||||||||
| 129 | - 1) / (ampersands) < (ulen)) : ({ __xalloc_count_type __xalloc_count; __builtin_mul_overflow (ulen, ampersands, &__xalloc_count); }))
| 0 | ||||||||||||||||||||||||
| 130 | xalloc_die (); never executed: xalloc_die (); | 0 | ||||||||||||||||||||||||
| 131 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 132 | - | |||||||||||||||||||||||||
| 133 | r = result = xmalloc (rsize); | - | ||||||||||||||||||||||||
| 134 | - | |||||||||||||||||||||||||
| 135 | while (*
| 1-12 | ||||||||||||||||||||||||
| 136 | { | - | ||||||||||||||||||||||||
| 137 | if (*
| 0-12 | ||||||||||||||||||||||||
| 138 | { | - | ||||||||||||||||||||||||
| 139 | const char *uname = user_name; | - | ||||||||||||||||||||||||
| 140 | if ( | - | ||||||||||||||||||||||||
| 141 | ((*
| 0 | ||||||||||||||||||||||||
| 142 | to_uchar (*uname)
| 0 | ||||||||||||||||||||||||
| 143 | ))] & (unsigned short int) _ISlower)
| 0 | ||||||||||||||||||||||||
| 144 | ) | - | ||||||||||||||||||||||||
| 145 | * never executed: r++ = *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ;never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ; | 0 | ||||||||||||||||||||||||
| 146 | (__extension__ ({ int __res; if (sizeof (
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ; | 0 | ||||||||||||||||||||||||
| 147 | to_uchar (*uname++)
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ; | 0 | ||||||||||||||||||||||||
| 148 | ) > 1
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ; | 0 | ||||||||||||||||||||||||
| 149 | to_uchar (*uname++)
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ; | 0 | ||||||||||||||||||||||||
| 150 | )
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ; | 0 | ||||||||||||||||||||||||
| 151 | to_uchar (*uname++) never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ; | 0 | ||||||||||||||||||||||||
| 152 | ); __res = __c < -128
never executed: else __res = toupper (end of blocknever executed: __res = toupper ( to_uchar (*uname++) );never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ; | 0 | ||||||||||||||||||||||||
| 153 | to_uchar (*uname++) never executed: __res = toupper ( to_uchar (*uname++) );never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ; | 0 | ||||||||||||||||||||||||
| 154 | ); never executed: } else __res = (*__ctype_toupper_loc ())[(int) (__res = toupper ( to_uchar (*uname++) );never executed: __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )];never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ; | 0 | ||||||||||||||||||||||||
| 155 | to_uchar (*uname++) never executed: __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )];never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ; | 0 | ||||||||||||||||||||||||
| 156 | )]; never executed: __res; }))__res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )];never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ; | 0 | ||||||||||||||||||||||||
| 157 | ; never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ; | 0 | ||||||||||||||||||||||||
| 158 | while (*
| 0 | ||||||||||||||||||||||||
| 159 | * never executed: r++ = *uname++;*r++ = *uname++;never executed: *r++ = *uname++; | 0 | ||||||||||||||||||||||||
| 160 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 161 | else | - | ||||||||||||||||||||||||
| 162 | { | - | ||||||||||||||||||||||||
| 163 | *r++ = *gecos_name; | - | ||||||||||||||||||||||||
| 164 | } executed 12 times by 1 test: end of blockExecuted by:
| 12 | ||||||||||||||||||||||||
| 165 | - | |||||||||||||||||||||||||
| 166 | gecos_name++; | - | ||||||||||||||||||||||||
| 167 | } executed 12 times by 1 test: end of blockExecuted by:
| 12 | ||||||||||||||||||||||||
| 168 | *r = 0; | - | ||||||||||||||||||||||||
| 169 | - | |||||||||||||||||||||||||
| 170 | return executed 1 time by 1 test: result;return result;Executed by:
executed 1 time by 1 test: return result;Executed by:
| 1 | ||||||||||||||||||||||||
| 171 | } | - | ||||||||||||||||||||||||
| 172 | - | |||||||||||||||||||||||||
| 173 | - | |||||||||||||||||||||||||
| 174 | - | |||||||||||||||||||||||||
| 175 | - | |||||||||||||||||||||||||
| 176 | static const char * | - | ||||||||||||||||||||||||
| 177 | idle_string (time_t when) | - | ||||||||||||||||||||||||
| 178 | { | - | ||||||||||||||||||||||||
| 179 | static time_t now = 0; | - | ||||||||||||||||||||||||
| 180 | static char buf[(((((sizeof (long int) * 8) - (! ((__typeof__ (long int)) 0 < (__typeof__ (long int)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (long int)) 0 < (__typeof__ (long int)) -1))) + 2]; | - | ||||||||||||||||||||||||
| 181 | time_t seconds_idle; | - | ||||||||||||||||||||||||
| 182 | - | |||||||||||||||||||||||||
| 183 | if (now == 0
| 0-1 | ||||||||||||||||||||||||
| 184 | time (&now); executed 1 time by 1 test: time (&now);Executed by:
| 1 | ||||||||||||||||||||||||
| 185 | - | |||||||||||||||||||||||||
| 186 | seconds_idle = now - when; | - | ||||||||||||||||||||||||
| 187 | if (seconds_idle < 60
| 0-1 | ||||||||||||||||||||||||
| 188 | return never executed: " ";return " ";never executed: return " "; | 0 | ||||||||||||||||||||||||
| 189 | if (seconds_idle < (24 * 60 * 60)
| 0-1 | ||||||||||||||||||||||||
| 190 | { | - | ||||||||||||||||||||||||
| 191 | int hours = seconds_idle / (60 * 60); | - | ||||||||||||||||||||||||
| 192 | int minutes = (seconds_idle % (60 * 60)) / 60; | - | ||||||||||||||||||||||||
| 193 | sprintf (buf, "%02d:%02d", hours, minutes); | - | ||||||||||||||||||||||||
| 194 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 195 | else | - | ||||||||||||||||||||||||
| 196 | { | - | ||||||||||||||||||||||||
| 197 | unsigned long int days = seconds_idle / (24 * 60 * 60); | - | ||||||||||||||||||||||||
| 198 | sprintf (buf, "%lud", days); | - | ||||||||||||||||||||||||
| 199 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 | ||||||||||||||||||||||||
| 200 | return executed 1 time by 1 test: buf;return buf;Executed by:
executed 1 time by 1 test: return buf;Executed by:
| 1 | ||||||||||||||||||||||||
| 201 | } | - | ||||||||||||||||||||||||
| 202 | - | |||||||||||||||||||||||||
| 203 | - | |||||||||||||||||||||||||
| 204 | static const char * | - | ||||||||||||||||||||||||
| 205 | time_string (const STRUCT_UTMP *utmp_ent) | - | ||||||||||||||||||||||||
| 206 | { | - | ||||||||||||||||||||||||
| 207 | static char buf[(((((sizeof (intmax_t) * 8) - (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) + sizeof "-%m-%d %H:%M"]; | - | ||||||||||||||||||||||||
| 208 | - | |||||||||||||||||||||||||
| 209 | - | |||||||||||||||||||||||||
| 210 | - | |||||||||||||||||||||||||
| 211 | - | |||||||||||||||||||||||||
| 212 | - | |||||||||||||||||||||||||
| 213 | - | |||||||||||||||||||||||||
| 214 | - | |||||||||||||||||||||||||
| 215 | time_t t = ((utmp_ent)->ut_tv.tv_sec); | - | ||||||||||||||||||||||||
| 216 | struct tm *tmp = localtime (&t); | - | ||||||||||||||||||||||||
| 217 | - | |||||||||||||||||||||||||
| 218 | if (tmp
| 0-1 | ||||||||||||||||||||||||
| 219 | { | - | ||||||||||||||||||||||||
| 220 | strftime (buf, sizeof buf, time_format, tmp); | - | ||||||||||||||||||||||||
| 221 | return executed 1 time by 1 test: buf;return buf;Executed by:
executed 1 time by 1 test: return buf;Executed by:
| 1 | ||||||||||||||||||||||||
| 222 | } | - | ||||||||||||||||||||||||
| 223 | else | - | ||||||||||||||||||||||||
| 224 | return never executed: timetostr (t, buf);return timetostr (t, buf);never executed: return timetostr (t, buf); | 0 | ||||||||||||||||||||||||
| 225 | } | - | ||||||||||||||||||||||||
| 226 | - | |||||||||||||||||||||||||
| 227 | - | |||||||||||||||||||||||||
| 228 | - | |||||||||||||||||||||||||
| 229 | static void | - | ||||||||||||||||||||||||
| 230 | print_entry (const STRUCT_UTMP *utmp_ent) | - | ||||||||||||||||||||||||
| 231 | { | - | ||||||||||||||||||||||||
| 232 | struct stat stats; | - | ||||||||||||||||||||||||
| 233 | time_t last_change; | - | ||||||||||||||||||||||||
| 234 | char mesg; | - | ||||||||||||||||||||||||
| 235 | - | |||||||||||||||||||||||||
| 236 | - | |||||||||||||||||||||||||
| 237 | - | |||||||||||||||||||||||||
| 238 | - | |||||||||||||||||||||||||
| 239 | char line[sizeof (utmp_ent->ut_line) + (sizeof ("/dev/") - 1) + 1]; | - | ||||||||||||||||||||||||
| 240 | char *p = line; | - | ||||||||||||||||||||||||
| 241 | - | |||||||||||||||||||||||||
| 242 | - | |||||||||||||||||||||||||
| 243 | - | |||||||||||||||||||||||||
| 244 | - | |||||||||||||||||||||||||
| 245 | if ( ! ((((
| 0-1 | ||||||||||||||||||||||||
| 246 | p = stpcpy (p, "/dev/"); executed 1 time by 1 test: p = stpcpy (p, "/dev/");Executed by:
| 1 | ||||||||||||||||||||||||
| 247 | stzncpy (p, utmp_ent->ut_line, sizeof (utmp_ent->ut_line)); | - | ||||||||||||||||||||||||
| 248 | - | |||||||||||||||||||||||||
| 249 | if (stat (line, &stats) == 0
| 0-1 | ||||||||||||||||||||||||
| 250 | { | - | ||||||||||||||||||||||||
| 251 | mesg = (
| 0-1 | ||||||||||||||||||||||||
| 252 | (0200 >> 3)
| 0-1 | ||||||||||||||||||||||||
| 253 | )
| 0-1 | ||||||||||||||||||||||||
| 254 | last_change = stats. | - | ||||||||||||||||||||||||
| 255 | st_atim.tv_sec | - | ||||||||||||||||||||||||
| 256 | ; | - | ||||||||||||||||||||||||
| 257 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 | ||||||||||||||||||||||||
| 258 | else | - | ||||||||||||||||||||||||
| 259 | { | - | ||||||||||||||||||||||||
| 260 | mesg = '?'; | - | ||||||||||||||||||||||||
| 261 | last_change = 0; | - | ||||||||||||||||||||||||
| 262 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 263 | - | |||||||||||||||||||||||||
| 264 | printf ("%-8.*s", UT_USER_SIZE, ((utmp_ent)-> | - | ||||||||||||||||||||||||
| 265 | ut_user | - | ||||||||||||||||||||||||
| 266 | )); | - | ||||||||||||||||||||||||
| 267 | - | |||||||||||||||||||||||||
| 268 | if (include_fullname
| 0-1 | ||||||||||||||||||||||||
| 269 | { | - | ||||||||||||||||||||||||
| 270 | struct passwd *pw; | - | ||||||||||||||||||||||||
| 271 | char name[UT_USER_SIZE + 1]; | - | ||||||||||||||||||||||||
| 272 | - | |||||||||||||||||||||||||
| 273 | stzncpy (name, ((utmp_ent)-> | - | ||||||||||||||||||||||||
| 274 | ut_user | - | ||||||||||||||||||||||||
| 275 | ), UT_USER_SIZE); | - | ||||||||||||||||||||||||
| 276 | pw = getpwnam (name); | - | ||||||||||||||||||||||||
| 277 | if (pw ==
| 0-1 | ||||||||||||||||||||||||
| 278 | ((void *)0)
| 0-1 | ||||||||||||||||||||||||
| 279 | ) | - | ||||||||||||||||||||||||
| 280 | - | |||||||||||||||||||||||||
| 281 | printf (" %19s", never executed: printf (" %19s", dcgettext (((void *)0), " ???" , 5) ); | 0 | ||||||||||||||||||||||||
| 282 | dcgettext (((void *)0), never executed: printf (" %19s", dcgettext (((void *)0), " ???" , 5) ); | 0 | ||||||||||||||||||||||||
| 283 | " ???" never executed: printf (" %19s", dcgettext (((void *)0), " ???" , 5) ); | 0 | ||||||||||||||||||||||||
| 284 | , 5) never executed: printf (" %19s", dcgettext (((void *)0), " ???" , 5) ); | 0 | ||||||||||||||||||||||||
| 285 | ); never executed: printf (" %19s", dcgettext (((void *)0), " ???" , 5) ); | 0 | ||||||||||||||||||||||||
| 286 | else | - | ||||||||||||||||||||||||
| 287 | { | - | ||||||||||||||||||||||||
| 288 | char *const comma = | - | ||||||||||||||||||||||||
| 289 | (__extension__ (__builtin_constant_p (
| 0-1 | ||||||||||||||||||||||||
| 290 | ','
| 0-1 | ||||||||||||||||||||||||
| 291 | )
| 0-1 | ||||||||||||||||||||||||
| 292 | pw->pw_gecos
| 0-1 | ||||||||||||||||||||||||
| 293 | )
| 0-1 | ||||||||||||||||||||||||
| 294 | ','
| 0-1 | ||||||||||||||||||||||||
| 295 | ) == '\0'
| 0-1 | ||||||||||||||||||||||||
| 296 | pw->pw_gecos | - | ||||||||||||||||||||||||
| 297 | , | - | ||||||||||||||||||||||||
| 298 | ',' | - | ||||||||||||||||||||||||
| 299 | ) : __builtin_strchr ( | - | ||||||||||||||||||||||||
| 300 | pw->pw_gecos | - | ||||||||||||||||||||||||
| 301 | , | - | ||||||||||||||||||||||||
| 302 | ',' | - | ||||||||||||||||||||||||
| 303 | ))) | - | ||||||||||||||||||||||||
| 304 | ; | - | ||||||||||||||||||||||||
| 305 | char *result; | - | ||||||||||||||||||||||||
| 306 | - | |||||||||||||||||||||||||
| 307 | if (comma
| 0-1 | ||||||||||||||||||||||||
| 308 | * executed 1 time by 1 test: comma = '\0';*comma = '\0';Executed by:
executed 1 time by 1 test: *comma = '\0';Executed by:
| 1 | ||||||||||||||||||||||||
| 309 | - | |||||||||||||||||||||||||
| 310 | result = create_fullname (pw->pw_gecos, pw->pw_name); | - | ||||||||||||||||||||||||
| 311 | printf (" %-19.19s", result); | - | ||||||||||||||||||||||||
| 312 | free (result); | - | ||||||||||||||||||||||||
| 313 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 | ||||||||||||||||||||||||
| 314 | } | - | ||||||||||||||||||||||||
| 315 | - | |||||||||||||||||||||||||
| 316 | printf (" %c%-8.*s", | - | ||||||||||||||||||||||||
| 317 | mesg, (int) sizeof (utmp_ent->ut_line), utmp_ent->ut_line); | - | ||||||||||||||||||||||||
| 318 | - | |||||||||||||||||||||||||
| 319 | if (include_idle
| 0-1 | ||||||||||||||||||||||||
| 320 | { | - | ||||||||||||||||||||||||
| 321 | if (last_change
| 0-1 | ||||||||||||||||||||||||
| 322 | printf (" %-6s", idle_string (last_change)); executed 1 time by 1 test: printf (" %-6s", idle_string (last_change));Executed by:
| 1 | ||||||||||||||||||||||||
| 323 | else | - | ||||||||||||||||||||||||
| 324 | - | |||||||||||||||||||||||||
| 325 | printf (" %-6s", never executed: printf (" %-6s", dcgettext (((void *)0), "?????" , 5) ); | 0 | ||||||||||||||||||||||||
| 326 | dcgettext (((void *)0), never executed: printf (" %-6s", dcgettext (((void *)0), "?????" , 5) ); | 0 | ||||||||||||||||||||||||
| 327 | "?????" never executed: printf (" %-6s", dcgettext (((void *)0), "?????" , 5) ); | 0 | ||||||||||||||||||||||||
| 328 | , 5) never executed: printf (" %-6s", dcgettext (((void *)0), "?????" , 5) ); | 0 | ||||||||||||||||||||||||
| 329 | ); never executed: printf (" %-6s", dcgettext (((void *)0), "?????" , 5) ); | 0 | ||||||||||||||||||||||||
| 330 | } | - | ||||||||||||||||||||||||
| 331 | - | |||||||||||||||||||||||||
| 332 | printf (" %s", time_string (utmp_ent)); | - | ||||||||||||||||||||||||
| 333 | - | |||||||||||||||||||||||||
| 334 | - | |||||||||||||||||||||||||
| 335 | if (include_where
| 0-1 | ||||||||||||||||||||||||
| 336 | { | - | ||||||||||||||||||||||||
| 337 | char ut_host[sizeof (utmp_ent->ut_host) + 1]; | - | ||||||||||||||||||||||||
| 338 | char *host = | - | ||||||||||||||||||||||||
| 339 | ((void *)0) | - | ||||||||||||||||||||||||
| 340 | ; | - | ||||||||||||||||||||||||
| 341 | char *display = | - | ||||||||||||||||||||||||
| 342 | ((void *)0) | - | ||||||||||||||||||||||||
| 343 | ; | - | ||||||||||||||||||||||||
| 344 | - | |||||||||||||||||||||||||
| 345 | - | |||||||||||||||||||||||||
| 346 | stzncpy (ut_host, utmp_ent->ut_host, sizeof (utmp_ent->ut_host)); | - | ||||||||||||||||||||||||
| 347 | - | |||||||||||||||||||||||||
| 348 | - | |||||||||||||||||||||||||
| 349 | display = | - | ||||||||||||||||||||||||
| 350 | (__extension__ (__builtin_constant_p (
| 0-1 | ||||||||||||||||||||||||
| 351 | ':'
| 0-1 | ||||||||||||||||||||||||
| 352 | )
| 0-1 | ||||||||||||||||||||||||
| 353 | ut_host
| 0-1 | ||||||||||||||||||||||||
| 354 | )
| 0-1 | ||||||||||||||||||||||||
| 355 | ':'
| 0-1 | ||||||||||||||||||||||||
| 356 | ) == '\0'
| 0-1 | ||||||||||||||||||||||||
| 357 | ut_host | - | ||||||||||||||||||||||||
| 358 | , | - | ||||||||||||||||||||||||
| 359 | ':' | - | ||||||||||||||||||||||||
| 360 | ) : __builtin_strchr ( | - | ||||||||||||||||||||||||
| 361 | ut_host | - | ||||||||||||||||||||||||
| 362 | , | - | ||||||||||||||||||||||||
| 363 | ':' | - | ||||||||||||||||||||||||
| 364 | ))) | - | ||||||||||||||||||||||||
| 365 | ; | - | ||||||||||||||||||||||||
| 366 | if (display
| 0-1 | ||||||||||||||||||||||||
| 367 | * executed 1 time by 1 test: display++ = '\0';*display++ = '\0';Executed by:
executed 1 time by 1 test: *display++ = '\0';Executed by:
| 1 | ||||||||||||||||||||||||
| 368 | - | |||||||||||||||||||||||||
| 369 | if (*
| 0-1 | ||||||||||||||||||||||||
| 370 | - | |||||||||||||||||||||||||
| 371 | host = canon_host (ut_host); never executed: host = canon_host (ut_host); | 0 | ||||||||||||||||||||||||
| 372 | if ( ! host
| 0-1 | ||||||||||||||||||||||||
| 373 | host = ut_host; executed 1 time by 1 test: host = ut_host;Executed by:
| 1 | ||||||||||||||||||||||||
| 374 | - | |||||||||||||||||||||||||
| 375 | if (display
| 0-1 | ||||||||||||||||||||||||
| 376 | printf (" %s:%s", host, display); executed 1 time by 1 test: printf (" %s:%s", host, display);Executed by:
| 1 | ||||||||||||||||||||||||
| 377 | else | - | ||||||||||||||||||||||||
| 378 | printf (" %s", host); never executed: printf (" %s", host); | 0 | ||||||||||||||||||||||||
| 379 | - | |||||||||||||||||||||||||
| 380 | if (host != ut_host
| 0-1 | ||||||||||||||||||||||||
| 381 | free (host); never executed: free (host); | 0 | ||||||||||||||||||||||||
| 382 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 | ||||||||||||||||||||||||
| 383 | - | |||||||||||||||||||||||||
| 384 | - | |||||||||||||||||||||||||
| 385 | putchar_unlocked ('\n'); | - | ||||||||||||||||||||||||
| 386 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 | ||||||||||||||||||||||||
| 387 | - | |||||||||||||||||||||||||
| 388 | - | |||||||||||||||||||||||||
| 389 | - | |||||||||||||||||||||||||
| 390 | static void | - | ||||||||||||||||||||||||
| 391 | print_long_entry (const char name[]) | - | ||||||||||||||||||||||||
| 392 | { | - | ||||||||||||||||||||||||
| 393 | struct passwd *pw; | - | ||||||||||||||||||||||||
| 394 | - | |||||||||||||||||||||||||
| 395 | pw = getpwnam (name); | - | ||||||||||||||||||||||||
| 396 | - | |||||||||||||||||||||||||
| 397 | printf ( | - | ||||||||||||||||||||||||
| 398 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 399 | "Login name: " | - | ||||||||||||||||||||||||
| 400 | , 5) | - | ||||||||||||||||||||||||
| 401 | ); | - | ||||||||||||||||||||||||
| 402 | printf ("%-28s", name); | - | ||||||||||||||||||||||||
| 403 | - | |||||||||||||||||||||||||
| 404 | printf ( | - | ||||||||||||||||||||||||
| 405 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 406 | "In real life: " | - | ||||||||||||||||||||||||
| 407 | , 5) | - | ||||||||||||||||||||||||
| 408 | ); | - | ||||||||||||||||||||||||
| 409 | if (pw ==
| 0 | ||||||||||||||||||||||||
| 410 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 411 | ) | - | ||||||||||||||||||||||||
| 412 | { | - | ||||||||||||||||||||||||
| 413 | - | |||||||||||||||||||||||||
| 414 | printf (" %s", | - | ||||||||||||||||||||||||
| 415 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 416 | "???\n" | - | ||||||||||||||||||||||||
| 417 | , 5) | - | ||||||||||||||||||||||||
| 418 | ); | - | ||||||||||||||||||||||||
| 419 | return; never executed: return; | 0 | ||||||||||||||||||||||||
| 420 | } | - | ||||||||||||||||||||||||
| 421 | else | - | ||||||||||||||||||||||||
| 422 | { | - | ||||||||||||||||||||||||
| 423 | char *const comma = | - | ||||||||||||||||||||||||
| 424 | (__extension__ (__builtin_constant_p (
| 0 | ||||||||||||||||||||||||
| 425 | ','
| 0 | ||||||||||||||||||||||||
| 426 | )
| 0 | ||||||||||||||||||||||||
| 427 | pw->pw_gecos
| 0 | ||||||||||||||||||||||||
| 428 | )
| 0 | ||||||||||||||||||||||||
| 429 | ','
| 0 | ||||||||||||||||||||||||
| 430 | ) == '\0'
| 0 | ||||||||||||||||||||||||
| 431 | pw->pw_gecos | - | ||||||||||||||||||||||||
| 432 | , | - | ||||||||||||||||||||||||
| 433 | ',' | - | ||||||||||||||||||||||||
| 434 | ) : __builtin_strchr ( | - | ||||||||||||||||||||||||
| 435 | pw->pw_gecos | - | ||||||||||||||||||||||||
| 436 | , | - | ||||||||||||||||||||||||
| 437 | ',' | - | ||||||||||||||||||||||||
| 438 | ))) | - | ||||||||||||||||||||||||
| 439 | ; | - | ||||||||||||||||||||||||
| 440 | char *result; | - | ||||||||||||||||||||||||
| 441 | - | |||||||||||||||||||||||||
| 442 | if (comma
| 0 | ||||||||||||||||||||||||
| 443 | * never executed: comma = '\0';*comma = '\0';never executed: *comma = '\0'; | 0 | ||||||||||||||||||||||||
| 444 | - | |||||||||||||||||||||||||
| 445 | result = create_fullname (pw->pw_gecos, pw->pw_name); | - | ||||||||||||||||||||||||
| 446 | printf (" %s", result); | - | ||||||||||||||||||||||||
| 447 | free (result); | - | ||||||||||||||||||||||||
| 448 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 449 | - | |||||||||||||||||||||||||
| 450 | putchar_unlocked ('\n'); | - | ||||||||||||||||||||||||
| 451 | - | |||||||||||||||||||||||||
| 452 | if (include_home_and_shell
| 0 | ||||||||||||||||||||||||
| 453 | { | - | ||||||||||||||||||||||||
| 454 | printf ( | - | ||||||||||||||||||||||||
| 455 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 456 | "Directory: " | - | ||||||||||||||||||||||||
| 457 | , 5) | - | ||||||||||||||||||||||||
| 458 | ); | - | ||||||||||||||||||||||||
| 459 | printf ("%-29s", pw->pw_dir); | - | ||||||||||||||||||||||||
| 460 | printf ( | - | ||||||||||||||||||||||||
| 461 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 462 | "Shell: " | - | ||||||||||||||||||||||||
| 463 | , 5) | - | ||||||||||||||||||||||||
| 464 | ); | - | ||||||||||||||||||||||||
| 465 | printf (" %s", pw->pw_shell); | - | ||||||||||||||||||||||||
| 466 | putchar_unlocked ('\n'); | - | ||||||||||||||||||||||||
| 467 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 468 | - | |||||||||||||||||||||||||
| 469 | if (include_project
| 0 | ||||||||||||||||||||||||
| 470 | { | - | ||||||||||||||||||||||||
| 471 | FILE *stream; | - | ||||||||||||||||||||||||
| 472 | char buf[1024]; | - | ||||||||||||||||||||||||
| 473 | const char *const baseproject = "/.project"; | - | ||||||||||||||||||||||||
| 474 | char *const project = | - | ||||||||||||||||||||||||
| 475 | xmalloc (strlen (pw->pw_dir) + strlen (baseproject) + 1); | - | ||||||||||||||||||||||||
| 476 | stpcpy (stpcpy (project, pw->pw_dir), baseproject); | - | ||||||||||||||||||||||||
| 477 | - | |||||||||||||||||||||||||
| 478 | stream = fopen (project, "r"); | - | ||||||||||||||||||||||||
| 479 | if (stream
| 0 | ||||||||||||||||||||||||
| 480 | { | - | ||||||||||||||||||||||||
| 481 | size_t bytes; | - | ||||||||||||||||||||||||
| 482 | - | |||||||||||||||||||||||||
| 483 | printf ( | - | ||||||||||||||||||||||||
| 484 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 485 | "Project: " | - | ||||||||||||||||||||||||
| 486 | , 5) | - | ||||||||||||||||||||||||
| 487 | ); | - | ||||||||||||||||||||||||
| 488 | - | |||||||||||||||||||||||||
| 489 | while ((
| 0 | ||||||||||||||||||||||||
| 490 | - | |||||||||||||||||||||||||
| 491 | ( never executed: __extension__ ((__builtin_constant_p ((__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 492 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 493 | ) && __builtin_constant_p ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 494 | bytes never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 495 | ) && (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 496 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 497 | ) * (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 498 | bytes never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 499 | ) <= 8 && (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 500 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 501 | ) != 0) ? ({ const char *__ptr = (const char *) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 502 | buf never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 503 | ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 504 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 505 | ) * (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 506 | bytes never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 507 | ); __cnt > 0
never executed: ((size_t) (break;never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 508 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 509 | ) * (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 510 | bytes never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 511 | ) - __cnt) / (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 512 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 513 | ); }) : (((__builtin_constant_p ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 514 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 515 | ) && (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 516 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 517 | ) == 0) || (__builtin_constant_p ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 518 | bytes never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 519 | ) && (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 520 | bytes never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 521 | ) == 0)) ? ((void) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 522 | buf never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 523 | ), (void) (stdout), (void) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 524 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 525 | ), (void) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 526 | bytes never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 527 | ), (size_t) 0) : fwrite_unlocked ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 528 | buf never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 529 | , never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 530 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 531 | , never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 532 | bytes never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 533 | , stdout)))) never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 534 | ; never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 535 | - | |||||||||||||||||||||||||
| 536 | rpl_fclose | - | ||||||||||||||||||||||||
| 537 | (stream); | - | ||||||||||||||||||||||||
| 538 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 539 | - | |||||||||||||||||||||||||
| 540 | free (project); | - | ||||||||||||||||||||||||
| 541 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 542 | - | |||||||||||||||||||||||||
| 543 | if (include_plan
| 0 | ||||||||||||||||||||||||
| 544 | { | - | ||||||||||||||||||||||||
| 545 | FILE *stream; | - | ||||||||||||||||||||||||
| 546 | char buf[1024]; | - | ||||||||||||||||||||||||
| 547 | const char *const baseplan = "/.plan"; | - | ||||||||||||||||||||||||
| 548 | char *const plan = | - | ||||||||||||||||||||||||
| 549 | xmalloc (strlen (pw->pw_dir) + strlen (baseplan) + 1); | - | ||||||||||||||||||||||||
| 550 | stpcpy (stpcpy (plan, pw->pw_dir), baseplan); | - | ||||||||||||||||||||||||
| 551 | - | |||||||||||||||||||||||||
| 552 | stream = fopen (plan, "r"); | - | ||||||||||||||||||||||||
| 553 | if (stream
| 0 | ||||||||||||||||||||||||
| 554 | { | - | ||||||||||||||||||||||||
| 555 | size_t bytes; | - | ||||||||||||||||||||||||
| 556 | - | |||||||||||||||||||||||||
| 557 | printf ( | - | ||||||||||||||||||||||||
| 558 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 559 | "Plan:\n" | - | ||||||||||||||||||||||||
| 560 | , 5) | - | ||||||||||||||||||||||||
| 561 | ); | - | ||||||||||||||||||||||||
| 562 | - | |||||||||||||||||||||||||
| 563 | while ((
| 0 | ||||||||||||||||||||||||
| 564 | - | |||||||||||||||||||||||||
| 565 | ( never executed: __extension__ ((__builtin_constant_p ((__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 566 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 567 | ) && __builtin_constant_p ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 568 | bytes never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 569 | ) && (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 570 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 571 | ) * (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 572 | bytes never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 573 | ) <= 8 && (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 574 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 575 | ) != 0) ? ({ const char *__ptr = (const char *) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 576 | buf never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 577 | ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 578 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 579 | ) * (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 580 | bytes never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 581 | ); __cnt > 0
never executed: ((size_t) (break;never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 582 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 583 | ) * (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 584 | bytes never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 585 | ) - __cnt) / (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 586 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 587 | ); }) : (((__builtin_constant_p ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 588 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 589 | ) && (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 590 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 591 | ) == 0) || (__builtin_constant_p ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 592 | bytes never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 593 | ) && (size_t) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 594 | bytes never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 595 | ) == 0)) ? ((void) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 596 | buf never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 597 | ), (void) (stdout), (void) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 598 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 599 | ), (void) ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 600 | bytes never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 601 | ), (size_t) 0) : fwrite_unlocked ( never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 602 | buf never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 603 | , never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 604 | 1 never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 605 | , never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 606 | bytes never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 607 | , stdout)))) never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 608 | ; never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ; | 0 | ||||||||||||||||||||||||
| 609 | - | |||||||||||||||||||||||||
| 610 | rpl_fclose | - | ||||||||||||||||||||||||
| 611 | (stream); | - | ||||||||||||||||||||||||
| 612 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 613 | - | |||||||||||||||||||||||||
| 614 | free (plan); | - | ||||||||||||||||||||||||
| 615 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 616 | - | |||||||||||||||||||||||||
| 617 | putchar_unlocked ('\n'); | - | ||||||||||||||||||||||||
| 618 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 619 | - | |||||||||||||||||||||||||
| 620 | - | |||||||||||||||||||||||||
| 621 | - | |||||||||||||||||||||||||
| 622 | - | |||||||||||||||||||||||||
| 623 | static void | - | ||||||||||||||||||||||||
| 624 | print_heading (void) | - | ||||||||||||||||||||||||
| 625 | { | - | ||||||||||||||||||||||||
| 626 | printf ("%-8s", | - | ||||||||||||||||||||||||
| 627 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 628 | "Login" | - | ||||||||||||||||||||||||
| 629 | , 5) | - | ||||||||||||||||||||||||
| 630 | ); | - | ||||||||||||||||||||||||
| 631 | if (include_fullname
| 0-1 | ||||||||||||||||||||||||
| 632 | printf (" %-19s", executed 1 time by 1 test: printf (" %-19s", dcgettext (((void *)0), "Name" , 5) );Executed by:
| 1 | ||||||||||||||||||||||||
| 633 | dcgettext (((void *)0), executed 1 time by 1 test: printf (" %-19s", dcgettext (((void *)0), "Name" , 5) );Executed by:
| 1 | ||||||||||||||||||||||||
| 634 | "Name" executed 1 time by 1 test: printf (" %-19s", dcgettext (((void *)0), "Name" , 5) );Executed by:
| 1 | ||||||||||||||||||||||||
| 635 | , 5) executed 1 time by 1 test: printf (" %-19s", dcgettext (((void *)0), "Name" , 5) );Executed by:
| 1 | ||||||||||||||||||||||||
| 636 | ); executed 1 time by 1 test: printf (" %-19s", dcgettext (((void *)0), "Name" , 5) );Executed by:
| 1 | ||||||||||||||||||||||||
| 637 | printf (" %-9s", | - | ||||||||||||||||||||||||
| 638 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 639 | " TTY" | - | ||||||||||||||||||||||||
| 640 | , 5) | - | ||||||||||||||||||||||||
| 641 | ); | - | ||||||||||||||||||||||||
| 642 | if (include_idle
| 0-1 | ||||||||||||||||||||||||
| 643 | printf (" %-6s", executed 1 time by 1 test: printf (" %-6s", dcgettext (((void *)0), "Idle" , 5) );Executed by:
| 1 | ||||||||||||||||||||||||
| 644 | dcgettext (((void *)0), executed 1 time by 1 test: printf (" %-6s", dcgettext (((void *)0), "Idle" , 5) );Executed by:
| 1 | ||||||||||||||||||||||||
| 645 | "Idle" executed 1 time by 1 test: printf (" %-6s", dcgettext (((void *)0), "Idle" , 5) );Executed by:
| 1 | ||||||||||||||||||||||||
| 646 | , 5) executed 1 time by 1 test: printf (" %-6s", dcgettext (((void *)0), "Idle" , 5) );Executed by:
| 1 | ||||||||||||||||||||||||
| 647 | ); executed 1 time by 1 test: printf (" %-6s", dcgettext (((void *)0), "Idle" , 5) );Executed by:
| 1 | ||||||||||||||||||||||||
| 648 | printf (" %-*s", time_format_width, | - | ||||||||||||||||||||||||
| 649 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 650 | "When" | - | ||||||||||||||||||||||||
| 651 | , 5) | - | ||||||||||||||||||||||||
| 652 | ); | - | ||||||||||||||||||||||||
| 653 | - | |||||||||||||||||||||||||
| 654 | if (include_where
| 0-1 | ||||||||||||||||||||||||
| 655 | printf (" %s", executed 1 time by 1 test: printf (" %s", dcgettext (((void *)0), "Where" , 5) );Executed by:
| 1 | ||||||||||||||||||||||||
| 656 | dcgettext (((void *)0), executed 1 time by 1 test: printf (" %s", dcgettext (((void *)0), "Where" , 5) );Executed by:
| 1 | ||||||||||||||||||||||||
| 657 | "Where" executed 1 time by 1 test: printf (" %s", dcgettext (((void *)0), "Where" , 5) );Executed by:
| 1 | ||||||||||||||||||||||||
| 658 | , 5) executed 1 time by 1 test: printf (" %s", dcgettext (((void *)0), "Where" , 5) );Executed by:
| 1 | ||||||||||||||||||||||||
| 659 | ); executed 1 time by 1 test: printf (" %s", dcgettext (((void *)0), "Where" , 5) );Executed by:
| 1 | ||||||||||||||||||||||||
| 660 | - | |||||||||||||||||||||||||
| 661 | putchar_unlocked ('\n'); | - | ||||||||||||||||||||||||
| 662 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 | ||||||||||||||||||||||||
| 663 | - | |||||||||||||||||||||||||
| 664 | - | |||||||||||||||||||||||||
| 665 | - | |||||||||||||||||||||||||
| 666 | static void | - | ||||||||||||||||||||||||
| 667 | scan_entries (size_t n, const STRUCT_UTMP *utmp_buf, | - | ||||||||||||||||||||||||
| 668 | const int argc_names, char *const argv_names[]) | - | ||||||||||||||||||||||||
| 669 | { | - | ||||||||||||||||||||||||
| 670 | if (hard_locale (
| 0-1 | ||||||||||||||||||||||||
| 671 | 2
| 0-1 | ||||||||||||||||||||||||
| 672 | )
| 0-1 | ||||||||||||||||||||||||
| 673 | { | - | ||||||||||||||||||||||||
| 674 | time_format = "%Y-%m-%d %H:%M"; | - | ||||||||||||||||||||||||
| 675 | time_format_width = 4 + 1 + 2 + 1 + 2 + 1 + 2 + 1 + 2; | - | ||||||||||||||||||||||||
| 676 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 677 | else | - | ||||||||||||||||||||||||
| 678 | { | - | ||||||||||||||||||||||||
| 679 | time_format = "%b %e %H:%M"; | - | ||||||||||||||||||||||||
| 680 | time_format_width = 3 + 1 + 2 + 1 + 2 + 1 + 2; | - | ||||||||||||||||||||||||
| 681 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 | ||||||||||||||||||||||||
| 682 | - | |||||||||||||||||||||||||
| 683 | if (include_heading
| 0-1 | ||||||||||||||||||||||||
| 684 | print_heading (); executed 1 time by 1 test: print_heading ();Executed by:
| 1 | ||||||||||||||||||||||||
| 685 | - | |||||||||||||||||||||||||
| 686 | while (n--
| 1-4 | ||||||||||||||||||||||||
| 687 | { | - | ||||||||||||||||||||||||
| 688 | if ((((
| 0-4 | ||||||||||||||||||||||||
| 689 | ut_user
| 0-4 | ||||||||||||||||||||||||
| 690 | )[0]
| 0-4 | ||||||||||||||||||||||||
| 691 | 7
| 1-3 | ||||||||||||||||||||||||
| 692 | ))
dead code: utmp_buf)->ut_tv.tv_sec) != 0((utmp_buf)->ut_tv.tv_sec) != 0dead code: ))))((utmp_buf)->ut_tv.tv_sec) != 0 | - | ||||||||||||||||||||||||
| 693 | { | - | ||||||||||||||||||||||||
| 694 | if (argc_names
| 0-1 | ||||||||||||||||||||||||
| 695 | { | - | ||||||||||||||||||||||||
| 696 | for (int i = 0; i < argc_names
| 0 | ||||||||||||||||||||||||
| 697 | if ((
| 0 | ||||||||||||||||||||||||
| 698 | (__extension__ (__builtin_constant_p (
| 0 | ||||||||||||||||||||||||
| 699 | UT_USER_SIZE
| 0 | ||||||||||||||||||||||||
| 700 | )
| 0 | ||||||||||||||||||||||||
| 701 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 702 | ut_user
| 0 | ||||||||||||||||||||||||
| 703 | )
| 0 | ||||||||||||||||||||||||
| 704 | )
| 0 | ||||||||||||||||||||||||
| 705 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 706 | ut_user
| 0 | ||||||||||||||||||||||||
| 707 | )
| 0 | ||||||||||||||||||||||||
| 708 | ) < ((size_t) (
| 0 | ||||||||||||||||||||||||
| 709 | UT_USER_SIZE
| 0 | ||||||||||||||||||||||||
| 710 | ))
| 0 | ||||||||||||||||||||||||
| 711 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 712 | )
| 0 | ||||||||||||||||||||||||
| 713 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 714 | ) < ((size_t) (
| 0 | ||||||||||||||||||||||||
| 715 | UT_USER_SIZE
| 0 | ||||||||||||||||||||||||
| 716 | ))
| 0 | ||||||||||||||||||||||||
| 717 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 718 | ut_user
| 0 | ||||||||||||||||||||||||
| 719 | )
| 0 | ||||||||||||||||||||||||
| 720 | ) && __builtin_constant_p (
| 0 | ||||||||||||||||||||||||
| 721 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 722 | ) && (__s1_len = __builtin_strlen (
| 0 | ||||||||||||||||||||||||
| 723 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 724 | ut_user
| 0 | ||||||||||||||||||||||||
| 725 | )
| 0 | ||||||||||||||||||||||||
| 726 | ), __s2_len = __builtin_strlen (
| 0 | ||||||||||||||||||||||||
| 727 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 728 | ), (!((size_t)(const void *)((
| 0 | ||||||||||||||||||||||||
| 729 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 730 | ut_user
| 0 | ||||||||||||||||||||||||
| 731 | )
| 0 | ||||||||||||||||||||||||
| 732 | ) + 1) - (size_t)(const void *)(
| 0 | ||||||||||||||||||||||||
| 733 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 734 | ut_user
| 0 | ||||||||||||||||||||||||
| 735 | )
| 0 | ||||||||||||||||||||||||
| 736 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
| 0 | ||||||||||||||||||||||||
| 737 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 738 | ) + 1) - (size_t)(const void *)(
| 0 | ||||||||||||||||||||||||
| 739 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 740 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
| 0 | ||||||||||||||||||||||||
| 741 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 742 | ut_user
| 0 | ||||||||||||||||||||||||
| 743 | )
| 0 | ||||||||||||||||||||||||
| 744 | ,
| 0 | ||||||||||||||||||||||||
| 745 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 746 | ) : (__builtin_constant_p (
| 0 | ||||||||||||||||||||||||
| 747 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 748 | ut_user
| 0 | ||||||||||||||||||||||||
| 749 | )
| 0 | ||||||||||||||||||||||||
| 750 | ) && ((size_t)(const void *)((
| 0 | ||||||||||||||||||||||||
| 751 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 752 | ut_user
| 0 | ||||||||||||||||||||||||
| 753 | )
| 0 | ||||||||||||||||||||||||
| 754 | ) + 1) - (size_t)(const void *)(
| 0 | ||||||||||||||||||||||||
| 755 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 756 | ut_user
| 0 | ||||||||||||||||||||||||
| 757 | )
| 0 | ||||||||||||||||||||||||
| 758 | ) == 1) && (__s1_len = __builtin_strlen (
| 0 | ||||||||||||||||||||||||
| 759 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 760 | ut_user
| 0 | ||||||||||||||||||||||||
| 761 | )
| 0 | ||||||||||||||||||||||||
| 762 | ), __s1_len < 4) ? (__builtin_constant_p (
| 0 | ||||||||||||||||||||||||
| 763 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 764 | ) && ((size_t)(const void *)((
| 0 | ||||||||||||||||||||||||
| 765 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 766 | ) + 1) - (size_t)(const void *)(
| 0 | ||||||||||||||||||||||||
| 767 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 768 | ) == 1) ? __builtin_strcmp (
| 0 | ||||||||||||||||||||||||
| 769 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 770 | ut_user
| 0 | ||||||||||||||||||||||||
| 771 | )
| 0 | ||||||||||||||||||||||||
| 772 | ,
| 0 | ||||||||||||||||||||||||
| 773 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 774 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 0 | ||||||||||||||||||||||||
| 775 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 776 | ); int __result = (((const unsigned char *) (const char *) (
| 0 | ||||||||||||||||||||||||
| 777 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 778 | ut_user
| 0 | ||||||||||||||||||||||||
| 779 | )
| 0 | ||||||||||||||||||||||||
| 780 | ))[0] - __s2[0]); if (__s1_len > 0
| 0 | ||||||||||||||||||||||||
| 781 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 782 | ut_user
| 0 | ||||||||||||||||||||||||
| 783 | )
| 0 | ||||||||||||||||||||||||
| 784 | ))[1] - __s2[1]); if (__s1_len > 1
| 0 | ||||||||||||||||||||||||
| 785 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 786 | ut_user
| 0 | ||||||||||||||||||||||||
| 787 | )
| 0 | ||||||||||||||||||||||||
| 788 | ))[2] - __s2[2]); if (__s1_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( ((utmp_buf)-> ut_user ) ))[3] - __s2[3]); | 0 | ||||||||||||||||||||||||
| 789 | ((utmp_buf)->
never executed: __result = (((const unsigned char *) (const char *) ( ((utmp_buf)-> ut_user ) ))[3] - __s2[3]); | 0 | ||||||||||||||||||||||||
| 790 | ut_user
never executed: __result = (((const unsigned char *) (const char *) ( ((utmp_buf)-> ut_user ) ))[3] - __s2[3]); | 0 | ||||||||||||||||||||||||
| 791 | )
never executed: __result = (((const unsigned char *) (const char *) ( ((utmp_buf)-> ut_user ) ))[3] - __s2[3]); | 0 | ||||||||||||||||||||||||
| 792 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (
| 0 | ||||||||||||||||||||||||
| 793 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 794 | ) && ((size_t)(const void *)((
| 0 | ||||||||||||||||||||||||
| 795 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 796 | ) + 1) - (size_t)(const void *)(
| 0 | ||||||||||||||||||||||||
| 797 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 798 | ) == 1) && (__s2_len = __builtin_strlen (
| 0 | ||||||||||||||||||||||||
| 799 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 800 | ), __s2_len < 4) ? (__builtin_constant_p (
| 0 | ||||||||||||||||||||||||
| 801 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 802 | ut_user
| 0 | ||||||||||||||||||||||||
| 803 | )
| 0 | ||||||||||||||||||||||||
| 804 | ) && ((size_t)(const void *)((
| 0 | ||||||||||||||||||||||||
| 805 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 806 | ut_user
| 0 | ||||||||||||||||||||||||
| 807 | )
| 0 | ||||||||||||||||||||||||
| 808 | ) + 1) - (size_t)(const void *)(
| 0 | ||||||||||||||||||||||||
| 809 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 810 | ut_user
| 0 | ||||||||||||||||||||||||
| 811 | )
| 0 | ||||||||||||||||||||||||
| 812 | ) == 1) ? __builtin_strcmp (
| 0 | ||||||||||||||||||||||||
| 813 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 814 | ut_user
| 0 | ||||||||||||||||||||||||
| 815 | )
| 0 | ||||||||||||||||||||||||
| 816 | ,
| 0 | ||||||||||||||||||||||||
| 817 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 818 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 0 | ||||||||||||||||||||||||
| 819 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 820 | ut_user
| 0 | ||||||||||||||||||||||||
| 821 | )
| 0 | ||||||||||||||||||||||||
| 822 | ); int __result = (((const unsigned char *) (const char *) (
| 0 | ||||||||||||||||||||||||
| 823 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 824 | ))[0] - __s2[0]); if (__s2_len > 0
| 0 | ||||||||||||||||||||||||
| 825 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 826 | ))[1] - __s2[1]); if (__s2_len > 1
| 0 | ||||||||||||||||||||||||
| 827 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 828 | ))[2] - __s2[2]); if (__s2_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( argv_names[i] ))[3] - __s2[3]); | 0 | ||||||||||||||||||||||||
| 829 | argv_names[i]
never executed: __result = (((const unsigned char *) (const char *) ( argv_names[i] ))[3] - __s2[3]); | 0 | ||||||||||||||||||||||||
| 830 | ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (
| 0 | ||||||||||||||||||||||||
| 831 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 832 | ut_user
| 0 | ||||||||||||||||||||||||
| 833 | )
| 0 | ||||||||||||||||||||||||
| 834 | ,
| 0 | ||||||||||||||||||||||||
| 835 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 836 | )))); }) : strncmp (
| 0 | ||||||||||||||||||||||||
| 837 | ((utmp_buf)->
| 0 | ||||||||||||||||||||||||
| 838 | ut_user
| 0 | ||||||||||||||||||||||||
| 839 | )
| 0 | ||||||||||||||||||||||||
| 840 | ,
| 0 | ||||||||||||||||||||||||
| 841 | argv_names[i]
| 0 | ||||||||||||||||||||||||
| 842 | ,
| 0 | ||||||||||||||||||||||||
| 843 | UT_USER_SIZE
| 0 | ||||||||||||||||||||||||
| 844 | )))
| 0 | ||||||||||||||||||||||||
| 845 | == 0)
| 0 | ||||||||||||||||||||||||
| 846 | { | - | ||||||||||||||||||||||||
| 847 | print_entry (utmp_buf); | - | ||||||||||||||||||||||||
| 848 | break; never executed: break; | 0 | ||||||||||||||||||||||||
| 849 | } | - | ||||||||||||||||||||||||
| 850 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 851 | else | - | ||||||||||||||||||||||||
| 852 | print_entry (utmp_buf); executed 1 time by 1 test: print_entry (utmp_buf);Executed by:
| 1 | ||||||||||||||||||||||||
| 853 | } | - | ||||||||||||||||||||||||
| 854 | utmp_buf++; | - | ||||||||||||||||||||||||
| 855 | } executed 4 times by 1 test: end of blockExecuted by:
| 4 | ||||||||||||||||||||||||
| 856 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 | ||||||||||||||||||||||||
| 857 | - | |||||||||||||||||||||||||
| 858 | - | |||||||||||||||||||||||||
| 859 | - | |||||||||||||||||||||||||
| 860 | static void | - | ||||||||||||||||||||||||
| 861 | short_pinky (const char *filename, | - | ||||||||||||||||||||||||
| 862 | const int argc_names, char *const argv_names[]) | - | ||||||||||||||||||||||||
| 863 | { | - | ||||||||||||||||||||||||
| 864 | size_t n_users; | - | ||||||||||||||||||||||||
| 865 | STRUCT_UTMP *utmp_buf = | - | ||||||||||||||||||||||||
| 866 | ((void *)0) | - | ||||||||||||||||||||||||
| 867 | ; | - | ||||||||||||||||||||||||
| 868 | - | |||||||||||||||||||||||||
| 869 | if (read_utmp (filename, &n_users, &utmp_buf, 0) != 0
| 0-1 | ||||||||||||||||||||||||
| 870 | (( never executed: !!sizeof (struct { _Static_assert (((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 871 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 872 | , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 873 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 874 | , never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 875 | (*__errno_location ()) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 876 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 877 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 878 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 879 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 880 | , never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 881 | (*__errno_location ()) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 882 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 883 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 884 | ) ? (void) 0 : __builtin_unreachable ())))); never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 885 | - | |||||||||||||||||||||||||
| 886 | scan_entries (n_users, utmp_buf, argc_names, argv_names); | - | ||||||||||||||||||||||||
| 887 | - | |||||||||||||||||||||||||
| 888 | ; | - | ||||||||||||||||||||||||
| 889 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 | ||||||||||||||||||||||||
| 890 | - | |||||||||||||||||||||||||
| 891 | static void | - | ||||||||||||||||||||||||
| 892 | long_pinky (const int argc_names, char *const argv_names[]) | - | ||||||||||||||||||||||||
| 893 | { | - | ||||||||||||||||||||||||
| 894 | for (int i = 0; i < argc_names
| 0 | ||||||||||||||||||||||||
| 895 | print_long_entry (argv_names[i]); never executed: print_long_entry (argv_names[i]); | 0 | ||||||||||||||||||||||||
| 896 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 897 | - | |||||||||||||||||||||||||
| 898 | void | - | ||||||||||||||||||||||||
| 899 | usage (int status) | - | ||||||||||||||||||||||||
| 900 | { | - | ||||||||||||||||||||||||
| 901 | if (status !=
| 3-12 | ||||||||||||||||||||||||
| 902 | 0
| 3-12 | ||||||||||||||||||||||||
| 903 | ) | - | ||||||||||||||||||||||||
| 904 | do { fprintf ( | - | ||||||||||||||||||||||||
| 905 | stderr | - | ||||||||||||||||||||||||
| 906 | , | - | ||||||||||||||||||||||||
| 907 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 908 | "Try '%s --help' for more information.\n" | - | ||||||||||||||||||||||||
| 909 | , 5) | - | ||||||||||||||||||||||||
| 910 | , program_name); } executed 3 times by 1 test: while (0);end of blockExecuted by:
| 3 | ||||||||||||||||||||||||
| 911 | else | - | ||||||||||||||||||||||||
| 912 | { | - | ||||||||||||||||||||||||
| 913 | printf ( | - | ||||||||||||||||||||||||
| 914 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 915 | "Usage: %s [OPTION]... [USER]...\n" | - | ||||||||||||||||||||||||
| 916 | , 5) | - | ||||||||||||||||||||||||
| 917 | , program_name); | - | ||||||||||||||||||||||||
| 918 | fputs_unlocked ( | - | ||||||||||||||||||||||||
| 919 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 920 | "\n -l produce long format output for the specified USERs\n -b omit the user's home directory and shell in long format\n -h omit the user's project file in long format\n -p omit the user's plan file in long format\n -s do short format output, this is the default\n" | - | ||||||||||||||||||||||||
| 921 | , 5) | - | ||||||||||||||||||||||||
| 922 | , | - | ||||||||||||||||||||||||
| 923 | stdout | - | ||||||||||||||||||||||||
| 924 | ) | - | ||||||||||||||||||||||||
| 925 | - | |||||||||||||||||||||||||
| 926 | - | |||||||||||||||||||||||||
| 927 | - | |||||||||||||||||||||||||
| 928 | - | |||||||||||||||||||||||||
| 929 | - | |||||||||||||||||||||||||
| 930 | - | |||||||||||||||||||||||||
| 931 | ; | - | ||||||||||||||||||||||||
| 932 | fputs_unlocked ( | - | ||||||||||||||||||||||||
| 933 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 934 | " -f omit the line of column headings in short format\n -w omit the user's full name in short format\n -i omit the user's full name and remote host in short format\n -q omit the user's full name, remote host and idle time\n in short format\n" | - | ||||||||||||||||||||||||
| 935 | , 5) | - | ||||||||||||||||||||||||
| 936 | , | - | ||||||||||||||||||||||||
| 937 | stdout | - | ||||||||||||||||||||||||
| 938 | ) | - | ||||||||||||||||||||||||
| 939 | - | |||||||||||||||||||||||||
| 940 | - | |||||||||||||||||||||||||
| 941 | - | |||||||||||||||||||||||||
| 942 | - | |||||||||||||||||||||||||
| 943 | - | |||||||||||||||||||||||||
| 944 | ; | - | ||||||||||||||||||||||||
| 945 | fputs_unlocked ( | - | ||||||||||||||||||||||||
| 946 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 947 | " --help display this help and exit\n" | - | ||||||||||||||||||||||||
| 948 | , 5) | - | ||||||||||||||||||||||||
| 949 | , | - | ||||||||||||||||||||||||
| 950 | stdout | - | ||||||||||||||||||||||||
| 951 | ); | - | ||||||||||||||||||||||||
| 952 | fputs_unlocked ( | - | ||||||||||||||||||||||||
| 953 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 954 | " --version output version information and exit\n" | - | ||||||||||||||||||||||||
| 955 | , 5) | - | ||||||||||||||||||||||||
| 956 | , | - | ||||||||||||||||||||||||
| 957 | stdout | - | ||||||||||||||||||||||||
| 958 | ); | - | ||||||||||||||||||||||||
| 959 | printf ( | - | ||||||||||||||||||||||||
| 960 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 961 | "\nA lightweight 'finger' program; print user information.\nThe utmp file will be %s.\n" | - | ||||||||||||||||||||||||
| 962 | , 5) | - | ||||||||||||||||||||||||
| 963 | - | |||||||||||||||||||||||||
| 964 | - | |||||||||||||||||||||||||
| 965 | - | |||||||||||||||||||||||||
| 966 | - | |||||||||||||||||||||||||
| 967 | , | - | ||||||||||||||||||||||||
| 968 | "/var/run/utmp" | - | ||||||||||||||||||||||||
| 969 | ); | - | ||||||||||||||||||||||||
| 970 | emit_ancillary_info ("pinky"); | - | ||||||||||||||||||||||||
| 971 | } executed 12 times by 1 test: end of blockExecuted by:
| 12 | ||||||||||||||||||||||||
| 972 | exit (status); executed 15 times by 1 test: exit (status);Executed by:
| 15 | ||||||||||||||||||||||||
| 973 | } | - | ||||||||||||||||||||||||
| 974 | - | |||||||||||||||||||||||||
| 975 | int | - | ||||||||||||||||||||||||
| 976 | main (int argc, char **argv) | - | ||||||||||||||||||||||||
| 977 | { | - | ||||||||||||||||||||||||
| 978 | int optc; | - | ||||||||||||||||||||||||
| 979 | int n_users; | - | ||||||||||||||||||||||||
| 980 | - | |||||||||||||||||||||||||
| 981 | ; | - | ||||||||||||||||||||||||
| 982 | set_program_name (argv[0]); | - | ||||||||||||||||||||||||
| 983 | setlocale ( | - | ||||||||||||||||||||||||
| 984 | 6 | - | ||||||||||||||||||||||||
| 985 | , ""); | - | ||||||||||||||||||||||||
| 986 | bindtextdomain ("coreutils", "/usr/local/share/locale"); | - | ||||||||||||||||||||||||
| 987 | textdomain ("coreutils"); | - | ||||||||||||||||||||||||
| 988 | - | |||||||||||||||||||||||||
| 989 | atexit (close_stdout); | - | ||||||||||||||||||||||||
| 990 | - | |||||||||||||||||||||||||
| 991 | while ((
| 1-27 | ||||||||||||||||||||||||
| 992 | ((void *)0)
| 1-27 | ||||||||||||||||||||||||
| 993 | )) != -1
| 1-27 | ||||||||||||||||||||||||
| 994 | { | - | ||||||||||||||||||||||||
| 995 | switch (optc) | - | ||||||||||||||||||||||||
| 996 | { | - | ||||||||||||||||||||||||
| 997 | case executed 1 time by 1 test: 's':case 's':Executed by:
executed 1 time by 1 test: case 's':Executed by:
| 1 | ||||||||||||||||||||||||
| 998 | do_short_format = | - | ||||||||||||||||||||||||
| 999 | 1 | - | ||||||||||||||||||||||||
| 1000 | ; | - | ||||||||||||||||||||||||
| 1001 | break; executed 1 time by 1 test: break;Executed by:
| 1 | ||||||||||||||||||||||||
| 1002 | - | |||||||||||||||||||||||||
| 1003 | case executed 1 time by 1 test: 'l':case 'l':Executed by:
executed 1 time by 1 test: case 'l':Executed by:
| 1 | ||||||||||||||||||||||||
| 1004 | do_short_format = | - | ||||||||||||||||||||||||
| 1005 | 0 | - | ||||||||||||||||||||||||
| 1006 | ; | - | ||||||||||||||||||||||||
| 1007 | break; executed 1 time by 1 test: break;Executed by:
| 1 | ||||||||||||||||||||||||
| 1008 | - | |||||||||||||||||||||||||
| 1009 | case executed 1 time by 1 test: 'f':case 'f':Executed by:
executed 1 time by 1 test: case 'f':Executed by:
| 1 | ||||||||||||||||||||||||
| 1010 | include_heading = | - | ||||||||||||||||||||||||
| 1011 | 0 | - | ||||||||||||||||||||||||
| 1012 | ; | - | ||||||||||||||||||||||||
| 1013 | break; executed 1 time by 1 test: break;Executed by:
| 1 | ||||||||||||||||||||||||
| 1014 | - | |||||||||||||||||||||||||
| 1015 | case executed 1 time by 1 test: 'w':case 'w':Executed by:
executed 1 time by 1 test: case 'w':Executed by:
| 1 | ||||||||||||||||||||||||
| 1016 | include_fullname = | - | ||||||||||||||||||||||||
| 1017 | 0 | - | ||||||||||||||||||||||||
| 1018 | ; | - | ||||||||||||||||||||||||
| 1019 | break; executed 1 time by 1 test: break;Executed by:
| 1 | ||||||||||||||||||||||||
| 1020 | - | |||||||||||||||||||||||||
| 1021 | case executed 1 time by 1 test: 'i':case 'i':Executed by:
executed 1 time by 1 test: case 'i':Executed by:
| 1 | ||||||||||||||||||||||||
| 1022 | include_fullname = | - | ||||||||||||||||||||||||
| 1023 | 0 | - | ||||||||||||||||||||||||
| 1024 | ; | - | ||||||||||||||||||||||||
| 1025 | - | |||||||||||||||||||||||||
| 1026 | include_where = | - | ||||||||||||||||||||||||
| 1027 | 0 | - | ||||||||||||||||||||||||
| 1028 | ; | - | ||||||||||||||||||||||||
| 1029 | - | |||||||||||||||||||||||||
| 1030 | break; executed 1 time by 1 test: break;Executed by:
| 1 | ||||||||||||||||||||||||
| 1031 | - | |||||||||||||||||||||||||
| 1032 | case executed 1 time by 1 test: 'q':case 'q':Executed by:
executed 1 time by 1 test: case 'q':Executed by:
| 1 | ||||||||||||||||||||||||
| 1033 | include_fullname = | - | ||||||||||||||||||||||||
| 1034 | 0 | - | ||||||||||||||||||||||||
| 1035 | ; | - | ||||||||||||||||||||||||
| 1036 | - | |||||||||||||||||||||||||
| 1037 | include_where = | - | ||||||||||||||||||||||||
| 1038 | 0 | - | ||||||||||||||||||||||||
| 1039 | ; | - | ||||||||||||||||||||||||
| 1040 | - | |||||||||||||||||||||||||
| 1041 | include_idle = | - | ||||||||||||||||||||||||
| 1042 | 0 | - | ||||||||||||||||||||||||
| 1043 | ; | - | ||||||||||||||||||||||||
| 1044 | break; executed 1 time by 1 test: break;Executed by:
| 1 | ||||||||||||||||||||||||
| 1045 | - | |||||||||||||||||||||||||
| 1046 | case executed 1 time by 1 test: 'h':case 'h':Executed by:
executed 1 time by 1 test: case 'h':Executed by:
| 1 | ||||||||||||||||||||||||
| 1047 | include_project = | - | ||||||||||||||||||||||||
| 1048 | 0 | - | ||||||||||||||||||||||||
| 1049 | ; | - | ||||||||||||||||||||||||
| 1050 | break; executed 1 time by 1 test: break;Executed by:
| 1 | ||||||||||||||||||||||||
| 1051 | - | |||||||||||||||||||||||||
| 1052 | case executed 1 time by 1 test: 'p':case 'p':Executed by:
executed 1 time by 1 test: case 'p':Executed by:
| 1 | ||||||||||||||||||||||||
| 1053 | include_plan = | - | ||||||||||||||||||||||||
| 1054 | 0 | - | ||||||||||||||||||||||||
| 1055 | ; | - | ||||||||||||||||||||||||
| 1056 | break; executed 1 time by 1 test: break;Executed by:
| 1 | ||||||||||||||||||||||||
| 1057 | - | |||||||||||||||||||||||||
| 1058 | case executed 1 time by 1 test: 'b':case 'b':Executed by:
executed 1 time by 1 test: case 'b':Executed by:
| 1 | ||||||||||||||||||||||||
| 1059 | include_home_and_shell = | - | ||||||||||||||||||||||||
| 1060 | 0 | - | ||||||||||||||||||||||||
| 1061 | ; | - | ||||||||||||||||||||||||
| 1062 | break; executed 1 time by 1 test: break;Executed by:
| 1 | ||||||||||||||||||||||||
| 1063 | - | |||||||||||||||||||||||||
| 1064 | case executed 12 times by 1 test: GETOPT_HELP_CHAR:case GETOPT_HELP_CHAR:Executed by:
executed 12 times by 1 test: usage (case GETOPT_HELP_CHAR:Executed by:
| 12 | ||||||||||||||||||||||||
| 1065 | 0 | - | ||||||||||||||||||||||||
| 1066 | ); break; never executed: ;break; | 0 | ||||||||||||||||||||||||
| 1067 | - | |||||||||||||||||||||||||
| 1068 | case executed 3 times by 1 test: GETOPT_VERSION_CHAR:case GETOPT_VERSION_CHAR:Executed by:
executed 3 times by 1 test: version_etc (case GETOPT_VERSION_CHAR:Executed by:
| 3 | ||||||||||||||||||||||||
| 1069 | stdout | - | ||||||||||||||||||||||||
| 1070 | , "pinky", "GNU coreutils", Version, ("Joseph Arceneaux"), ("David MacKenzie"), ("Kaveh Ghazi"), (char *) | - | ||||||||||||||||||||||||
| 1071 | ((void *)0) | - | ||||||||||||||||||||||||
| 1072 | ); exit ( executed 3 times by 1 test: exit ( 0 );Executed by:
| 3 | ||||||||||||||||||||||||
| 1073 | 0 executed 3 times by 1 test: exit ( 0 );Executed by:
| 3 | ||||||||||||||||||||||||
| 1074 | ); executed 3 times by 1 test: break;exit ( 0 );Executed by:
never executed: ;break; | 0-3 | ||||||||||||||||||||||||
| 1075 | - | |||||||||||||||||||||||||
| 1076 | default executed 3 times by 1 test: :default:Executed by:
executed 3 times by 1 test: default:Executed by:
| 3 | ||||||||||||||||||||||||
| 1077 | usage ( | - | ||||||||||||||||||||||||
| 1078 | 1 | - | ||||||||||||||||||||||||
| 1079 | ); | - | ||||||||||||||||||||||||
| 1080 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 1081 | } | - | ||||||||||||||||||||||||
| 1082 | - | |||||||||||||||||||||||||
| 1083 | n_users = argc - optind; | - | ||||||||||||||||||||||||
| 1084 | - | |||||||||||||||||||||||||
| 1085 | if (!do_short_format
| 0-1 | ||||||||||||||||||||||||
| 1086 | { | - | ||||||||||||||||||||||||
| 1087 | error (0, 0, | - | ||||||||||||||||||||||||
| 1088 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 1089 | "no username specified; at least one must be specified when using -l" | - | ||||||||||||||||||||||||
| 1090 | , 5) | - | ||||||||||||||||||||||||
| 1091 | - | |||||||||||||||||||||||||
| 1092 | ); | - | ||||||||||||||||||||||||
| 1093 | usage ( | - | ||||||||||||||||||||||||
| 1094 | 1 | - | ||||||||||||||||||||||||
| 1095 | ); | - | ||||||||||||||||||||||||
| 1096 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 1097 | - | |||||||||||||||||||||||||
| 1098 | if (do_short_format
| 0-1 | ||||||||||||||||||||||||
| 1099 | short_pinky ( executed 1 time by 1 test: short_pinky ( "/var/run/utmp" , n_users, argv + optind);Executed by:
| 1 | ||||||||||||||||||||||||
| 1100 | "/var/run/utmp" executed 1 time by 1 test: short_pinky ( "/var/run/utmp" , n_users, argv + optind);Executed by:
| 1 | ||||||||||||||||||||||||
| 1101 | , n_users, argv + optind); executed 1 time by 1 test: short_pinky ( "/var/run/utmp" , n_users, argv + optind);Executed by:
| 1 | ||||||||||||||||||||||||
| 1102 | else | - | ||||||||||||||||||||||||
| 1103 | long_pinky (n_users, argv + optind); never executed: long_pinky (n_users, argv + optind); | 0 | ||||||||||||||||||||||||
| 1104 | - | |||||||||||||||||||||||||
| 1105 | return executed 1 time by 1 test: return 0 ;Executed by:
executed 1 time by 1 test: return 0 ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1106 | 0 executed 1 time by 1 test: return 0 ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1107 | ; executed 1 time by 1 test: return 0 ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1108 | } | - | ||||||||||||||||||||||||
| Switch to Source code | Preprocessed file |