bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU fileutils: ls only prints first 8 char of username/groupname


From: Sascha Silbe
Subject: GNU fileutils: ls only prints first 8 char of username/groupname
Date: Sun, 7 Jan 2001 17:06:08 +0100
User-agent: Mutt/1.3.9i

Hi!

ls only prints the first 8 chars of username and groupname. The fix is 
simple:

In src/ls.c, change the line
    sprintf (p, "%-8.8s ", user_name);
to
    sprintf (p, "%-8s ", user_name);
and the line
        sprintf (p, "%-8.8s ", group_name);
to
        sprintf (p, "%-8s ", group_name);


CU/Lnx Sascha

Attachment: pgp8t2AL6jeGe.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]