355ad6a9e0
PARAMETERS: According to the C2x charter, I reordered the parameters 'size' and 'buf' from previously existing date_to_str() definitions. C2x charter: > 15. Application Programming Interfaces (APIs) should be > self-documenting when possible. In particular, the order of > parameters in function declarations should be arranged such that > the size of an array appears before the array. The purpose is to > allow Variable-Length Array (VLA) notation to be used. This not > only makes the code's purpose clearer to human readers, but also > makes static analysis easier. Any new APIs added to the Standard > should take this into consideration. I used 'long' for the date parameter, as some uses of the function need to pass a negative value meaning "never". FUNCTION BODY: I didn't check '#ifdef HAVE_STRFTIME', which old definitions did, since strftime(3) is guaranteed by the C89 standard, and all of the conversion specifiers that we use are also specified by that standard, so we don't need any extensions at all. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
125 lines
2.0 KiB
Plaintext
125 lines
2.0 KiB
Plaintext
# List of files which contain translatable strings.
|
|
|
|
lib/commonio.c
|
|
lib/encrypt.c
|
|
lib/fields.c
|
|
lib/fputsx.c
|
|
lib/getdef.c
|
|
lib/get_gid.c
|
|
lib/getlong.c
|
|
lib/get_uid.c
|
|
lib/groupio.c
|
|
lib/groupmem.c
|
|
lib/gshadow.c
|
|
lib/lockpw.c
|
|
lib/nscd.c
|
|
lib/port.c
|
|
lib/pwauth.c
|
|
lib/pwio.c
|
|
lib/pwmem.c
|
|
lib/selinux.c
|
|
lib/semanage.c
|
|
lib/sgetgrent.c
|
|
lib/sgetpwent.c
|
|
lib/sgetspent.c
|
|
lib/sgroupio.c
|
|
lib/shadow.c
|
|
lib/shadowio.c
|
|
lib/shadowmem.c
|
|
lib/spawn.c
|
|
lib/tcbfuncs.c
|
|
lib/utent.c
|
|
libmisc/addgrps.c
|
|
libmisc/age.c
|
|
libmisc/audit_help.c
|
|
libmisc/basename.c
|
|
libmisc/chkname.c
|
|
libmisc/chowndir.c
|
|
libmisc/chowntty.c
|
|
libmisc/cleanup.c
|
|
libmisc/cleanup_group.c
|
|
libmisc/cleanup_user.c
|
|
libmisc/console.c
|
|
libmisc/copydir.c
|
|
libmisc/date_to_str.c
|
|
libmisc/entry.c
|
|
libmisc/env.c
|
|
libmisc/failure.c
|
|
libmisc/find_new_gid.c
|
|
libmisc/find_new_sub_gids.c
|
|
libmisc/find_new_sub_uids.c
|
|
libmisc/find_new_uid.c
|
|
libmisc/getgr_nam_gid.c
|
|
libmisc/getrange.c
|
|
libmisc/hushed.c
|
|
libmisc/idmapping.c
|
|
libmisc/isexpired.c
|
|
libmisc/limits.c
|
|
libmisc/list.c
|
|
libmisc/log.c
|
|
libmisc/loginprompt.c
|
|
libmisc/mail.c
|
|
libmisc/motd.c
|
|
libmisc/myname.c
|
|
libmisc/obscure.c
|
|
libmisc/pam_pass.c
|
|
libmisc/pam_pass_non_interactive.c
|
|
libmisc/pwd2spwd.c
|
|
libmisc/pwdcheck.c
|
|
libmisc/pwd_init.c
|
|
libmisc/remove_tree.c
|
|
libmisc/rlogin.c
|
|
libmisc/root_flag.c
|
|
libmisc/salt.c
|
|
libmisc/setugid.c
|
|
libmisc/setupenv.c
|
|
libmisc/shell.c
|
|
libmisc/strtoday.c
|
|
libmisc/sub.c
|
|
libmisc/sulog.c
|
|
libmisc/ttytype.c
|
|
libmisc/tz.c
|
|
libmisc/ulimit.c
|
|
libmisc/user_busy.c
|
|
libmisc/utmp.c
|
|
libmisc/valid.c
|
|
libmisc/xgetXXbyYY.c
|
|
libmisc/xmalloc.c
|
|
libmisc/yesno.c
|
|
src/chage.c
|
|
src/chfn.c
|
|
src/chgpasswd.c
|
|
src/chpasswd.c
|
|
src/chsh.c
|
|
src/expiry.c
|
|
src/faillog.c
|
|
src/gpasswd.c
|
|
src/groupadd.c
|
|
src/groupdel.c
|
|
src/groupmems.c
|
|
src/groupmod.c
|
|
src/groups.c
|
|
src/grpck.c
|
|
src/grpconv.c
|
|
src/grpunconv.c
|
|
src/id.c
|
|
src/lastlog.c
|
|
src/login.c
|
|
src/login_nopam.c
|
|
src/logoutd.c
|
|
src/newgidmap.c
|
|
src/newgrp.c
|
|
src/newuidmap.c
|
|
src/newusers.c
|
|
src/passwd.c
|
|
src/pwck.c
|
|
src/pwconv.c
|
|
src/pwunconv.c
|
|
src/suauth.c
|
|
src/su.c
|
|
src/sulogin.c
|
|
src/useradd.c
|
|
src/userdel.c
|
|
src/usermod.c
|
|
src/vipw.c
|