njoly
0ab951a98a
Note that rmdir(2) fails with EINVAL when the path last component is
...
`.' (dot).
2014-10-11 12:06:58 +00:00
njoly
fd871e46ea
Use '.Rv -std' for RETURN VALUES, sort ERRORS.
2014-10-11 11:50:11 +00:00
martin
35c9ff1477
Need powl as alias as well
2014-10-11 07:19:27 +00:00
martin
5198dd7ae2
Seems we need both sqrtl and _sqrtl as a weak alias - something must be
...
wrong namespapce wise here, but this should make it build for now.
2014-10-11 06:59:29 +00:00
martin
624656f169
Fix _sqrtl alias
2014-10-11 06:34:31 +00:00
manu
f14b589944
Report allocated bytes on FS correctly, instead of using file size
...
(which is wrong for sparse files)
2014-10-11 04:19:38 +00:00
christos
f1159e5250
namespace protection
2014-10-11 00:43:51 +00:00
martin
642e307125
More aliases
2014-10-10 22:06:33 +00:00
martin
3f7199ab7e
Add a few missing weak aliases
2014-10-10 20:58:09 +00:00
christos
3595e42fe1
try to make vax work.
2014-10-10 14:06:40 +00:00
christos
aa08994621
use long constant
2014-10-10 12:43:15 +00:00
christos
c271fdcaf7
whitespace
2014-10-10 12:43:07 +00:00
martin
6b7f6880d9
copy&pasto
2014-10-10 08:34:30 +00:00
martin
ac9a1ef7c6
Add missing catanh variant (and readd it to the Makefile list)
2014-10-10 08:19:37 +00:00
martin
8fb03683a3
Add cimag (apparently accidently dropped in previous revision and reorg)
2014-10-10 08:13:07 +00:00
christos
f14e8fc429
Add the missing complex functions.
2014-10-10 00:48:18 +00:00
wiz
00e22b0153
Drop trailing whitespace.
2014-10-08 22:10:04 +00:00
apb
82cbb6b06d
Improved handling of local times.
...
* A magic value USE_LOCAL_TIME (defined as 99999) may be passed as the
Timezone to Convert(), instructing it to use mktime() to work
in the local time zone, instead of using mktime_z to work in UTC
(and then adding the specified timezone offset).
* Some old code is removed now that there's no need to find the local
timezone offset.
* Allow either one or both of the now and zone arguments to
parsedate() to be NULL, treating them independently. Previously,
if either one was NULL, the other was ignored.
* If the zone argument is specified, then the current date is calculated
in the specified zone, not in local time.
Also add some disabled debug code.
This should fix PR lib/47916.
2014-10-08 17:38:28 +00:00
apb
8afaf3e03b
The tzoff argument is in minutes (behind/west of UTC), not seconds.
...
While here, also say that time = NULL and tzoff = NULL are independent.
The code doesn't yet implement that, but it will soon.
2014-10-08 17:06:18 +00:00
apb
bb7c1cf124
Add a new non-terminal "time_numericzone" for a time with
...
a numeric timezone. Move some productions from "time" to "time_numericzone".
Increment yyHaveZone when encountering one of these.
Previously, input of the form "HH:MM:SS +ZZZZ" would not have set the
yyhaveZone flag.
2014-10-08 14:43:48 +00:00
apb
7ab26473da
A time like HH:MM:SS.sss says nothing about whether DST is on or off.
2014-10-08 14:32:29 +00:00
martin
6a83d78f0f
Make yeartot() declaration match prototype.
2014-10-08 13:13:34 +00:00
msaitoh
293393def8
Fix typo.
2014-10-08 05:44:03 +00:00
apb
ba5f5ce70d
Document that years in ISO 8601 dates are taken literally.
...
"69-09-10" is in the year 69, not 2069.
2014-10-07 22:39:32 +00:00
apb
a777540768
Some years don't need the "maybe add 1900 or 2000" adjustment
...
that was designed for handling two-digit abbreviated years.
For example, "1/2/70" still refers to the year 1970, as before,
but "70-01-02" now refers to the year 70.
* Add a new yyHaveFullYear member to struct dateinfo, to record whether
or not the year needs to be adjusted.
* Code that parses years sets yyHaveFullYear=1 if they know that the
year should not be adjusted (as is the case for ISO 8601 dates), or if
they perform their own adjustment (as is the case for CVS timestamps).
* Move the year adjustment code into a new function, AdjustYear,
instead of inline in Convert().
* Make Convert() assume the year doesn't need to be adjusted,
and make Convert's callers first call AdjustYear() if appropriate.
2014-10-07 22:27:14 +00:00
christos
c3777759a4
don't define functions we define in our own headers
2014-10-07 22:20:33 +00:00
christos
6eda9e7a82
Fix backslashes
2014-10-07 22:20:17 +00:00
christos
d953dfb290
remove version stuff
2014-10-07 22:14:46 +00:00
christos
1f6103b179
Sync with tzcode2014h
2014-10-07 21:51:03 +00:00
justin
87c18243d5
Canonical Minix check as pointed out by Marc
2014-10-07 12:48:02 +00:00
apb
776c903d9b
include "nbtool_config.h", not "nbtools_config.h".
2014-10-01 13:53:04 +00:00
apb
f685c2f61e
It's HAVE_NBTOOL_CONFIG_H, not HAVE_NBTOOLS_CONFIG_H
2014-10-01 12:55:39 +00:00
christos
6eac8b28cf
toolize
2014-09-30 17:59:06 +00:00
manu
95e87e4336
Do not trust the filesystem's readdir to give us nul-terminated file names
2014-09-30 00:06:19 +00:00
christos
c4dd2a8529
toolify opendisk
2014-09-29 21:04:52 +00:00
justin
6f964b7d23
Minix also has getenv_r support
2014-09-29 15:54:28 +00:00
christos
3a55b33865
Return EOVERFLOW like FreeBSD does if the buffer size exceeds INT_MAX
...
(well FreeBSD documents INT_MAX + 1, but in the code it is INT_MAX).
2014-09-29 14:58:33 +00:00
wiz
902772b4e8
Add execvpe in one more place to explain its last argument.
...
Call character '0' 'NUL' instead of 'null'.
2014-09-27 16:42:07 +00:00
njoly
957f6a3676
Fix synopsis, remove unneeded Pp macro before display block and add one
...
before prototype. While here, use "Rv -std" for RETURN VALUES.
2014-09-27 12:11:13 +00:00
wiz
8ce7ddd61a
Consistency in commas. Wording.
2014-09-27 08:46:56 +00:00
christos
566336d596
missed one reference.
2014-09-26 23:57:26 +00:00
christos
718924c8d3
add execvpe, execlpe (reviewed by phone)
2014-09-26 19:28:03 +00:00
roy
a1379155fa
Cannot encode \$ in VIS_CSTYLE as that looks like vis -l
encoding.
2014-09-26 15:58:59 +00:00
roy
c34e5c76fb
Revert prior patch as it breaks vis -l
as pointed out by apb.
2014-09-26 15:43:36 +00:00
roy
45893168de
Don't encode any characters in VIS_CSTYLE that have a special meaning
...
in unvis(3), such as n r b, etc.
2014-09-26 13:48:00 +00:00
roy
a85407d2f2
Remove \$ as a hidden marker as vis(3) wasn't setting it
...
and it clobbered VIS_SHELL | VIS_CSTYLE.
2014-09-26 13:03:22 +00:00
roy
6439e61ed3
Decode any printable characters encoded with VIS_CSTYLE so
...
unvis(3) works with vis.c r1.25
2014-09-26 12:59:28 +00:00
christos
1fcf585b38
no c99 for tools.
2014-09-26 05:01:44 +00:00
wiz
1180688fb8
Simplify even more.
2014-09-26 02:30:27 +00:00
wiz
36fc2013b1
Simplify/fix macro usage. Bump date for previous.
2014-09-26 02:18:57 +00:00