public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Brad Gutt <bgutt3@yahoo.com>
To: Keith Seitz <keiths@redhat.com>
Cc: "insight@sources.redhat.com" <insight@sources.redhat.com>
Subject: Re: expect and tclsh give different output from "clock scan"
Date: Sun, 09 Jan 2005 21:52:00 -0000	[thread overview]
Message-ID: <20050109215213.99039.qmail@web53603.mail.yahoo.com> (raw)
In-Reply-To: <1104966871.2743.365.camel@lindt.uglyboxes.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1694 bytes --]

Thanks Keith.  Wow! The Expect binary and the Tcl
binary that I'm using on my PC are both coming from
the same version of Cygwin, and therefore the response
of ::tcl_platform(platform) being different is even a
more serious flaw than the issue with "clock scan"!  I
expect (pardon the pun) that Expect should be using
the exact same source code as Tcl, in fact, I would
have expected Expect to just use Tcl as a
library/framework and just add Expect-specific Tcl C
commands and procs to supply additional functionality,
just like normal Tcl based applications.  Is it that
Expect has an old copy of Tcl source in its tree? If
so, do you or anyone know why that is? Or, better yet,
is there some Expect-specific mailing list in which I
can investigate this problem further, so as to not
bother the insight group with this?

Thanks!
Brett

--- Keith Seitz <keiths@redhat.com> wrote:

> On Wed, 2004-12-22 at 09:20, Brad Gutt wrote:
> 
> > So, why is the output of clock scan different
> between
> > expect and tclsh?  Isn't expect using the same
> code as
> > tclsh is using?  
> 
> No, as a matter of fact, they are not using the same
> code. Expect on
> cygwin is a "unix" application, i.e., it uses
> cygwin's posix layer to
> call time() (from tclUnixTime.c):
> 
> expect1.1> set ::tcl_platform(platform)
> unix
> 
> tclsh84> set ::tcl_platform(platform)
> windows
> 
> On windows, it uses some goofy windowsy thing in
> tclWinTime.c to get the
> time.
> 
> My guess is that cygwin/unix code and the windows
> code use different
> epochs.
> 
> Keith
> 
> 



		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com 

  reply	other threads:[~2005-01-09 21:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-22 17:20 Brad Gutt
2005-01-05 23:14 ` Keith Seitz
2005-01-09 21:52   ` Brad Gutt [this message]
2005-01-10  1:20     ` Christopher Faylor
2005-02-20  7:29       ` Brad Gutt
2005-02-21 16:16         ` Christopher Faylor

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=20050109215213.99039.qmail@web53603.mail.yahoo.com \
    --to=bgutt3@yahoo.com \
    --cc=insight@sources.redhat.com \
    --cc=keiths@redhat.com \
    /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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).