| 1 | diff -u -r ../coreutils-8.22/src/pinky.c ./src/pinky.c |
| 2 | --- ../coreutils-8.22/src/pinky.c 2013-12-04 15:48:30.000000000 +0100 |
| 3 | +++ ./src/pinky.c 2014-02-07 01:18:15.000000000 +0100 |
| 4 | @@ -242,13 +242,13 @@ |
| 5 | printf (" %19s", _(" ???")); |
| 6 | else |
| 7 | { |
| 8 | - char *const comma = strchr (pw->pw_gecos, ','); |
| 9 | + char *const comma = strchr ("", ','); |
| 10 | char *result; |
| 11 | |
| 12 | if (comma) |
| 13 | *comma = '\0'; |
| 14 | |
| 15 | - result = create_fullname (pw->pw_gecos, pw->pw_name); |
| 16 | + result = create_fullname ("", pw->pw_name); |
| 17 | printf (" %-19.19s", result); |
| 18 | free (result); |
| 19 | } |
| 20 | @@ -323,13 +323,13 @@ |
| 21 | } |
| 22 | else |
| 23 | { |
| 24 | - char *const comma = strchr (pw->pw_gecos, ','); |
| 25 | + char *const comma = strchr ("", ','); |
| 26 | char *result; |
| 27 | |
| 28 | if (comma) |
| 29 | *comma = '\0'; |
| 30 | |
| 31 | - result = create_fullname (pw->pw_gecos, pw->pw_name); |
| 32 | + result = create_fullname ("", pw->pw_name); |
| 33 | printf (" %s", result); |
| 34 | free (result); |
| 35 | } |