obrien
16c480d908
Remove -Wall. It breaks compiling with non-gcc compilers.
2001-04-05 20:52:33 +00:00
obrien
785e958fa3
Default the UTC question to "yes" on the Alpha.
2001-04-05 02:46:40 +00:00
obrien
5ab71ff51c
This builds fine with -Wall.
2001-04-05 02:46:21 +00:00
ru
afd506414e
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
ru
f10dc9aca1
Set the default manual section for usr.sbin/ to 8.
2001-03-20 18:17:26 +00:00
ben
aa10518020
Convert to use the <sys/queue.h> macros rather than fiddling with the queue
...
structure internals.
Reviewed by: markm
2000-12-29 18:04:54 +00:00
jkh
6646c6c9a4
Use dialog_noyes() for UTC selection; uses No as default answer now.
2000-12-16 05:29:38 +00:00
ru
71e2293ad4
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
ru
7d99729431
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
wollman
c5c43ce91f
Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
...
<time.h>).
2000-10-10 01:50:26 +00:00
ache
7a44ca40ed
Remove unneded -lmytinfo
2000-09-16 03:33:00 +00:00
jake
961b97d434
Back out the previous change to the queue(3) interface.
...
It was not discussed and should probably not happen.
Requested by: msmith and others
2000-05-26 02:09:24 +00:00
jake
d93fbc9916
Change the way that the queue(3) structures are declared; don't assume that
...
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
2000-05-23 20:41:01 +00:00
charnier
00b25227dc
Convert err() to errx(), reason is already provided. Complete the
...
abort on allocation failure instead of deferencing NULL later.
2000-01-23 20:25:01 +00:00
chris
3e73f6e0b1
Re-add the libmytinfo/libncurses stuff - removing it breaks static
...
linkage.
Pointed out by: bde
1999-09-01 23:36:21 +00:00
chris
c93ae1166c
The libraries libmytinfo' and
libncurses' are not required by this
...
program.
1999-09-01 20:37:44 +00:00
peter
efabb9ccb1
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
ru
528f32365c
- ignore the user-supplied umask, set it to 0022 by default
...
- install /etc/wall_cmos_clock with 0444 mode rather than 0666
- -Wall inspection
PR: 12967
1999-08-05 11:48:47 +00:00
mharo
30c84db9d6
Make UTC or local time message a little more clear.
1999-06-23 03:31:36 +00:00
wollman
34b4257ca1
Add a `default' feature to tzsetup for use in script-driven installation
...
(if someone writes the other half). Also rewrite the man page in a more
appropriate (formal) style.
1999-02-02 20:26:31 +00:00
peter
eb74a6e90b
Old stuff lying around a source tree:
...
Create/remove /etc/wall_cmos_clock without using system() and magic paths.
1998-12-16 05:34:49 +00:00
steve
e8a5cb36a5
Minor brace gymnastics so that /etc/wall_cmos_clock is really
...
created.
PR: 5473
Submitted by: MIHIRA Yoshiro <sanpei@yy.cs.keio.ac.jp>
1998-01-10 15:55:11 +00:00
joerg
5e073d60a3
Teach tzsetup to understand blank lines in the iso3166 file.
...
Found by: evanc@synapse.net (Evan Champion)
1997-11-07 00:07:27 +00:00
charnier
8098c0d2f3
Add usage(). Document -n flag. Do not touch/remove /etc/wall_cmos_clock
...
when -n (do nothing) is used.
1997-10-27 07:49:47 +00:00
steve
f8049f60d8
Fix a minor nit in the .Dd macro invocation so that
...
the revision date is displayed correctly.
1997-06-23 04:52:13 +00:00
peter
b782f4df30
Revert $FreeBSD$ to $Id$
1997-02-22 16:15:28 +00:00
jkh
4b4bde71b9
Ask about local or UTC here, like we used to.
1997-02-16 23:51:03 +00:00
jhay
1b1f322547
At the end it was much simpler than I thought. 26 * 26 = 676 and not 576.
...
South Africa and a few other countries exists again. This fix pr 2595.
This should go into 2.2.
1997-02-01 17:03:10 +00:00
jkh
bf4519db91
Make some of the less necessary user feedback #ifdef VERBOSE.
...
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).
1997-01-21 10:53:38 +00:00
wosch
3c5e4a3bbe
Sort cross references.
1997-01-20 00:03:00 +00:00
jkh
808a36ef65
Make the long-awaited change from $Id$ to $FreeBSD$
...
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.
1997-01-14 07:20:47 +00:00
joerg
baa06efe57
Remove two uninitialized and unused variables that used to cause a
...
segfault before.
1996-11-19 23:21:52 +00:00
wollman
8587682a08
Completely re-vamped `tzsetup':
...
- 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).
1996-11-19 18:09:41 +00:00
bde
22cf3c1924
Removed unused `-I.'s from CFLAGS.
...
"." means the object directory, so it is just confusing to use it
when nothing is included from the object directory unless the object
directory is also the source directory. It is confusing for "."
not to mean the source directory anyway, so used `-I.'s should be
replaced by `-I${.OBJDIR}'.
1996-09-04 22:25:35 +00:00
wosch
0210175107
sync copyright with /usr/share/examples/etc/bsd-style-copyright
1996-08-27 20:04:45 +00:00
wosch
aeac748e2f
add pathnames.h, -Wall cleanup
1996-08-20 23:51:20 +00:00
jkh
bee7e144ad
Only print the selected timezone in verification rather than the bogus time.
1996-07-03 01:17:34 +00:00
joerg
cf73073520
Copy /etc/localtime, unless it's already a symlink.
1996-04-01 08:17:49 +00:00
joerg
3924abebea
Another round of fixes:
...
. Replace my NIH-suffering code to detect the number of lines on
the terminal by the curses variable LINES.
. Fix the selection code for countries with more than one screenful
of locations. The very few people living in America/US/Pacific
now won't be charged for Indiana any longer... :)
. Removed the gross code that copied over the timezone file to
/etc/localtime, and create a symlink now instead.
1996-03-31 09:55:02 +00:00
joerg
f1ff95c08c
All this was horribly broken. The menues were overflowing, the `diff'
...
calculation wrong, bogus `reboot now!' hints given, and the displayed
month off by one.
Fix all of this.
Requested by: jkh
1996-03-22 22:22:40 +00:00
wosch
775be215f5
Convert "time zone" to "timezone" in NAME section
...
Submitted by: obrien@cs.ucdavis.edu (David E. O'Brien)
1996-02-27 00:27:21 +00:00
wosch
783b341893
add a manpage
1996-01-24 00:11:58 +00:00
peter
ab124e78b0
recording cvs-1.6 file death
1995-12-30 19:02:48 +00:00
jkh
edc5cbc960
Don't put up bogus confirmation dialog.
1995-10-06 02:46:23 +00:00
rgrimes
1b1ee55538
Merge RELENG_2_0_5 into HEAD
1995-06-11 19:33:05 +00:00
rgrimes
4f960dd75f
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
wollman
a90da0ca41
Grand new all-singing, dialog-wielding tzsetup(8). Still needs a man page.
1995-04-24 21:04:35 +00:00
ache
e61515fa64
Restore back -i for adjkerntz
1994-11-02 09:43:38 +00:00
ache
db7efc2628
Remove -i option from adjkerntz
1994-11-02 00:00:17 +00:00
ache
2e7cb009a6
Add 'rm -f /etc/localtime' before cp to /etc/localtime,
...
I have a link here and got strange results without 'rm'
1994-09-18 18:27:30 +00:00