summaryrefslogtreecommitdiffstats
path: root/login-utils/simpleinit.c
Commit message (Collapse)AuthorAgeFilesLines
* simmpleinit: fix gcc warning (buffer size in read())Karel Zak2009-03-031-1/+1
| | | | | | | | | simpleinit.c:846: /usr/include/bits/unistd.h:43 warning: call to ‘__read_chk_warn’ declared with attribute warning: read called with bigger length than size of the destination buffer Signed-off-by: Karel Zak <kzak@redhat.com>
* simpleinit: cleanup gettext calls, use snprintf()Karel Zak2008-12-121-16/+20
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Revert "login-utils: several strings without gettext calls"Karel Zak2008-12-121-3/+3
| | | | | | | This reverts commit 64fefaf5bffdd4041190f1e5ed4b5d0100638c0d. It does not make sense to localize config options (wdays in checktty.c) and debug messages (main() in checktty.c.
* login-utils: several strings without gettext callsPedro Ribeiro2008-10-031-3/+3
| | | | | Signed-off-by: Pedro Ribeiro <p.m42.ribeiro@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* remove useless if-before-free tests.Jim Meyering2008-03-121-2/+2
| | | | | | | | | | | | | | | | E.g., in this example, the "if (p)" test is useless. if (p) free (p); I've been removing such tests systematically. Here's where I proposed it to the git folks, along with justification for why it's ok to perform this transformation, these days (no one uses SunOS4 anymore): http://thread.gmane.org/gmane.comp.version-control.git/74187 Signed-off-by: Jim Meyering <meyering@redhat.com>
* Imported from util-linux-2.12l tarball.Karel Zak2006-12-071-0/+2
|
* Imported from util-linux-2.11y tarball.Karel Zak2006-12-071-0/+15
|
* Imported from util-linux-2.11x tarball.Karel Zak2006-12-071-3/+13
|
* Imported from util-linux-2.11m tarball.Karel Zak2006-12-071-3/+5
|
* Imported from util-linux-2.11f tarball.Karel Zak2006-12-071-39/+60
|
* Imported from util-linux-2.11b tarball.Karel Zak2006-12-071-59/+63
|
* Imported from util-linux-2.10s tarball.Karel Zak2006-12-071-155/+408
|
* Imported from util-linux-2.10m tarball.Karel Zak2006-12-071-103/+570
|
* Imported from util-linux-2.9v tarball.Karel Zak2006-12-071-12/+22
|
* Imported from util-linux-2.9i tarball.Karel Zak2006-12-071-8/+10
|
* Imported from util-linux-2.7.1 tarball.Karel Zak2006-12-071-14/+21
|
* Imported from util-linux-2.5 tarball.Karel Zak2006-12-071-2/+6
|
* Imported from util-linux-2.2 tarball.Karel Zak2006-12-071-0/+445