Re: Automated telnet problems

2009-03-11 Thread Yang Tse
2009/3/11, Pierre Brico wrote: [...] my first issue (I tested it under Windows and it works). However, the behavior is different of what I was waiting for. Indeed, I though the timeout was computed between two calls of the write_callback function and not computed by subtracting current time

Re: crash using libcurl 7.19 multi interface

2009-03-12 Thread Yang Tse
Hendrik, I've been unable, after 30 successive executions on Windows, to crash any of your test programs. But there's still some hope ;-) Please answer all the following... Have you built libcurl or downloaded from somewhere? If downloaded provide link to it. Are you linking your test program

Re: Build using CMake

2009-04-01 Thread Yang Tse
Hi Guen ;-) Yang: I think you should proceed with your nmake tweaks I respectfully listen your opinion, and in a friendly manner I tell you that, for now, I won't follow it. Contrary to what someone has said, Win32 lib/curl already can be built out of the box in many ways and with a good bunch

Potential ABI break for libcurl Sun Compiler users

2009-04-02 Thread Yang Tse
Hi, Just a heads up for those using Sun compilers. I've just committed a change to CVS with the following description: Fix curl_off_t definition for builds done using Sun compilers and a non-configured libcurl. In this case curl_off_t data type was gated to the off_t data type which depends on

Re: Potential ABI break for libcurl Sun Compiler users

2009-04-02 Thread Yang Tse
2009/4/2, Stefan Teleman wrote: Your patch breaks ABI with earlier versions of CURL. Yes. It breaks ABI for the very specific case which is mentioned in the commit message, the RELEASE-NOTES document for next release and the message I've posted to this list warning of such fact. And it breaks

Re: Potential ABI break for libcurl Sun Compiler users

2009-04-03 Thread Yang Tse
2009/4/3, Stefan Teleman wrote: So how often do you guys break ABI ? Inquiring minds want to know. It sounds like you don't care at all that 7.19.x breaks ABI with earlier releases. Cool down. The ABI breakage takes place only in some very specific cases for some platforms. Depending on how

Re: Potential ABI break for libcurl Sun Compiler users

2009-04-03 Thread Yang Tse
Daniel, No computer this weekend for me, so I won't be able to answer any message until Monday. In any case I want to leave something more clear right away... The purpose of curlbuild.h.dist is mostly for platforms which lack the capability of running the configure script. This is mentioned

Re: lib558.c problem

2009-04-08 Thread Yang Tse
2009/4/8, Daniel Stenberg wrote: We need to make the test case either conditional on using a static lib (when on windows) or we need to make the test case use the code from the lib separately (as opposed to just expecting the lib to export it). Or something... Skip test #558 and #559 also

Re: giva: curl/tests/server tftpd.c,1.48,1.49

2009-04-08 Thread Yang Tse
Hi Gisle, This http://cool.haxx.se/cvs.cgi/curl/tests/server/tftpd.c.diff?r1=1.48r2=1.49 change seems to have disgusted some daily builds. Just in case you haven't noticed -- -=[Yang]=-

Re: Build using CMake

2009-04-14 Thread Yang Tse
2009/4/14, Piotr Dobrogost wrote Yang Tse wrote: Hi Guen ;-) Yang: I think you should proceed with your nmake tweaks I respectfully listen your opinion, and in a friendly manner I tell you that, for now, I won't follow it. Yang Have you changed your mind so we can finish

Re: Visual Studio 2008 Solution for Curl

2009-04-23 Thread Yang Tse
2009/4/23, Jack Liptrap wrote: I wanted to make the solution files available for those who use Microsoft Visual Studio 2008. I spent the morning figuring out why VS9 wouldn't compile the solution after it auto-upgraded the VS6 workspace. libcurl project wasn't outputing to the correct

Re: about libcurl.def

2009-04-24 Thread Yang Tse
2009/4/24, flourishing wrote: and i searched google, many people says use __declspec(dllexport) but i searched the full folder, didn'f find this. my question is , how libcurl make this happend ? :) It is there. Search for __declspec in include\curl\curl.h -- -=[Yang]=-

Re: fat binary for Mac OSX 10.5.X

2009-04-30 Thread Yang Tse
2009/4/30, john blair wrote: I have successfully built a fat binary for curl 7.18.2. Has any one tried building it with 7.19.4? No personal experience on OS X. But... Just in case you want to test it, there's an improved 'MacOSX-Framework' shell script in CVS that will ship with upcomming

Re: [PATCH] transfer.c fixes for CURL_DO_LINEEND_CONV and non-ASCII platform HTTP requests

