Re: Validating cookie domains

2002-04-19 Thread R.I.P. Deaddog

On Fri, 19 Apr 2002, Ian Abbott wrote:

 It seems to make more sense if you subtract one from the number of
 periods.
 
  It means that `www.arsdigita.de' cannot set
  the cookie for `arsdigita.de'.  To make *that* work, you'd have to
  maintain a database of domains that use .co.xxx convention, as
  opposed to those that use just .xxx.
 
 Could you assume that all two-letter TLDs are country-code TLDs and
 require one more period than other TLDs (which are presumably at
 least three characters long)?

Almost always true. There are i.am, come.to etc, but probably
ALL of them are forwarders (except cr.yp.to)...

-- 
Abel Cheung
GPG Key: (0xC67186FF) http://deaddog.org/gpg.asc




Re: ScanMail Message: To Recipient virus found or matched file blocking setting.

2002-04-18 Thread R.I.P. Deaddog

On Thu, 18 Apr 2002, System Attendant wrote:

 ScanMail for Microsoft Exchange has taken action on the message, please
 refer to the contents of this message for further details.
 
 Sender = [EMAIL PROTECTED]
 Recipient(s) = [EMAIL PROTECTED];
 Subject = So cool a flash,enjoy it
 Scanning Time = 04/18/2002 15:38:04
 Engine/Pattern = 6.150-1001/267
 
 Action on message:
 The attachment COM.scr matched file blocking settings. ScanMail has taken
 the Deleted action. 

Apparent several pieces of email are detected to contain
suspecious attachments, but they still pass through the
filter.


-- 
Abel Cheung
GPG Key: (0xC67186FF) http://deaddog.org/gpg.asc




Re: problems with msgfmt making .gmo [v1.8.1]

2002-04-16 Thread R.I.P. Deaddog

