[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [SVN-DEV] Re: [PATCH] complete: APR-ized svn_parse_date replacement

From: C. Scott Ananian <cananian_at_lesser-magoo.lcs.mit.edu>
Date: 2001-08-27 16:34:43 CEST

On Sun, 26 Aug 2001, Greg Stein wrote:

> > * I don't like this idea of working around bugs in the system's
> > strptime implementation. If it's buggy, don't use it -- the user
> > can upgrade her libc if she's not happy with the replacement. This
> > implies that the autoconf test should do more than just check that
> > strptime is available.
>
> Agreed. I saw the runtime stuff and though, "do the check in autoconf to
> determine whether to do the runtime adjustment." But an autoconf check to
> fully replace is an even better idea.

Right, but as no 'working' glibc is currently available, I thought I'd
better do the runtime check or no one will be able to test l18n. And the
problem with doing the workaround check at config time is that the
libraries are *dynamically linked*. So I can build a binary on platform A
and run it on platform B and the libraries could be differently working on
each. (You can specify a specific version of library to the dynamic
linker, but that breaks much more than it fixes.)

This creates problems for doing any sort of autoconf check, and by not
including the workaround at all you run the risk of a user re-linking
against a glibc version which is not bug-compatible with the build glibc.

Ideas?

> > * I think the copyright in svn_date.c should be to CollabNet. Karl,
> > that's your call, I guess.
>
> Absolutely. It cannot be accepted without that. If that is a problem in any
> way (flat out impossible, or queasy, or questions, or whatever), then we can
> discuss it more.

It's not impossible, but it's not clear to me that simply putting a
CollabNet copyright notice is legally equivalent to signing the copyright
over to CollabNet. According to U.S. copyright law (which I happen to
know a fair bit about due to organizing for the Sklyarov), I retain
copyright on the work even if no notice is attached. In this case I felt
that leaving the CollabNet notice unchanged was misleading.

And I have to admit to a desire to see my name *somewhere* on the code I
wrote. I know the SVN policy about 'territoriality', but it still seems
that, should I at some point drop off the list, it would be wise for
someone later looking at the code to know who he can ask questions about
it.
  --s

Flintlock kibo Qaddafi Albanian Suharto Attache PLO Khaddafi early warning
Waihopai EZLN Noriega Moscow World Trade Center Hager affinity group
              ( http://lesser-magoo.lcs.mit.edu/~cananian )
 --
 "These students are going to have to find out what law and order is
 all about." -- Brig. General Robert Canterbury, Noon, May 4, 1970,
 minutes before his troops shot 13 unarmed Kent State students, killing 4.
 --
            [http://www.cs.cmu.edu/~dst/DeCSS/Gallery/]
#!/usr/bin/perl -w
# 526-byte qrpff, Keith Winstein and Marc Horowitz <sipb-iap-dvd@mit.edu>
# MPEG 2 PS VOB file on stdin -> descrambled output on stdout
# arguments: title key bytes in least to most-significant order
$_='while(read+STDIN,$_,2048){$a=29;$c=142;if((@a=unx"C*",$_)[20]&48){$h=5;
$_=unxb24,join"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$d=
unxV,xb25,$_;$b=73;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=($t=255)&($d
>>12^$d>>4^$d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*8^$q<<6))<<9
,$_=(map{$_%16or$t^=$c^=($m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;$t
^=(72,@z=(64,72,$a^=12*($_%16-2?0:$m&17)),$b^=$_%64?12:0,@z)[$_%8]}(16..271))
[$_]^(($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}print+x"C*",@a}';s/x/pack+/g;eval

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:37 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.