2009-05-04 Thread Yang Tse
2009/5/1, David McCreedy wrote: That causes two problems: Committed, Thanks -- -=[Yang]=-

Re: [PATCH] Allow Curl test suite test #251 to work if client and server are on different machines

2009-05-05 Thread Yang Tse
2009/5/4, Yang Tse wrote: 2009/5/1, David McCreedy wrote: This patch changes tests/ftpserver.pl and tests/runtests.pl to pass the client IP address on FTP Server tests. Committed. And reverted now. The origin of the problem with test case #251 was the --ftp-port not being the CLIENTIP

Re: [PATCH] Allow various Curl test suite tests to work on non-ASCII platforms

2009-05-07 Thread Yang Tse
2009/5/8, David McCreedy wrote: On Thu, May 7, 2009 at 11:59 AM, Yang Tse yangs...@gmail.com wrote: [...] testcurl.pl tricks and test5XX patches on different files and later on. Will do. I meant runtests.pl that's the one that would need modification for this. -- -=[Yang]=-

Re: [PATCH] Allow various Curl test suite tests to work on non-ASCII platforms

2009-05-08 Thread Yang Tse
2009/5/8, David McCreedy wrote: How about a new strippartconv (or some similar name) that only applies for systems that use CURL_DOES_CONVERSIONS? I've tried this out and it works. It would be ignored on systems that don't use CURL_DOES_CONVERSIONS. And it's more flexible than a

Re: autobuild probs

2009-05-09 Thread Yang Tse
2009/5/8, Guenter wrote: Hi, Hi Guen, it seems to me that since the last commits the tests 533, 546, 702, 703 fail now The commit done for Constantine Sapuntzakis's bug report #2784055 is also breaking things on my side, and other daily builds. Not much of a surprise as the change log

Re: autobuild probs

2009-05-10 Thread Yang Tse
2009/5/10, Daniel Stenberg wrote: I committed changes last night that fixed the problems in my end. I confirm that these changes also solved the problems on my side. Thanks, -- -=[Yang]=-

Re: [PATCH] Allow various Curl test suite tests to work on non-ASCII platforms

2009-05-11 Thread Yang Tse
2009/5/8, Yang Tse wrote: 2009/5/8, David McCreedy wrote: How about a new strippartconv (or some similar name) that only applies for systems that use CURL_DOES_CONVERSIONS? I've tried this out and it works. It would be ignored on systems that don't use CURL_DOES_CONVERSIONS. And it's

Re: autobuild probs

2009-05-12 Thread Yang Tse
2009/5/12, Daniel Stenberg wrote: Blurgh. Sometimes I wish I had a mac... And more time to sleep ;-) The ftp involved change is the one resumed by this two diffs: http://cool.haxx.se/cvs.cgi/curl/lib/ftp.c.diff?r1=1.511r2=1.513 http://cool.haxx.se/cvs.cgi/curl/lib/url.c.diff?r1=1.795r2=1.797

Re: patch 7.19.5 - remove VMS specific code from curl.h

2009-05-31 Thread Yang Tse
2009/5/31, John E. Malmberg wrote: On VMS, sys/types.h and types.h are the same file. By default, the VMS C compiler ignores the sys/ path. This is the case for all platforms on VMS that curl is currently being built for. So there is no need for VMS specific code here. Is this the same

Re: patch 7.19.5 - remove VMS specific code from curl.h

2009-06-01 Thread Yang Tse
2009/6/1, John E. Malmberg wrote: The header files are now supplied by the operating system in a text library independent of the compiler. Thanks for the explanation and clean-up. Committed to CVS. -- -=[Yang]=-

Re: [curl 7.19.5] consfigure struct timeval on VMS

2009-06-01 Thread Yang Tse
2009/6/1, John E. Malmberg wrote: I just was bringing this up in case someone was interested in making the configure scripts more robust. We are always interested in improving everything. Simply wanted to make sure we were speaking the same language. I've just committed a change to CVS that

Re: Help on usinig Curl on vxwrks

2009-06-03 Thread Yang Tse
2009/6/1, Igor Novoseltsev wrote: Please review the patch. In no particular order... strerror_r() on VxWorks might have two arguments but the return type is not the error converted to a string. It is something like OK or ERROR. You should probably write an VxWorks wrapper for that function. I

Re: Help on usinig Curl on vxwrks

