summaryrefslogtreecommitdiff
path: root/src/sort.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-11-15 09:30:49 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2011-11-15 09:31:21 -0800
commit47e511a1d0ee8c82d6e9014fb6a74ab6dfd89d3d (patch)
treeeb9d463ee0cd44c91bb5d3178505b7f7e5a50f42 /src/sort.c
parent7db79cc4f802aa39b6e03bbfce12c405381f8398 (diff)
downloadcoreutils-47e511a1d0ee8c82d6e9014fb6a74ab6dfd89d3d.tar.xz
id: handle (uid_t) -1 more portably
* src/id.c (GETID_MAY_FAIL): Remove. (main): Check for nonzero errno, rather than having a compile-time GETID_MAY_FAIL guess. Suggested by Roland McGrath in <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10021#47>. Also, the old code was incorrect if uid_t was narrower than int. (print_full_info): Remove unnecessary cast to -1.
Diffstat (limited to 'src/sort.c')
0 files changed, 0 insertions, 0 deletions