| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
PR: bin/164976
Submitted by: dteske
|
|
|
|
|
| |
Noticed by: kevlo
Pointy hat to: wollman
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Move the reinstall logic to be before menus are initialised
(menus are not needed when reinstalling a zonefile).
- Remove unnecessary re-initialization of path_db.
- Update variable name and error message because we now use the
zone name relative to /usr/share/zoneinfo, not the full path.
pr: bin/164041
Submitted by: Devin Teske <dteske vicor com>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
Update verbose output to match what actually happens when selecting
the UTC option, and when the -n option is used.
Patch updated slightly for new libdialog.
PR: bin/164042
Submitted by: Devin Teske <dteske vicor com>
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
If the specified zone file does not exist or the -n flag is specified,
do not update /var/db/zoneinfo.
PR: bin/164039
Submitted by: Devin Teske <dteske vicor com>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
| |
installing zoneinfo. While we're in the vicinity, add some missing
error checking to eliminate an unhelpful error message when unlink()
fails.
/me is embarrassed by the quality of his 16-year-old code.
The whole thing is awful and could stand a complete rewrite.
PR: 164038
Submitted by: Devin Teske (but implemented differently)
|
| |
|
|
|
|
| |
in dlg_default_listitem().
|
| |
|
|
|
|
|
| |
to delete any old /var/db/zoneinfo file that may exist so that
tzsetup -r does the right thing.
|
|
|
|
|
|
|
|
| |
and sync it with manpage's SYNOPSIS
- generally clean up a manpage's formatting
Reviewed by: edwin
|
|
|
|
|
|
|
| |
PR: bin/156019
Submitted by: Daniel O'Conner
Reviewed by: Garrett Cooper <gcooper@FreeBSD.org>
MFC after: 1 week
|
|
|
|
| |
Approved by: imp (mentor)
|
| |
|
|
|
|
|
|
|
| |
It is obvious that it isn't used, but both clang and Coverity talk about it.
Found with: Coverity Prevent(tm)
CID: 8066
|
|
|
|
| |
Found with the clang checker.
|
|
|
|
|
|
| |
- Add examples to the man-page.
MFC after: 1 week
|
|
|
|
|
|
|
| |
now can run "tzsetup -r" which will reinstall the last choice. This
data is recorded in /var/db/zoneinfo.
MFC after: 1 week
|
|
|
|
|
|
|
| |
UTC" is answered as No, it would abort without properly ending the
dialog session.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
adjusting the clock to UTC.
That avoids to write on /etc/wall_cmos_clock which is useful in some
cases (example: host user in a jail).
Sponsored by: Sandvine Incorporated
Initially submitted by: Matt Koivisto <mkoivisto at sandvine dot com>
Approved by: re (kib)
|
|
|
|
|
|
| |
- Remove paths.h and embed it in the source.
- Remove stale alpha support.
- Clean up compiler warnings and fix style(9) bugs.
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
| |
Specifically, change the second level menu title from 'Country' to
'Country or Region', since e.g. Hong Kong is not a country.
Submitted by: Xin LI <delphij@frontfree.net>
|
|
|
|
| |
Approved by: re (rwatson)
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
structure internals.
Reviewed by: markm
|
| |
|
|
|
|
| |
<time.h>).
|
|
|
|
|
|
| |
It was not discussed and should probably not happen.
Requested by: msmith and others
|
|
|
|
|
|
|
|
| |
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
|
|
|
|
| |
abort on allocation failure instead of deferencing NULL later.
|
| |
|
|
|
|
|
|
|
| |
- install /etc/wall_cmos_clock with 0444 mode rather than 0666
- -Wall inspection
PR: 12967
|
| |
|
|
|
|
|
| |
(if someone writes the other half). Also rewrite the man page in a more
appropriate (formal) style.
|
|
|
|
| |
Create/remove /etc/wall_cmos_clock without using system() and magic paths.
|
|
|
|
|
|
|
| |
created.
PR: 5473
Submitted by: MIHIRA Yoshiro <sanpei@yy.cs.keio.ac.jp>
|
|
|
|
| |
Found by: evanc@synapse.net (Evan Champion)
|
|
|
|
| |
when -n (do nothing) is used.
|
| |
|
| |
|
|
|
|
|
| |
South Africa and a few other countries exists again. This fix pr 2595.
This should go into 2.2.
|
|
|
|
|
|
|
|
|
| |
We could also make this stuff only come out when getpid() != 1
and thus avoid the install case (where it really is just too verbose,
and people have complained), but this seems less messy and no one
complained when tzsetup didn't print the final "things went fine!"
messages (which sort of contravene the UNIX spirit of only yelling
when you need to anyway).
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
|
|
|
| |
segfault before.
|
|
- It no longer attempts to fiddle wall-vs-UTC-in-RTC. The results
were just confusing most of the time.
- The program no longer contains a pre-compiled list of timezones
(compiled by groveling through the tzdata source files for comments
starting with `ZONE-DESCR'). Now it uses the new `zone.tab' file
supplied with current versions of the timezone data files, to determine
the list at run time. (It also requires the ISO 3166 table I
committed some months ago.)
AS A RESULT, this program will NOT work until the new timezone data files
are committed (should happen sometime soon).
|