| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Reported by: cem
MFC after: 2 weeks
X-MFC-With: 351459
Notes:
svn path=/head/; revision=351467
|
| |
|
|
|
|
|
|
|
|
|
| |
Make that change no-op for C/POSIX locale just like for UTF-8
that it superset of US-ASCII.
MFC after: 2 weeks
X-MFC-With: r351413
Notes:
svn path=/head/; revision=351459
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ouput format of last(1) is broken for non UTF-8 locales
since it got libxo(3) support. It uses strftime(3) that produces
non UTF-8 strings passed to xo_emit(3) with wrong %s format -
it should be %hs in this case, so xo_emit(3) produces empty output.
This change is basically no-op when locale is of UTF-8 type,
f.e. en_GB.UTF-8 or ru_RU.UTF-8 or sr_RS.UTF-8@latin.
It fixes output for other locales.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=351413
|
| |
|
|
|
|
|
|
|
|
| |
last.1 and lastlogin.8. Add it back.
PR: 231187
Submitted by: david.marec@davenulle.org
Notes:
svn path=/head/; revision=339450
|
| |
|
|
|
|
|
|
|
|
|
| |
Reviewed by: kp
Approved by: re (gjb)
MFC after: 1 week
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D16922
Notes:
svn path=/head/; revision=338352
|
| |
|
|
|
|
|
| |
No functional change intended.
Notes:
svn path=/head/; revision=335395
|
| |
|
|
|
|
|
|
|
|
|
| |
Missed these in r334501; see justification there:
https://svnweb.freebsd.org/base?view=revision&revision=334501
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=334502
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.
Notes:
svn path=/head/; revision=326025
|
| |
|
|
|
|
|
| |
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325188
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
free memory allocated to 'buf'
Submitted by: Thomas Rix <trix@juniper.net>
Reviewed by: ed
Approved by: sjg (mentor)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D9850
Notes:
svn path=/head/; revision=319508
|
| |
|
|
|
|
|
| |
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=318000
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96
Notes:
svn path=/head/; revision=314436
|
| |
|
|
|
|
|
|
|
| |
Reviewed by: ed (earlier version), emaste (earlier version)
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D8001
Notes:
svn path=/head/; revision=310139
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to the last(1) man page, the "reboot" pseudo-user should print
all system reboot entries. This got broken by the utmpx import, as
records are typed.
Re-add support for "last reboot" by specifically matching against
SHUTDOWN_TIME and BOOT_TIME records.
PR: 168844
Submitted by: matthew@
MFC after: 1 month
Notes:
svn path=/head/; revision=285742
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
Notes:
svn path=/head/; revision=284345
|
| | |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=284172
|
| | |\
| | |
| | |
| | | |
Notes:
svn path=/projects/bmake/; revision=283595
|
| | | |
| | |
| | |
| | | |
Notes:
svn path=/projects/bmake/; revision=266219
|
| | | |
| | |
| | |
| | | |
Notes:
svn path=/projects/bmake/; revision=265802
|
| | | |
| | |
| | |
| | | |
Notes:
svn path=/projects/bmake/; revision=248169
|
| | | |
| | |
| | |
| | | |
Notes:
svn path=/projects/bmake/; revision=246868
|
| | |\ \
| | | |
| | | |
| | | | |
Notes:
svn path=/projects/bmake/; revision=242545
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Requested by: Simon Gerraty <sjg@juniper.net>
Notes:
svn path=/projects/bmake/; revision=239572
|
| | |_|/
|/| |
| | |
| | |
| | |
| | |
| | | |
Obtained from: OpenBSD (by schwarze@)
Notes:
svn path=/head/; revision=284059
|
| | |/
|/|
| |
| | |
Notes:
svn path=/head/; revision=276258
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PR: docs/171624
Submitted by: bdrewery
Approved by: gabor
MFC after: 3 days
Notes:
svn path=/head/; revision=240506
|
| |/
|
|
|
|
|
| |
This code requires none of the features of LIST.
Notes:
svn path=/head/; revision=240425
|
| |
|
|
|
|
|
|
|
|
|
| |
- A real filename is now shown in an output report when "-f file" is specified.
- Add Xr lastlogin into last(1) manual page.
Reviewed by: ed
MFC after: 1 week
Notes:
svn path=/head/; revision=230458
|
| |
|
|
| |
Notes:
svn path=/head/; revision=227168
|
| |
|
|
|
|
|
|
| |
These ports were only built with WARNS=1, because they use certain
format extensions. We can use NO_WFORMAT for that instead.
Notes:
svn path=/head/; revision=226361
|
| |
|
|
|
|
|
|
|
|
|
|
| |
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
Notes:
svn path=/head/; revision=216370
|
| |
|
|
|
|
|
| |
I removed utmp and its manpage, but not other manpages referring to it.
Notes:
svn path=/head/; revision=202756
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I must have misread when I ported the original last(1) source code.
Instead of only processing the last 1024 entries, it reads them in in
chucks of 1024 entries at a time.
Unfortunately we cannot walk through the log file in reverse order,
which means we have to allocate a piece of memory to hold all the
entries. Call realloc() for each 128 entries we read.
Reported by: Andrzej Tobola <ato iem pw edu pl>
Notes:
svn path=/head/; revision=202643
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Basically there are three major things I changed about last(1):
- It should use ut_type instead of determining by hand what type of
record was given.
- It should now keep track of ut_id's instead of TTYs. This means the
ttylist has been renamed to the idlist, storing all the ut_id's it has
processed until the next reboot.
- I've removed the signal handler. Because our wtmp is rotated so often,
it makes little sense. Even on a simple piece of hardware it should be
capable of grinding through megabytes of logs in a second.
Notes:
svn path=/head/; revision=202197
|
| |
|
|
|
|
|
| |
Also add some missing $FreeBSD$ to keep svn happy.
Notes:
svn path=/head/; revision=201386
|
| |
|
|
| |
Notes:
svn path=/head/; revision=141846
|
| |
|
|
| |
Notes:
svn path=/head/; revision=140420
|
| |
|
|
|
|
|
| |
Submitted by: Xin LI <delphij@frontfree.net>
Notes:
svn path=/head/; revision=133332
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125856
|
| |
|
|
| |
Notes:
svn path=/head/; revision=119024
|
| |
|
|
| |
Notes:
svn path=/head/; revision=119023
|
| |
|
|
|
|
|
|
|
|
| |
System V and consistency with other utilities. Document the new form
instead of the old form in the manual page.
PR: 54661
Notes:
svn path=/head/; revision=118077
|
| |
|
|
|
|
|
|
|
| |
PR: bin/44583
Reported by: Amit Chakradeo <sdbug@spam.chakradeo.net>
MFC after: 3 days
Notes:
svn path=/head/; revision=106215
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.
Reviewed by: md5
Notes:
svn path=/head/; revision=102944
|
| |
|
|
|
|
|
|
|
| |
Use .Pa for wtmp.
Submitted by: horikawa
Notes:
svn path=/head/; revision=100440
|
| |
|
|
| |
Notes:
svn path=/head/; revision=99112
|
| |
|
|
|
|
|
|
|
|
| |
using sizeof() anyway. Use slightly more consistent (per-file) error
reporting for malloc(3) returning NULL. If "malloc failed" was being printed,
don't use err(3). If a NULL format is being used, use err(3). In one case
errx(3) was being used with strerror(3), so just use err(3).
Notes:
svn path=/head/; revision=96785
|
| |
|
|
| |
Notes:
svn path=/head/; revision=95124
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92920
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
session start time. This is useful when looking at old or long-running
wtmp files.
PR: bin/12982
Obtained from: KOJIMA Hajime <kjm@rins.ryukoku.ac.jp>, keramida
Reviewed by: keramida
MFC after: 1 week
Notes:
svn path=/head/; revision=91541
|