Commit Graph

9482 Commits

Author SHA1 Message Date
khorben
cb0d35143e The document date was not updated as it should have been. 2013-11-28 03:45:31 +00:00
khorben
c45aa5be46 Fixed a typo in the example code for select(2) 2013-11-28 02:46:37 +00:00
christos
46b322ca46 No need for bzero, memset provides it. 2013-11-24 03:50:17 +00:00
jakllsch
40814e46f2 Remove now-non-existant bzero.S from sources list. 2013-11-23 22:23:31 +00:00
martin
e2f095e02f Fix very stupid typo 2013-11-23 11:40:56 +00:00
martin
1751681322 Fix a cast from the lint cleanup that made small exponents (i.e. values < 1)
sign extend wrong and overflow, causing an underflow in all 128 bit sqrt
calculations.
2013-11-22 17:04:24 +00:00
christos
c64e72248f switch from circleq to tailq, from FreeBSD 2013-11-22 16:25:51 +00:00
martin
60fdeb717f Make ext_fraclm and ext_frachm parts of the long double mantissa optional
in generic code
2013-11-21 14:14:13 +00:00
martin
acdd726fe5 PR 48384: reorganize struct ieee_ext for sparc64 to only use a high/low
part for the mantissa.
Adjust arch specific code accordingly.
2013-11-20 22:22:20 +00:00
wiz
c0e2590a8c Remove annoying comma and sort SEE ALSO. 2013-11-14 00:13:41 +00:00
christos
fad7083044 PR/48379: mention kqueue functionality 2013-11-13 23:58:51 +00:00
joerg
367a793559 Sort out relationship with crt0.o on major bump. 2013-11-10 20:59:27 +00:00
njoly
1efda77ecf Add utimens/lutimens man pages links. 2013-11-09 13:05:59 +00:00
christos
baa7071088 we don't support stpncpy until gcc does 2013-11-07 02:01:42 +00:00
tron
27c36eab53 Fix build problems. 2013-11-06 21:05:27 +00:00
christos
eb33cee45c handle old gcc 2013-11-06 16:58:58 +00:00
christos
c15ffc1416 add stp{,n}cpy 2013-11-06 16:31:08 +00:00
christos
cd2724da71 fix doc for strcpy, strcat
add stp{,n}cpy
2013-11-06 16:30:55 +00:00
christos
1fd1820dad simplify 2013-11-06 16:30:27 +00:00
christos
c67d63d207 fix old style decls 2013-11-02 23:54:04 +00:00
wiz
acfbbe39c1 Try improving the description. 2013-10-31 00:30:14 +00:00
mrg
a078c85622 convert to ANSI C definitions. 2013-10-28 01:06:36 +00:00
joerg
2f95103bdc Add entries for ctor/dtor switch. 2013-10-24 19:37:35 +00:00
matt
9818090a90 Reduce amount of casts and make LP64 safe. 2013-10-22 08:08:51 +00:00
skrll
c78bffbcda Fix bug introduced in revision 1.13 which meant longjmp would never
work on EABI where VFP didn't exist.

