zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "ZSH workers mailing list" <zsh-workers@sunsite.auc.dk>
Subject: PATCH: remove sinix special case in system.h
Date: Fri, 8 Sep 2000 12:14:29 +0400	[thread overview]
Message-ID: <000401c0196c$cf467f00$21c9ca95@mow.siemens.ru> (raw)


It reverts this one (ChangeLog-Release):

Sat May 30 16:16:13 1998  Andrew Main  <zefram@zsh.org>

        * Src/system.h: #define _XPG_IV on SINIX (Reliant UNIX).  It is
          reported that this is necessary in order to get the right
          version of gettimeofday().

Setting _XPG_IV here is not quite correct. It modifies some system headers and
is expected to be set by compiler if called with appropriate flag, in which
case also different startup files are linked. I.e. it possibly gives you
headers that correspond neither to configure run nor to run-time support.

Also, currently suported versions (to which I have access) do not need it
anymore. For this reason I am too lazy to add check for gettimeofday()
prototype, given that it works everywhere else. But if anybody insists ...

I leave it in place for a while as reminder.

-andrej

Have a nice DOS!
B >>

Index: Src/system.h
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/system.h,v
retrieving revision 1.7
diff -u -r1.7 system.h
--- Src/system.h        2000/08/14 16:46:19     1.7
+++ Src/system.h        2000/09/08 08:05:54
@@ -27,8 +27,14 @@
  *
  */

+#if 0
+/*
+ * Setting _XPG_IV here is actually wrong and is not needed
+ * with currently supported versions (5.43C20 and above)
+ */
 #ifdef sinix
 # define _XPG_IV 1
+#endif
 #endif

 /* NeXT has half-implemented POSIX support *


                 reply	other threads:[~2000-09-08  8:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000401c0196c$cf467f00$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).