Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Jeff Moskow
Sat, 01 Aug 1992 12:00
Problem with chown in fileutils-3.3
Author: Jeff Moskow
Date: Sat, 01 Aug 1992 12:00
Date: Sat, 01 Aug 1992 12:00
28 lines
1172 bytes
1172 bytes
The use of uid_t in lib/userspec.c is incompatable with the use of int in src/chown.c
and will cause problems on BIGENDIAN machines. Here is my fix:
Jeff Moskow
jeff@rtr.com
------------------
*** src/chown.c.orig Thu Jul 23 14:38:56 1992
--- src/chown.c Sat Aug 1 07:55:31 1992
***************
*** 96,103 ****
int argc;
char **argv;
{
! int user = -1; /* New uid; -1 if not to be changed. */
! int group = -1; /* New gid; -1 if not to be changed. */
int errors = 0;
int optc;
char *e;
--- 96,103 ----
int argc;
char **argv;
{
! uid_t user = -1; /* New uid; -1 if not to be changed. */
! gid_t group = -1; /* New gid; -1 if not to be changed. */
int errors = 0;
int optc;
char *e;
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads