From f8d16ad40762564c9ef41336607228fc61a08a60 Mon Sep 17 00:00:00 2001 From: leitner Date: Mon, 21 Feb 2005 13:15:33 +0000 Subject: [PATCH] document scan_urlencoded2 --- CHANGES | 2 ++ t.c | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/CHANGES b/CHANGES index c869b29..14ed007 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,8 @@ uh, the scope_id detection #defined the wrong constant. libowfat always thought there was no scope_id. Oops. #include in io/io_sendfile.c (broken OpenBSD, thx Rob) + add scan_urlencoded2 (like scan_urlencoded but will not convert '+' to + ' '; needed for web servers, so they can serve libstdc++.tar.gz) 0.21: errno cleanup and man page updates (Rolf Eike Beer) diff --git a/t.c b/t.c index 07420df..90398d2 100644 --- a/t.c +++ b/t.c @@ -25,6 +25,10 @@ __asm__ __volatile__ ("rdtsc" : "=a" (low) : : "edx") int main(int argc,char* argv[]) { + char dest[1024]; + unsigned long len; + scan_urlencoded2("libstdc++.tar.gz",dest,&len); + buffer_putmflush(buffer_1,dest,"\n"); #if 0 static stralloc sa; stralloc_copym(&sa,"foo ","bar ","baz.\n");