Hi gimpy!
2013-10-21 08:28:14 +00:00
wiz
db0dcb5a00 Minor fixes. 2013-10-19 23:34:48 +00:00
christos
e29c34aa52 document the scopeid functions 2013-10-19 19:56:56 +00:00
christos
1f484a2734 use new constants 2013-10-19 15:47:02 +00:00
christos
c2541c7c76 add inet6_scopeid 2013-10-19 00:08:34 +00:00
christos
9912eb3f0e bump for scopeid functions 2013-10-19 00:06:50 +00:00
mrg
23d3e330cb convert to full ANSI C. 2013-10-18 02:19:12 +00:00
christos
fc8781bab9 Avoid casting gymnastics that lead to pointer aliasing by introducing an
inline function.
2013-10-17 23:58:05 +00:00
christos
b9ba14885c remove always inline because new gcc bitches. 2013-10-17 23:56:17 +00:00
njoly
349036b521 Change mknodat(2) device argument type from uint32_t to dev_t.
Adds needed extra PAD argument for 64bit alignment, and libc wrapper.
2013-10-17 18:01:11 +00:00
njoly
a837ea1a5b Adjust needed includes for fchmodat/mkdirat/mkfifoat/mknodat/fstatat
syscalls.
2013-10-15 11:43:21 +00:00
joerg
aa6e9499ca Rename USE_LIBGCC to HAVE_LIBGCC and retry using it as flag on unwind.h. 2013-10-14 16:00:16 +00:00
joerg
d06922ddf4 Include compiler-rt and libunwind in libc for Clang/x86 builds. 2013-10-14 01:30:21 +00:00
ast
9994c709c8 Fixed spelling of 'appeared'. 2013-10-05 21:24:36 +00:00
njoly
6c208a44f4 Add missing El macro. 2013-10-05 09:18:56 +00:00
christos
fda5f877e5 prefix compat with __ in case __dso_hidden is not available 2013-10-04 21:07:37 +00:00
christos
ca2d95d15f avoid linker warning for compat symbols that are used internally in libc,
by introducing a hidden compat_foo() function, using that internally in
libc, and exposing foo as a strong alias to compat_foo(). I am open for
better ideas.
2013-10-04 20:49:16 +00:00
mlelstv
6bd854d718 Don't return 0x1.0p31 for every input value 2^N.
There is also no need to special case the value 1.
2013-09-30 19:32:14 +00:00
pooka
f42f517708 Make compile with -DNO_FLOATING_POINT 2013-09-23 12:41:37 +00:00
apb
b2b514d90a Attempt to clarify that fsync() is like fsync_range() with the
FFILESYNC flag but not the FDISKSYNC flag.

Add a paragraph of weasel words about how writing to a permanent
storage device does not necessarily write to permanent storage media
within that device.

Move the description of FDISKSYNC into the same list as FDATASYNC
and FFILESYNC.