On Tue, 16 Apr 2002, Hrvoje Niksic wrote:

  Thanks for the report.  The thing I don't quite understand is, how come
  you are the only one to experience this?  My `msgfmt --version' says
  0.10.40, so I'm not sure what your 1.3 refers to.
  
  Maybe you should upgrade gettext?
 
   The current version of GNU gettext is 0.11.1, BTW.
 
 I wonder why the Debian people never upgraded it.  Hmm.

Upgrading gettext to 0.11.x involves a lot of work;
in particular, libintl.so has increased library major
version (API changed? I don't know). So quite many apps
have to be recompiled. Probably nobody dare to take the
task :)

-- 
Abel Cheung
GPG Key: (0xC67186FF) http://deaddog.org/gpg.asc




Re: OK, time to moderate this list

2002-03-22 Thread R.I.P. Deaddog

On Fri, 22 Mar 2002, Hrvoje Niksic wrote:

  I think I agree with this.  The amount of spam is staggering.  I have
  no explanation as to why this happens on this list, and not on other
  lists which are *also* open to non-subscribers.
 
  I guess you are not subscribed to [EMAIL PROTECTED]?
 
  It is not just this list :-(
 
 Good to hear, for a certain deranged value of good.  :-(  However,
 I'm also subscribed to [EMAIL PROTECTED] and to [EMAIL PROTECTED]
 Both of them allow non-subscriber posts, and very few spam on either.
 
 Go figure.

Whether one list is vulnerable to large amount of spam usually just
depends on whether it is listed in any spam list.

I'm willing to bet $10 that once those lists is more exposed and
more people are subscribing them, the lists will be doomed soon.

The Internet is not once it used to be..

Abel

-- 
GPG Key: (0xC67186FF) http://deaddog.org/gpg.asc




Re: Newsletter Vol. 10, No. 3

2001-10-27 Thread R.I.P. Deaddog

On Sat, 27 Oct 2001, WorldBeat News wrote:

 World Beat News 10/26/01:

I guess people subscribing wget-list are fed up with this kind of spam?

Abel





Re: wget/src/ftp-ls.c: tiny typo

2001-06-04 Thread R.I.P. Deaddog

On 3 Jun 2001, Hrvoje Niksic wrote:

 R.I.P. Deaddog [EMAIL PROTECTED] writes:

  Actually not many software other than wget can benefit this
  way. Other software needs to have ALL_LINGUAS changed if any new
  translation is added.  Wget is using a combination of ls and sed for
  ALL_LINGUAS, but that doesn't work trivially with all other software
  I tested.

 Maybe a more in-depth investigation is needed?  I really don't see a
 single reason why the ls/sed trick Wget employs shouldn't work for any
 other Autoconf-based tool.

It sounds to me that other software uses m4 to parse ALL_LINGUAS=
line, and barfs at it then. But no time to check it clearly. sorry.

Abel




Re: wget/src/ftp-ls.c: tiny typo

2001-06-03 Thread R.I.P. Deaddog

On 3 Jun 2001, Hrvoje Niksic wrote:

 This is what I call additional burden to the maintainer.  He has to
 roll out another full release, announce it, etc., only because of the
 translations.

 Consing up a translation tarball is a considerably simpler operation.
 Much smaller possibility of making a mistake.

Actually not many software other than wget can benefit this way. Other
software needs to have ALL_LINGUAS changed if any new translation is
added. Wget is using a combination of ls and sed for ALL_LINGUAS, but that
doesn't work trivially with all other software I tested.

For separating translation as another tarball, there's another risk of
people putting different versions of source and translation together, not
to mention the additional time needed for packaging. But of course it's up
to developers to decide which method costs less and which costs more.

Abel




about translation

2001-05-27 Thread R.I.P. Deaddog


Hi,

Seems release is near... so updated translation to avoid too
much trouble later. Btw, is string freeze ongoing or not started yet? If
not started yet probably it's better to wait till freeze I don't want
to spam this list. :)

Regards,
Abel




Re: Release vs. Translation Schedule

2001-05-11 Thread R.I.P. Deaddog

On 11 May 2001, [iso-8859-1] François Pinard wrote:

 You are quite generous with me.  My feeling is that it is a shame that I
 have been there for so long! :-)

:-(

 I have good confidence in people, and in the collective wisdom.  I may
 try to help at the beginning, but helping too much becomes kibitzing!

 Hey hey!  I'll return to my previous job of kibitzing maintainers :-).


To Francois(sorry for the c):
But if you really want to leave, who can follow right now?

To Hrvoje:
From what I observed from gnome-i18n, the procedure is like this:

First, software maintainers announce in gnome-i18n list:

 software will be released/updated within X days, please
update/create your translation before the release time.

The method of getting the .po/.pot files may or may not follow.

Though this practice is not possible for small independent softwares, it's
still possible to send messages to different language teams (GNU softwares
use this approach) to announce an upcoming upgrade.

Abel Cheung




Re: Minor fixes in wget 1.6's main.c

2001-04-04 Thread R.I.P. Deaddog


Ask Philipp Thomas... he has already done that.



On Tue, 3 Apr 2001, [iso-8859-1] Nicolás Lichtmaier wrote:

   The problem is that when using gettext you must set LC_CTYPE (since
   recent versions of libc). The C library is really lacking in this
   respect, one should be able to force a locale for just one function
   call ( locprintf("C",... ) ? ).
 
  Yeah, but it's simply inheriting the flaws of the Unix localization
  model.  There is a hack to set the locale to "C" temporarily and
  revert back to whatever it was set to, but it's slow and ugly.
 
   In this case, the is*() functions should be replaced with custom
   versions, because the libc versions are supposed to be localized.
 
  That's what 1.7 does.

  Yup... I guess I'll port that to 1.6. It's easy to do.






Re: [Patch] LC_CTYPE not defined

2001-03-30 Thread R.I.P. Deaddog


Backported Philipp's patch to 1.6.1-dev and is attached here. This patch
can be used again 1.6 too. Not sure if this is a useless patch? :)

Abel Cheung



On 30 Mar 2001, Hrvoje Niksic wrote:

 Philipp Thomas [EMAIL PROTECTED] writes:

  * R.I.P. Deaddog ([EMAIL PROTECTED]) [20010329 23:12]:
 
   I have checked out the cvs version (both 1.6.1-dev and 1.7-dev), and found
   no related modification... and nothing mentioned in Changelog. Is it
   that I missed something?
 
  Well, then it hasn't been checked into the 1.7 CVS yet. If you like,
  I can send you the diff I sent to wget-patches.

 Correct.  The patch has been approved, and will likely be applied this
 weekend.



diff -urN wget-1.6/src/Makefile.in wget-1.6-new/src/Makefile.in
--- wget-1.6/src/Makefile.inSun Nov  5 06:49:45 2000
+++ wget-1.6-new/src/Makefile.inFri Mar 30 09:36:55 2001
@@ -59,7 +59,7 @@
 OBJ = $(ALLOCA) cmpt$o connect$o fnmatch$o ftp$o ftp-basic$o  \
   ftp-ls$o $(OPIE_OBJ) getopt$o headers$o host$o html$o   \
   http$o init$o log$o main$o $(MD5_OBJ) netrc$o rbuf$o\
-  recur$o retr$o snprintf$o url$o utils$o version$o
+  recur$o retr$o snprintf$o url$o utils$o version$o safe-ctype$o
 
 .SUFFIXES:
 .SUFFIXES: .c .o ._c ._o
@@ -154,5 +154,6 @@
 rbuf$o: config.h wget.h sysdep.h options.h rbuf.h connect.h
 recur$o: config.h wget.h sysdep.h options.h url.h recur.h utils.h retr.h rbuf.h ftp.h 
fnmatch.h host.h
 retr$o: config.h wget.h sysdep.h options.h utils.h retr.h rbuf.h url.h recur.h ftp.h 
host.h connect.h
+safe-ctype$o: safe-ctype.h
 url$o: config.h wget.h sysdep.h options.h utils.h url.h host.h html.h
 utils$o: config.h wget.h sysdep.h options.h utils.h fnmatch.h
diff -urN wget-1.6/src/ansi2knr.c wget-1.6-new/src/ansi2knr.c
--- wget-1.6/src/ansi2knr.c Thu Dec  2 15:42:26 1999
+++ wget-1.6-new/src/ansi2knr.c Fri Mar 30 09:40:29 2001
@@ -83,7 +83,6 @@
 #endif
 
 #include stdio.h
-#include ctype.h
 
 #if HAVE_CONFIG_H
 
diff -urN wget-1.6/src/cmpt.c wget-1.6-new/src/cmpt.c
--- wget-1.6/src/cmpt.c Wed Apr 12 21:23:34 2000
+++ wget-1.6-new/src/cmpt.c Fri Mar 30 09:40:29 2001
@@ -26,7 +26,6 @@
 #else
 # include strings.h
 #endif /* HAVE_STRING_H */
-#include ctype.h
 
 #include sys/types.h
 #ifdef HAVE_UNISTD_H
@@ -657,9 +656,9 @@
 {
   /* A white space in the format string matches 0 more or white
 space in the input string.  */
-  if (isspace (*fmt))
+  if (ISSPACE (*fmt))
{
- while (isspace (*rp))
+ while (ISSPACE (*rp))
++rp;
  ++fmt;
  continue;
@@ -851,7 +850,7 @@
case 'n':
case 't':
  /* Match any white space.  */
- while (isspace (*rp))
+ while (ISSPACE (*rp))
++rp;
  break;
case 'p':
diff -urN wget-1.6/src/ftp-basic.c wget-1.6-new/src/ftp-basic.c
--- wget-1.6/src/ftp-basic.cFri Mar 30 09:23:53 2001
+++ wget-1.6-new/src/ftp-basic.cFri Mar 30 09:40:29 2001
@@ -26,7 +26,6 @@
 #else
 # include strings.h
 #endif
-#include ctype.h
 #ifdef HAVE_UNISTD_H
 # include unistd.h
 #endif
diff -urN wget-1.6/src/ftp-ls.c wget-1.6-new/src/ftp-ls.c
--- wget-1.6/src/ftp-ls.c   Sat Nov 11 02:01:35 2000
+++ wget-1.6-new/src/ftp-ls.c   Fri Mar 30 09:40:29 2001
@@ -30,7 +30,6 @@
 # include unistd.h
 #endif
 #include sys/types.h
-#include ctype.h
 #include errno.h
 
 #include "wget.h"
diff -urN wget-1.6/src/ftp.c wget-1.6-new/src/ftp.c
--- wget-1.6/src/ftp.c  Fri Mar 30 09:23:53 2001
+++ wget-1.6-new/src/ftp.c  Fri Mar 30 09:40:29 2001
@@ -26,7 +26,6 @@
 #else
 # include strings.h
 #endif
-#include ctype.h
 #ifdef HAVE_UNISTD_H
 # include unistd.h
 #endif
diff -urN wget-1.6/src/headers.c wget-1.6-new/src/headers.c
--- wget-1.6/src/headers.c  Wed Apr 12 21:23:34 2000
+++ wget-1.6-new/src/headers.c  Fri Mar 30 09:40:29 2001
@@ -26,7 +26,6 @@
 #else
 # include strings.h
 #endif
-#include ctype.h
 
 #include "wget.h"
 #include "connect.h"
diff -urN wget-1.6/src/host.c wget-1.6-new/src/host.c
--- wget-1.6/src/host.c Mon Nov 13 08:46:13 2000
+++ wget-1.6-new/src/host.c Fri Mar 30 09:40:29 2001
@@ -21,7 +21,6 @@
 
 #include stdio.h
 #include stdlib.h
-#include ctype.h
 #ifdef HAVE_STRING_H
 # include string.h
 #else
diff -urN wget-1.6/src/html.c wget-1.6-new/src/html.c
--- wget-1.6/src/html.c Thu Nov  2 09:50:03 2000
+++ wget-1.6-new/src/html.c Fri Mar 30 09:40:29 2001
@@ -19,7 +19,6 @@
 
 #include config.h
 
-#include ctype.h
 #ifdef HAVE_STRING_H
 # include string.h
 #else
diff -urN wget-1.6/src/http.c wget-1.6-new/src/http.c
--- wget-1.6/src/http.c Fri Mar 30 09:23:53 2001
+++ wget-1.6-new/src/http.c Fri Mar 30 09:40:29 2001
@@ -27,7 +27,6 @@
 #else
 # include strings.h
 #endif
-#include ctype.h
 #ifdef HAVE_UNISTD_H
 # include unistd.h
 #endif
diff -urN wget-1