2009-06-04 Thread Yang Tse
Igor, Disregard my previous message. After some further adjustments your work has been committed to CVS. Verify if everything is ok using daily snapshot dated June 5, 2009 or later from http://cool.haxx.se/curl-daily/ I yet have a couple of comments. In Makefile.vxworks you should probably

Re: Patch: libcurl for Windows Mobile 6

2009-06-05 Thread Yang Tse
2009/6/3, Igor Novoseltsev wrote: Please find the attached patch that enables compilation of the libcurl in VS2005 for Windows Mobile 6 (ARMV4I) platform. Note it requires the wcecompat library (open source, http://www.essemer.com.au/windowsce). Which functions, struct definitions, or

Re: [patch] 7.19.5 docs/example patches for VMS.

2009-06-05 Thread Yang Tse
Committed with 'long' typecasts. Thanks, -- -=[Yang]=-

Re: Djgpp Make

2009-06-08 Thread Yang Tse
2009/6/9, jvp wrote: Now get: [...] setup.h:358:21: error: tcp.h: No such file or directory (ENOENT) file.c:40:24: error: sys/socket.h: No such file or directory (ENOENT) file.c:52:19: error: netdb.h: No such file or directory (ENOENT) file.c:55:23: error: arpa/inet.h: No such file or

Re: Djgpp Make

2009-06-08 Thread Yang Tse
2009/6/9, jvp wrote: Indeed progressed to the point where 37 files were compiled till here: --- gcc -g -gcoff -O2 -I. -I../include -I../lib -IC:/NET/WATT/inc -Wall -DHAVE_CONFIG_H -o djgpp/content_encoding.o -c

Re: [patch 7.19.5] VMS Exit handling fixes.

2009-06-10 Thread Yang Tse
2009/6/10, John E. Malmberg wrote: This patch against the 7.19.6-20090609 daily snapshot makes things work. [...] +++ packages/vms/curlmsg_vms.h Tue Jun 9 01:27:48 2009 [...] +++ src/main.c Tue Jun 9 23:56:29 2009 [...] +++ src/os-specific.c Tue Jun 9 01:26:49 2009 [...] +++

Re: Djgpp Make

2009-06-10 Thread Yang Tse
2009/6/10, jvp wrote: Although it has created the Libcurl.a there are errors during the next phase. Hope this is not to long. --- make.exe[1]: Leaving directory `c:/Curl/lib' c:/djgpp/bin/make.exe -C src -f Makefile.dj make.exe[1]:

Re: [patch] 7.19.6-20090609 docs/examples/anyauthput.c on VMS

2009-06-10 Thread Yang Tse
2009/6/10, John E. Malmberg wrote: docs/examples/anyauthput.c needs a typedef for intptr_t. Fixed in CVS, thanks. -- -=[Yang]=-

Re: Djgpp Make

2009-06-12 Thread Yang Tse
Hi jvp, When you get that error which are the contents of src\config.h ? The only Line is: '#include ../lib/config.dos' Ok, we had it right in front of our eyes. Look at those nasty single quotes surrounding the whole line, these are actually inside src\config.h converting it into

Re: Help on usinig Curl on vxwrks

2009-06-16 Thread Yang Tse
2009/6/16, Igor Novoseltsev wrote: #ifdef _WRS_KERNEL extern int open (const char *, int, int); #else extern int open (const char *, int, ...); #endif /* _WRS_KERNEL */ Then why doesn't the 2-arg version work just fine? The answer is: the ccppc

Re: Maximum offset value supported by CURLOPT_RESUME_FROM(_LARGE) ?

2009-06-19 Thread Yang Tse
2009/6/18, Cogentree CT cogent...@gmail.com: I am using CURLOPT_RESUME_FROM_LARGE for a file which is more than 4 GB (4441787445 bytes) in size. I wanted download to restart; at offset: 4441487245 bytes. But, whenever I specify curl_easy_setopt(curl, CURLOPT_RESUME_FROM_LARGE, 4441487245L)

Re: recent configure changes

2009-06-20 Thread Yang Tse
Hi Gün, seems that your recent configure changes break all my MingW autobuilds: Yep I broke'em with last commit. There's no progress without struggle ;-) I've already committed a follow-up that should fix recently broken builds. Autobuilds will show if it is good enough now. Cheers, --

Re: Addional VMS files needed to build and kit Curl.

2009-06-20 Thread Yang Tse
Hi John, 2009/6/20, John E. Malmberg wrote: [...] The build and kitting procedures required an additional 32 files. The readme. file in that list has been updated for building using the GNV package. [...] Without knowing the real contents and purpose of each new file you mention I can

Re: renaming of config.h to curl_config.h

2009-07-16 Thread Yang Tse
Hi Gün, Relative to the current regression state in which it is impossible to build libcurl with c-ares and memory tracking enabled, you have several options... 1) The easy way. Revert the renaming of config.h to curl_config.h and ares_config.h. 2) Modify c-ares API in order to make c-ares

Win64 target (MingW64) autobuilds

2009-07-20 Thread Yang Tse
Hi, Win64 target (MingW64) autobuilds done using x86_64-pc-mingw32-gcc should not be used as a guide to fix nearly anything in the libcurl code base. These autobuilds should be considered simply an x86_64-pc-mingw32-gcc compiler exerciser, nearly nothing compiled with this compiler which needs to

Re: Win64 target (MingW64) autobuilds

2009-07-20 Thread Yang Tse
Hi Gün, 2009/7/20, Guenter li...@gknw.net: Hi, Yang, Yang Tse schrieb: Oops, In previous message where I have written 'size of long' I really wanted to say 'size of size_t'. x86_64-pc-mingw32-gcc has size of long = 4 and size of size_t = 8. You really should be more specific with what

poll() POLLERR / POLLHUP without POLLIN / POLLOUT

2009-09-11 Thread Yang Tse
28 Jul 2009 Joshua Kwan http://curl.haxx.se/mail/lib-2009-07/0292.html wrote: We have a Glib-style event loop implementation into which the multi API is hooked. Presumably due to the network disconnection, polling on the FD responsible for name resolution is in a 'POLLERR' state (indicating

Re: poll() POLLERR / POLLHUP without POLLIN / POLLOUT

2009-09-14 Thread Yang Tse
Patch just thrown into the daily build arena. http://cool.haxx.se/cvs.cgi/curl/lib/select.c.diff?r1=1.52r2=1.53 -- -=[Yang]=-

Re: occasional failures of SCP/SFTP test-suite

2009-09-17 Thread Yang Tse
Hi Kamil, 2009/9/17, Kamil Dudka wrote: I am experiencing random test-suite failures of SCP/SFTP tests. It can be reproduced by running the SCP/SFTP test-suite in the loop: $ while ./runtests.pl -k -p -v SFTP SCP; do echo ok; done [...] Any idea what's happening? Read this thread

Re: [PATCH, RFC] Make hostthre.c work on POSIX

2009-09-25 Thread Yang Tse
2009/9/24, Joshua Kwan wrote: [...] I genericized the code in hostthre.c to be compilable on both Windows and Mac, by using macros to abstract away the competing threading idioms. (Despite certain wrinkles, they are actually quite similar.) Taking in account that the next 'C Standard

Re: More fun with NTLM: Unicode support

2009-10-02 Thread Yang Tse
2009/10/1, Joshua Kwan wrote: I poked around the source tree and noticed that cURL does not even try to link against iconv unless you manually configure it like that (even though 99% of the time it's going to be in C library anyway.) Why is this? Not to GPL infect default configuration

Re: How to Configure Curl to resolve hugefile build failure

2009-10-20 Thread Yang Tse
2009/10/19, Dantzler, DeWayne C wrote: [...] curl version:7.19.6 [...] LDAP support:enabled (OpenLDAP) [...] /usr/bin/cc -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../src -I../lib -I../src -Ae -DDDPS_USYS_HP -D_HPUX_SOURCE -z +W 4227,4255 -s +O2 -c -o [...]

Re: Dayly build OpenSuSE 11.1 test #537 SIGBUS

2009-10-20 Thread Yang Tse
Hi Gün, Program received signal SIGBUS, Bus error. 0x768c4b82 in ?? () from /lib64/libgcrypt.so.11 (gdb) bt #0 0x768c4b82 in ?? () from /lib64/libgcrypt.so.11 #1 0x768c5886 in ?? () from /lib64/libgcrypt.so.11 #2 0x768c5caf in ?? () from

Re: Win32 - MSVC 7.15.1 devel SSL enabled Chris Drake

2009-10-21 Thread Yang Tse
Peter and all, Can you give tonight's daily snapshot a try http://curl.haxx.se/snapshots/curl-7.19.7-20091022.zip ? I've committed some stuff to CVS which makes it easier to build curl and libcurl with MSVC 6 without having PSDK installed. Building any software with MSVC 6 without having PSDK

Re: How to Configure Curl to resolve hugefile build failure

2009-10-21 Thread Yang Tse
Ok, yet another badly configured build environment! That HP box exhibits at least two problems which will prevent building software properly. One is that the linker seems to go nuts and even coredumps. And the other one are bad system headers, at least sys/socket.h. Without a properly working

Re: Win32 - MSVC 7.15.1 devel SSL enabled Chris Drake

2009-10-21 Thread Yang Tse
Hi Gün, 2009/10/21, Guenter wrote: Can you please add the news you introduced to docs/INSTALL, and strip the socklen_t hint? Updated whole MSVC 6 caveats section. Please proof read. -- -=[Yang]=- --- List admin:

Re: Is this a bug in the configure script?

2009-10-22 Thread Yang Tse
2009/10/22, Daniel Stenberg wrote: On Wed, 21 Oct 2009, Dantzler, DeWayne C wrote: (2) found that the curl.h had the following preprocessor include statement #include curlver.h /* libcurl version defines */ #include curl/curlbuild.h /* libcurl build definitions */ #include

Re: Is this a bug in the configure script?

2009-10-23 Thread Yang Tse
2009/10/22, Patrick Monnerat wrote: Yang Tse wrote: In addition to the fact that the documented way that apps using libcurl must include curl's public API header files is using preprocessor directive #include curl/curl.h This is all right, providing the compiler understands

Re: Is this a bug in the configure script?

2009-10-23 Thread Yang Tse
Patrick Monnerat wrote: In other words: _ curl/curlbuild.h -- FILE CURL, MBR CURLBUILD _ curlbuild.h -- FILE H, MBR CURLBUILD _ curl/curlbuild.h -- FILE CURL, MBR CURLBUILD. (the trailing H is left out because the name is too long !!!) Patch attached, so that it can be tested. The patch

CVS configure --with-libssh2=/usr/local/libssh2

2009-10-27 Thread Yang Tse
Hi Daniel, Since this change http://curl.haxx.se/cvs.cgi/curl/configure.ac?r1=1.431r2=1.432 Dan's daily builds configured with --with-libssh2=/usr/local/libssh2 are failing at the configure stage due to the inability to locate the libssh2 library. In line #1747 of CVS version there's a reference

Re: Win32 - MSVC 7.15.1 devel SSL enabled Chris Drake

2009-10-30 Thread Yang Tse
Peter, please, don't top-post on this mailing list. 2009/10/29, Peter Klose wrote: [...] am trying to get the things you adviced to work. downloaded: http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm But of course this wont install because: SDK requires msxml3.dll SP2

Re: [PATCH, RFC] Make hostthre.c work on POSIX

2009-11-09 Thread Yang Tse
2009/11/8, Constantine Sapuntzakis wrote: Attached is a new full diff: thread-v5.diff.gz +/* to get defines for error-checking mutexes */ +#define _XOPEN_SOURCE 500 + +/* Needed for NI_MAXSERV - default normally but _XOPEN_SOURCE disables it*/ +#ifdef __APPLE__ +# define

Re: Errormessage Descriptor is not a socket

2009-11-10 Thread Yang Tse
2009/11/10, A. Craig West wrote: About the only thing I know of which could cause this error is if we are reusing a descriptor after closing the socket, and the descriptor has been reused for something else. Not sure the best way to trace this. Cygwin's strace might do it, if you can get the

Re: missing mutual exclusion of header files for gss

2009-11-11 Thread Yang Tse
2009/11/11, Marco Maggi wrote: Daniel Stenberg wrote: On Mon, 9 Nov 2009, Marco Maggi wrote: The code being as it is, it seems to me that just removing the block: But lib/krb5.c also includes gssapi/gssapi_krb5.h which urldata.h doesn't (when HAVE_GSSMIT is defined).

Re: missing mutual exclusion of header files for gss

2009-11-11 Thread Yang Tse
2009/11/11, Marco Maggi wrote: Can you verify if attached patch works for you? Yes, it works. This is now fixed in CVS. Thanks, -- -=[Yang]=- --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette:

Re: IP address support for no proxy feature

2009-11-11 Thread Yang Tse
2009/11/11, Salisbury, Mark wrote: I would like to submit a patch to allow IP addresses to be included in the list of no proxy hosts. At least CURLOPT_NOPROXY section in curl_easy_setopt.3 should be updated accordingly to reflect and document the new capability this would introduce. Cheers,

Re: [PATCH, RFC] Make hostthre.c work on POSIX

2009-11-12 Thread Yang Tse
threading-v6.diff.gz The same way as other functions check for specific function capabilities, the getaddrinfo function check now will also attempt to find out if it happens to be threadsafe. Other bits, pieces, and comments will follow as time permits and what is committed to CVS works as

Re: [PATCH, RFC] Make hostthre.c work on POSIX

2009-11-13 Thread Yang Tse
2009/11/13, Jamie Lokier wrote: Take for example systems that expose all four getaddrinfo, gethostbyname, getaddrinfo_r and gethostbyname_r, when this happens the non *_r functions might not be threadsafe while the *_r ones are granted to be so. There is no need for getaddrinfo_r,

readwrite_data() and read_rewind()

2009-12-11 Thread Yang Tse
Hi Daniel, et all While playing a bit with test case #1070 I've arrived at a point in which there is a call to read_rewind() which seems to be inappropriate, or at least a week read_rewind() implementation. In order to reproduce the issue, edit data/test1070 and duplicate in place line #18 (the

Re: readwrite_data() and read_rewind()

2009-12-11 Thread Yang Tse
Hi, It seems that the read_rewind() call in readwrite_data() at line #648 of transfer.c revision 1.442 was only intended to be used when actually doing pipelining. So I've committed this patch http://curl.haxx.se/cvs.cgi/curl/lib/transfer.c?r1=1.442r2=1.443 which works for me and I hope doesn't

Re: Adding QoS support to curl

2009-12-15 Thread Yang Tse
2009/12/15, Philip A. Prindeville wrote: [...] I'll concentrate on m4/curl-functions.m4 ... not sure if $curl_includes_netinet_ip needs to include everything in $curl_includes_sys_socket, or if it can assume $curl_includes_sys_socket as a prerequisite. Look at CURL_INCLUDES_ARPA_INET

Re: cURL 7.19.7 v. VMS

2009-12-16 Thread Yang Tse
2009/12/16, Steven M. Schweda wrote: Today's changes: Better handling of large-file support. http://antinode.info/ftp/curl/curl-7_19_7/include/curl/curlbuild.h Steven, If you want your changes, or part of them, to have a chance of being reviewed or considered for inclusion you

NSS enabled autobuild issues

2009-12-28 Thread Yang Tse
Hey, Just as a reminder to anyone wishing to work on these, there are a couple of NSS related issues on the daily builds... 1) Since the introduction of the last round of changes to the configure script relative to the detection of the NSS library, one of Dan Fandrich's NSS enabled Mandriva

Re: cURL 7.19.7 v. VMS

2009-12-30 Thread Yang Tse
2009/12/30, Craig A. Berry wrote: I recommend the revised patch (attached here). There are likely other things we can or should do, but this is a step forward. Regarding the README files in subdirs packages/vms/axp, packages/vms/ia64 and packages/vms/vax. Is the existence of these, one byte

Re: cURL 7.19.7 v. VMS

2009-12-30 Thread Yang Tse
Steven, Regarding vms_misc.c I have the feeling, probably wrong, that decc_init() its support definitions and code in vms_misc.c has the purpose of specifically tailoring the curl tool (curl.exe) and not the libcurl library. If the above assumption is right, wouldn't it be possible to refactor

Re: cURL 7.19.7 v. VMS

2009-12-31 Thread Yang Tse
2009/12/31, Steven M. Schweda wrote: Moving the stuff into src/os-specific.c seems to me simpler. Committed to CVS, with some format massaging, adorned with a couple of 'static' and removed stdio inclusion which is already done from above 'includes'. Please test if it still works as intended.

Re: [PATCH v3] OpenSSL vs. NSS clash on PKG_CONFIG_LIBDIR

2010-01-13 Thread Yang Tse
2010/1/13, Kamil Dudka wrote: let's go for the next iteration... Here we go, relative to ac-openssl-nss-v3.patch... +AC_DEFUN([CURL_EXPORT_PCDIR], [ +if test -n $1; then + PKG_CONFIG_LIBDIR=$1 + export PKG_CONFIG_LIBDIR +fi +]) [...] +

Re: [PATCH v4] OpenSSL vs. NSS clash on PKG_CONFIG_LIBDIR

2010-01-14 Thread Yang Tse
2010/1/14, Kamil Dudka wrote: Thanks for your help! Thank you, in first place, for taking care of the issue. Cheers, -- -=[Yang]=- --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette:

Re: hostthre.c on POSIX

2010-01-15 Thread Yang Tse
2010/1/15, Daniel Stenberg wrote: I'd like to get the threaded resolver into CVS soon so that we can ship it as a part of 7.20.0. It will not be a default option (on non-windows) I would neither make it the default for Windows builds, at least for 7.20.0 so it shouldn't be too terrible to

Renaming configure option --enable-hidden-symbols

2010-01-15 Thread Yang Tse
Naming of configure option --enable-hidden-symbols / --disable-hidden-symbols always makes my head spin, read the description a couple of times and finally makes me read the source code of the configure script in order to know what does each setting actually do. I would like to rename it so that

Re: claesjac: curl/tests/data test1109, NONE, 1.1 test1110, NONE, 1.1 test1111, NONE, 1.1

2010-01-21 Thread Yang Tse
2010/1/21, Julien Chaffraix wrote: Keeping it below 80 chars adds gold points. You will find a patch attached that breaks lines at 80 chars (I need to teach my text editor to do that in the future). I think this trivial golden point's patch (reattached here for convienience) was

Re: hostthre.c on POSIX

2010-01-21 Thread Yang Tse
2010/1/16, Yang Tse wrote: I'll commit it to CVS January 21; Hopefully with all configure issues addressed. Well I've been too busy with other things, so the above will not be possible. But I believe (hope) it will be possible before feature freeze. Let's start tearing the patch into pieces

Re: claesjac: curl/tests/data test1109, NONE, 1.1 test1110, NONE, 1.1 test1111, NONE, 1.1

2010-01-21 Thread Yang Tse
2010/1/22, Julien Chaffraix wrote: Attached is (hopefully) a patch to address the 65 chars limit and the period issue. Yang, could you validate that I have not misread you this time? Committed to CVS! By the way, were does this 65 chars limit comes from? Not to make an overall line

Fwd: hostthre.c on POSIX

2010-01-22 Thread Yang Tse
-- Forwarded message -- From: Yang Tse yangs...@gmail.com Date: 22/01/2010 09:07 Subject: Re: hostthre.c on POSIX To: Constantine Sapuntzakis csapu...@gmail.com 2010/1/21, Constantine Sapuntzakis wrote: Attached.addrinfo-copy-bye-bye.diff With some edits to comments

Re: hostthre.c on POSIX

2010-01-22 Thread Yang Tse
Costa, For whatever adjustment you estimate necessary for the hostthre.c patch, remember that the check for getaddrinfo thread safeness in configure script is already present in CVS and working since mid November. Preprocessor symbols HAVE_GETADDRINFO and HAVE_GETADDRINFO_THREADSAFE can directly

Re: Mac OS X build

2010-01-22 Thread Yang Tse
2010/1/22, Daniel Johnson wrote: Sorry, I used to do this but had some issues at one time and never started again. I just submitted 32 and 64 bit Mac OS X builds and will try keep it up. Doing automatic builds from a laptop is a little tricky. :) Thanks, Mac OS X is one of the build

Re: CURL_CHECK_LIB_ARES overwrites LDFLAGS

2010-01-26 Thread Yang Tse
2010/1/27, Daniel Johnson wrote: The new CURL_CHECK_LIB_ARES macro overwrites the contents of LDFLAGS. Yep, fixed now in CVS. Thanks, -- -=[Yang]=- --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette:

enhanced asynchronous DNS lookups

2010-01-27 Thread Yang Tse
Hi there, The following is what I've written in the CHANGES log for this release: Yang Tse (26 Jan 2010) - Constantine Sapuntzakis' and Joshua Kwan's work done in the last four months relative to the asynchronous DNS lookups, along with with some integration adjustments I have done

Re: Renaming configure option --enable-hidden-symbols

2010-01-27 Thread Yang Tse
2010/1/16, Daniel Stenberg wrote: On Sat, 16 Jan 2010, Yang Tse wrote: I would like to rename it so that we use... AC_HELP_STRING([--enable-symbol-hiding],[Enable hiding of library internal symbols]) Can't we just support both and deprecate the old one, and remove it after

printf-style format strings

2010-01-28 Thread Yang Tse
Hi friends, Obviously appropriate printf-style format string usage is important in order to avoid undesired effects that will vary depending on the data type involved and the format string being used. When the statement involved is actually a printf-family one some compilers will warn us about

Re: RTSP unit tests, and some bugfixes

2010-01-28 Thread Yang Tse
2010/1/28, Chris Conroy wrote: The attached patch includes test suite support for RTSP. (Tests 567-571). All of the RTSP tests are implemented in C on the client side since RTSP is not (and probably won't ever be able to be) part of the cURL command line. Test cases committed to CVS.,

Re: printf-style format strings

2010-01-28 Thread Yang Tse
2010/1/28, Jamie Lokier wrote: Look up GCC's __attribute__((__format__(__printf__(...))). It does exactly what you asked for, assuming the format string styles are the same as the platform's own printf. Great! It has certainly detected several mismatches which have been fixed now in CVS.

Re: RTSP unit tests, and some bugfixes

2010-01-28 Thread Yang Tse
2010/1/28, Chris Conroy wrote: Minor addendum to the excess read stuff. Both the pipelined and non-pipelined case need to check for excess 0 !k-ignorebody. Committed. -- -=[Yang]=- --- List admin:

Re: cURL 7.20.0 v. VMS

2010-02-10 Thread Yang Tse
2010/2/11, Steven M. Schweda wrote: Not many complaints remain (at least from me). Patches: Committed now to CVS. -- -=[Yang]=- --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette:

Re: test1112 fails on a slow machine

2010-02-24 Thread Yang Tse
2010/2/24, Kamil Dudka wrote: we were facing problems with the test1112. There is a hard-wired timeout inside, causing the test-case to fail on slower machines. It has been preventing Fedora ppc/pcc64 buildhosts from successful build of curl packages. So that I am disabling the

libcurl 7.20.0 on old Macintosh

2010-03-04 Thread Yang Tse
2010/3/4, Doug McNutt wrote: curl is really useful to me for communicating between old and new Macintosh machines. Hi Doug, Could you verify if you are capable of building curl and libcurl 7.20.0 on old Macintosh machines? There's no feedback for those old MAC's and current libcurl

Re: libcurl 7.20.0 on old Macintosh

2010-03-04 Thread Yang Tse
2010/3/4, Quanah Gibson-Mount wrote: What is the definition of an old mac? I have an intel 10.4 mac I build curl on, and I'll be building curl 7.20.0 on it soon enough. Is that old enough? For the context mentioned in this thread I was referring to Mac OS 9 and older, which actually are

Re: cURL curl-7.20.1-20100304 v. VMS

2010-03-04 Thread Yang Tse
2010/3/4, Steven M. Schweda wrote: While fooling around with a recent snapshot (curl-7.20.1-20100304) [...] Apparently, the manually made packages/vms/config-vms.h has fallen behind. (Like, I'd guess, (m)any other manually made config-XXX.h files.) [...] Ah, yes. I updated other

Re: Autobuilds: 'D' missing?

2010-03-10 Thread Yang Tse
Hi Tor, 2010/3/10, Tor Arntsen wrote: It looks like only a few of the builds are flagged with 'D' for Debug, even though most should be _with_ D afaik. For my own builds only Tru64 should be without D, but e.g. the AIX ones are also not flagged with D. A check of a log file looks

Re: Custom OpenSSL crypto engine not known to cURL

2010-03-10 Thread Yang Tse
I'm not sure everyone using an OpenSSL enabled libcurl, either static or dynamic version, would want to allow any user, or script, capable of setting OPENSSL_CONF environment variable to modify application behavior beyond developers or distributors control. In any case, we could allow any

Re: Custom OpenSSL crypto engine not known to cURL

2010-03-12 Thread Yang Tse
2010/3/11, Daniel Stenberg wrote: On Wed, 10 Mar 2010, Yang Tse wrote: I'm not sure everyone using an OpenSSL enabled libcurl, either static or dynamic version, would want to allow any user, or script, capable of setting OPENSSL_CONF environment variable to modify application behavior

Re: After the first twelve years

2010-03-19 Thread Yang Tse
2010/3/19, Daniel Stenberg wrote: CVS has served as well for many years, but time has come to finally get rid of it and enter the age of good tools. I'm using proper tools more and more at work and in other projects so the quirks of CVS has made me growingly uncomfortable over time.

Re: After the first twelve years

2010-03-19 Thread Yang Tse
2010/3/19, Daniel Stenberg wrote: [...] just getting the code and doing a diff is exactly as easy to do with git as with CVS. One checkout operation, edit and then diff. I agree with the above. [...] I think it is also a matter for us to help these more casual contributiors to do these

Re: the git repo

2010-03-22 Thread Yang Tse
2010/3/21, Daniel Stenberg wrote: I've created a git version of our source code repo, and I now push a 'master' branch to github - the main branch of development. See it here: http://github.com/bagder/curl/tree/master Quoting GitHub Terms of Service... GitHub reserves the right to update

Re: the git repo

2010-03-23 Thread Yang Tse
2010/3/22, Daniel Stenberg wrote: On Mon, 22 Mar 2010, Yang Tse wrote: For now we the European Union citizens are ACTA free. The same as USA ones should be. Well, first out the primary development is done by people in various countries so the development origins won't change. True

  1   2   3   4   5   >