Change the order of paragraphs or sentences in an attempt to
improve the flow.
2013-09-22 10:02:05 +00:00
christos
33d9f9e08d Welcome to tzcode 2013e:
Changes affecting API

    The 'zic' command now outputs a dummy transition when far-future
    data can't be summarized using a TZ string, and uses a 402-year
    window rather than a 400-year window.  For the current data, this
    affects only the Asia/Tehran file.  It does not affect any of the
    time stamps that this file represents, so zdump outputs the same
    information as before.  (Thanks to Andrew Main (Zefram).)

    The 'date' command has a new '-r' option, which lets you specify
    the integer time to display, a la FreeBSD.

    The 'tzselect' command has two new options '-c' and '-n', which lets you
    select a zone based on latitude and longitude.

    The 'zic' command's '-v' option now warns about constructs that
    require the new version-3 binary file format.  (Thanks to Arthur
    David Olson for the suggestion.)

    Support for floating-point time_t has been removed.
    It was always dicey, and POSIX no longer requires it.
    (Thanks to Eric Blake for suggesting to the POSIX committee to
    remove it, and thanks to Alan Barrett, Clive D.W. Feather, Andy
    Heninger, Arthur David Olson, and Alois Treindl, for reporting
    bugs and elucidating some of the corners of the old floating-point
    implementation.)

    The signatures of 'offtime', 'timeoff', and 'gtime' have been
    changed back to the old practice of using 'long' to represent UT
    offsets.  This had been inadvertently and mistakenly changed to
    'int_fast32_t'.  (Thanks to Christos Zoulos.)

    The code avoids undefined behavior on integer overflow in some
    more places, including gmtime, localtime, mktime and zdump.

  Changes affecting the zdump utility

    zdump now outputs "UT" when referring to Universal Time, not "UTC".
    "UTC" does not make sense for time stamps that predate the introduction
    of UTC, whereas "UT", a more-generic term, does.  (Thanks to Steve Allen
    for clarifying UT vs UTC.)

  Data changes affecting behavior of tzselect and similar programs

    Country code BQ is now called the more-common name "Caribbean Netherlands"
    rather than the more-official "Bonaire, St Eustatius & Saba".

    Remove from zone.tab the names America/Montreal, America/Shiprock,
    and Antarctica/South_Pole, as they are equivalent to existing
    same-country-code zones for post-1970 time stamps.  The data for
    these names are unchanged, so the names continue to work as before.

  Changes affecting code internals

    zic -c now runs way faster on 64-bit hosts when given large numbers.

    zic now uses vfprintf to avoid allocating and freeing some memory.

    tzselect now computes the list of continents from the data,
    rather than have it hard-coded.

    Minor changes pacify GCC 4.7.3 and GCC 4.8.1.

  Changes affecting the build procedure

    The 'leapseconds' file is now generated automatically from a
    new file 'leap-seconds.list', which is a copy of
    <ftp://time.nist.gov/pub/leap-seconds.list>.
    A new source file 'leapseconds.awk' implements this.
    The goal is simplification of the future maintenance of 'leapseconds'.

    When building the 'posix' or 'right' subdirectories, if the
    subdirectory would be a copy of the default subdirectory, it is
    now made a symbolic link if that is supported.  This saves about
    2 MB of file system space.

    The links America/Shiprock and Antarctica/South_Pole have been
    moved to the 'backward' file.  This affects only nondefault builds
    that omit 'backward'.

  Changes affecting documentation and commentary

    Changes to the 'tzfile' man page

      It now mentions that the binary file format may be extended in
      future versions by appending data.

      It now refers to the 'zdump' and 'zic' man pages.

    Changes to the 'zic' man page

      It lists conditions that elicit a warning with '-v'.

      It says that the behavior is unspecified when duplicate names
      are given, or if the source of one link is the target of another.

      Its examples are updated to match the latest data.

      The definition of white space has been clarified slightly.
      (Thanks to Michael Deckers.)

    Changes to the 'Theory' file

      There is a new section about the accuracy of the tz database,
      describing the many ways that errors can creep in, and
      explaining why so many of the pre-1970 time stamps are wrong or
      misleading (thanks to Steve Allen, Lester Caine, and Garrett
      Wollman for discussions that contributed to this).

      The 'Theory' file describes LMT better (this follows a
      suggestion by Guy Harris).

      It refers to the 2013 edition of POSIX rather than the 2004 edition.

      It's mentioned that excluding 'backward' should not affect the
      other data, and it suggests at least one zone.tab name per
      inhabited country (thanks to Stephen Colebourne).

      Some longstanding restrictions on names are documented, e.g.,
      'America/New_York' precludes 'America/New_York/Bronx'.

      It gives more reasons for the 1970 cutoff.

      It now mentions which time_t variants are supported, such as
      signed integer time_t.  (Thanks to Paul Goyette for reporting
      typos in an experimental version of this change.)

      (Thanks to Philip Newton for correcting typos in these changes.)

    Documentation and commentary is more careful to distinguish UT in
    general from UTC in particular.  (Thanks to Steve Allen.)

    Add a better source for the Zurich 1894 transition.
    (Thanks to Pierre-Yves Berger.)

    Update shapefile citations in tz-link.htm.  (Thanks to Guy Harris.)
2013-09-20 19:06:54 +00:00
christos
4fd46030a6 look in the right place for the modules of compat binaries 2013-09-19 21:19:13 +00:00
christos
8bdd0253b8 Pass MLIBDIR to CPPFLAGS. 2013-09-19 21:18:17 +00:00
joerg
db0a20e19e GC put16.
XXX Use sys/endian.h
2013-09-14 13:05:51 +00:00
njoly
0336046eb1 Add needed sys/stat.h include for utimens functions. 2013-09-14 10:41:18 +00:00
nakayama
c7b602785c Redo previous to fix build break. 2013-09-14 05:38:00 +00:00