1
0
mirror of https://git.savannah.gnu.org/git/coreutils.git synced 2026-11-03 19:12:42 +03:00

add FIXME comments

This commit is contained in:
Jim Meyering
2002-04-15 10:46:45 +00:00
parent a36a4fdedc
commit 2262fbb298

View File

@@ -365,6 +365,7 @@ print_deadprocs (const STRUCT_UTMP *utmp_ent)
sprintf (comment, "%s%.*s", _("id="), sizeof utmp_ent->ut_id,
utmp_ent->ut_id);
/* FIXME: ut_exit works with GNU/Linux but is probably not portable. */
if (!exitstr)
exitstr = xmalloc (sizeof (_("term="))
+ INT_STRLEN_BOUND (utmp_ent->ut_exit.e_termination) + 1
@@ -386,6 +387,7 @@ print_login (const STRUCT_UTMP *utmp_ent)
static char *comment;
PIDSTR_DECL_AND_INIT (pidstr);
/* FIXME: ut_id works with GNU/Linux but is probably not portable. */
if (!comment)
comment = xmalloc (sizeof (_("id=")) + sizeof (utmp_ent->ut_id) + 1);
sprintf (comment, "%s%s", _("id="), utmp_ent->ut_id);