Re: [LFS Trac] #5615: sysvinit-3.12
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <[email protected]> |
#5615: sysvinit-3.12
-------------------------+-----------------------
Reporter: Bruce Dubbs | Owner: lfs-book
Type: enhancement | Status: new
Priority: normal | Milestone: 12.3
Component: Book | Version: git
Severity: normal | Resolution:
Keywords: |
-------------------------+-----------------------
Comment (by Bruce Dubbs):
sysvinit (3.12)
* There were instances of the ctime() function being called in
multiple files without
checking the return value (can be NULL) and without checking the
length of the
returned information. While there _should_ never be a case where
ctime() fails
assuming success and length of returned string isn't ideal (or
future-proof).
We now check the return value of ctime() in bootlogd, dowall, last,
logsave, and
shutdown. Where no valid value is returned we supply a dummy value
(usually a
space in place of the expected time stamp). We also no longer assume
returned string
is at least 11-16 characters.
* Re-commit flexible Makefile for GoboLinux.
* Make sure pty.h and sys/sysmacros.h are included when building
bootlogd on
systems with glibc.
* Fixed typos and syntax in manual page for init.8.
Edits provided by : Bjarni Ingi Gislason.
* Allow setting of location of the /usr directory in src/Makefile.
This is handled by the usrdir variable.
* Make sure src/Makefile uses sysconfdir (/etc by default) when
installing
configuration files.
* Fix typos and syntax in pidof manual page.
--
Ticket URL: <https://wiki.linuxfromscratch.org/lfs/ticket/5615#comment:1>
LFS Trac <https://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page