7 ===================================================================
8 RCS file: /cvs/curl/curl/config.h.in,v
9 retrieving revision 1.10
10 diff -u -r1.10 config.h.in
11 --- config.h.in 1999/10/17 11:18:34 1.10
12 +++ config.h.in 1999/11/24 15:15:21
14 /* Define if you have the <getopt.h> header file. */
17 +/* Define if you have the <net/if.h> header file. */
20 /* Define if you have the <netdb.h> header file. */
24 ===================================================================
25 RCS file: /cvs/curl/curl/configure.in,v
26 retrieving revision 1.35
27 diff -u -r1.35 configure.in
28 --- configure.in 1999/11/11 21:05:38 1.35
29 +++ configure.in 1999/11/24 15:15:21
32 dnl Checks for header files.
34 -AC_CHECK_HEADERS( unistd.h \
73 dnl Check for libz header
74 dnl AC_CHECK_HEADERS(zlib.h)
75 Index: include/curl/curl.h
76 ===================================================================
77 RCS file: /cvs/curl/curl/include/curl/curl.h,v
78 retrieving revision 1.5
80 --- curl.h 1999/11/23 08:22:42 1.5
81 +++ curl.h 1999/11/24 15:15:21
87 +#include <support/SupportDefs.h>
89 #ifndef __cplusplus /* (rabe) */
94 /**********************************************************************
96 Index: lib/Makefile.am
97 ===================================================================
98 RCS file: /cvs/curl/curl/lib/Makefile.am,v
99 retrieving revision 1.16
100 diff -u -r1.16 Makefile.am
101 --- Makefile.am 1999/10/22 13:27:36 1.16
102 +++ Makefile.am 1999/11/24 15:15:21
104 # Some flags needed when trying to cause warnings ;-)
105 # CFLAGS = -Wall -pedantic
107 -INCLUDES = -I../include
108 +INCLUDES = -I$(top_srcdir)/include
110 libcurl_a_SOURCES = \
111 arpa_telnet.h file.c getpass.h netrc.h timeval.c \
113 ===================================================================
114 RCS file: /cvs/curl/curl/lib/dict.c,v
115 retrieving revision 1.5
117 --- dict.c 1999/10/13 22:27:12 1.5
118 +++ dict.c 1999/11/24 15:15:22
123 +#ifdef HAVE_ARPA_INET_H
124 #include <arpa/inet.h>
126 +#ifdef HAVE_NET_IF_H
129 #include <sys/ioctl.h>
132 Index: lib/download.c
133 ===================================================================
134 RCS file: /cvs/curl/curl/lib/download.c,v
135 retrieving revision 1.30
136 diff -u -r1.30 download.c
137 --- download.c 1999/11/23 08:24:26 1.30
138 +++ download.c 1999/11/24 15:15:23
141 #include <curl/curl.h>
144 +#include <net/socket.h>
148 #if !defined( __GNUC__) || defined(__MINGW32__)
151 ===================================================================
152 RCS file: /cvs/curl/curl/lib/file.c,v
153 retrieving revision 1.6
155 --- file.c 1999/11/19 07:25:40 1.6
156 +++ file.c 1999/11/24 15:15:23
161 +#ifdef HAVE_ARPA_INET_H
162 #include <arpa/inet.h>
164 +#ifdef HAVE_NET_IF_H
167 #include <sys/ioctl.h>
171 ===================================================================
172 RCS file: /cvs/curl/curl/lib/ftp.c,v
173 retrieving revision 1.18
175 --- ftp.c 1999/11/23 08:25:06 1.18
176 +++ ftp.c 1999/11/24 15:15:26
178 #else /* some kind of unix */
179 #include <sys/socket.h>
180 #include <netinet/in.h>
181 +#ifdef HAVE_ARPA_INET_H
182 #include <arpa/inet.h>
184 #include <sys/utsname.h>
188 ===================================================================
189 RCS file: /cvs/curl/curl/lib/getdate.c,v
190 retrieving revision 1.5
191 diff -u -r1.5 getdate.c
192 --- getdate.c 1999/08/12 06:43:33 1.5
193 +++ getdate.c 1999/11/24 15:15:31
196 /* A Bison parser, made from getdate.y
197 - by GNU Bison version 1.25
198 + by GNU Bison version 1.27
201 #define YYBISON 1 /* Identify Bison output. */
205 -#define tDAY_UNIT 260
206 -#define tDAYZONE 261
208 -#define tHOUR_UNIT 263
210 -#define tMERIDIAN 265
211 -#define tMINUTE_UNIT 266
213 -#define tMONTH_UNIT 268
214 -#define tSEC_UNIT 269
215 -#define tSNUMBER 270
216 -#define tUNUMBER 271
217 -#define tYEAR_UNIT 272
221 +#define tDAY_UNIT 259
222 +#define tDAYZONE 260
224 +#define tHOUR_UNIT 262
226 +#define tMERIDIAN 264
227 +#define tMINUTE_UNIT 265
229 +#define tMONTH_UNIT 267
230 +#define tSEC_UNIT 268
231 +#define tSNUMBER 269
232 +#define tUNUMBER 270
233 +#define tYEAR_UNIT 271
251 #define YYFLAG -32768
254 -#define YYTRANSLATE(x) ((unsigned)(x) <= 273 ? yytranslate[x] : 32)
255 +#define YYTRANSLATE(x) ((unsigned)(x) <= 272 ? yytranslate[x] : 32)
257 static const char yytranslate[] = { 0,
258 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
260 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
261 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
262 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
263 - 2, 2, 2, 2, 2, 1, 2, 3, 4, 5,
264 - 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
266 + 2, 2, 2, 2, 2, 1, 3, 4, 5, 6,
267 + 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
275 /* -*-C-*- Note some compilers choke on comments on `#line' lines. */
276 -#line 3 "/usr/lib/bison.simple"
277 +#line 3 "/boot/apps/GeekGadgets/share/bison.simple"
278 +/* This file comes from bison-1.27. */
280 /* Skeleton output parser for bison,
281 Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
282 @@ -387,46 +390,66 @@
284 You should have received a copy of the GNU General Public License
285 along with this program; if not, write to the Free Software
286 - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
287 + Foundation, Inc., 59 Temple Place - Suite 330,
288 + Boston, MA 02111-1307, USA. */
290 /* As a special exception, when this file is copied by Bison into a
291 Bison output file, you may use that output file without restriction.
292 This special exception was added by the Free Software Foundation
293 in version 1.24 of Bison. */
296 +/* This is the parser code that is written into each bison parser
297 + when the %semantic_parser declaration is not specified in the grammar.
298 + It was written by Richard Stallman by simplifying the hairy parser
299 + used when %semantic_parser is specified. */
301 +#ifndef YYSTACK_USE_ALLOCA
303 +#define YYSTACK_USE_ALLOCA
304 +#else /* alloca not defined */
306 +#define YYSTACK_USE_ALLOCA
307 #define alloca __builtin_alloca
308 #else /* not GNU C. */
309 -#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi)
310 +#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) || (defined (__sun) && defined (__i386))
311 +#define YYSTACK_USE_ALLOCA
313 #else /* not sparc */
314 -#if defined (MSDOS) && !defined (__TURBOC__)
315 +/* We think this test detects Watcom and Microsoft C. */
316 +/* This used to test MSDOS, but that is a bad idea
317 + since that symbol is in the user namespace. */
318 +#if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)
319 +#if 0 /* No need for malloc.h, which pollutes the namespace;
320 + instead, just don't use alloca. */
323 #else /* not MSDOS, or __TURBOC__ */
326 +/* I don't know what this was needed for, but it pollutes the namespace.
327 + So I turned it off. rms, 2 May 1997. */
328 +/* #include <malloc.h> */
330 -#else /* not MSDOS, __TURBOC__, or _AIX */
334 -void *alloca (unsigned int);
336 -#else /* not __cplusplus */
338 -#endif /* not __cplusplus */
339 +#define YYSTACK_USE_ALLOCA
340 +#else /* not MSDOS, or __TURBOC__, or _AIX */
342 +#ifdef __hpux /* haible@ilog.fr says this works for HPUX 9.05 and up,
343 + and on HPUX 10. Eventually we can turn this on. */
344 +#define YYSTACK_USE_ALLOCA
345 +#define alloca __builtin_alloca
348 #endif /* not _AIX */
349 #endif /* not MSDOS, or __TURBOC__ */
350 -#endif /* not sparc. */
351 -#endif /* not GNU C. */
352 -#endif /* alloca not defined. */
353 +#endif /* not sparc */
354 +#endif /* not GNU C */
355 +#endif /* alloca not defined */
356 +#endif /* YYSTACK_USE_ALLOCA not defined */
358 -/* This is the parser code that is written into each bison parser
359 - when the %semantic_parser declaration is not specified in the grammar.
360 - It was written by Richard Stallman by simplifying the hairy parser
361 - used when %semantic_parser is specified. */
362 +#ifdef YYSTACK_USE_ALLOCA
363 +#define YYSTACK_ALLOC alloca
365 +#define YYSTACK_ALLOC malloc
368 /* Note: there must be only one dollar sign in this file.
369 It is replaced by the list of actions, each action
371 #define yyclearin (yychar = YYEMPTY)
374 -#define YYACCEPT return(0)
375 -#define YYABORT return(1)
376 +#define YYACCEPT goto yyacceptlab
377 +#define YYABORT goto yyabortlab
378 #define YYERROR goto yyerrlab1
379 /* Like YYERROR except do call yyerror.
380 This remains here temporarily to ease the
381 @@ -518,12 +541,12 @@
383 #define YYMAXDEPTH 10000
386 -/* Prevent warning if -Wstrict-prototypes. */
391 +/* Define __yy_memcpy. Note that the size argument
392 + should be passed with type unsigned int, because that is what the non-GCC
393 + definitions require. With GCC, __builtin_memcpy takes an arg
394 + of type size_t, but it can handle unsigned int. */
396 #if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
397 #define __yy_memcpy(TO,FROM,COUNT) __builtin_memcpy(TO,FROM,COUNT)
398 #else /* not GNU C or C++ */
400 __yy_memcpy (to, from, count)
404 + unsigned int count;
406 register char *f = from;
407 register char *t = to;
408 @@ -550,10 +573,10 @@
409 /* This is the most reliable way to avoid incompatibilities
410 in available built-in functions on various systems. */
412 -__yy_memcpy (char *to, char *from, int count)
413 +__yy_memcpy (char *to, char *from, unsigned int count)
415 - register char *f = from;
416 register char *t = to;
417 + register char *f = from;
418 register int i = count;
425 -#line 196 "/usr/lib/bison.simple"
426 +#line 216 "/boot/apps/GeekGadgets/share/bison.simple"
428 /* The user can define YYPARSE_PARAM as the name of an argument to be passed
429 into yyparse. The argument should have type void *.
431 #define YYPARSE_PARAM_DECL
432 #endif /* not YYPARSE_PARAM */
434 +/* Prevent warning if -Wstrict-prototypes. */
436 +#ifdef YYPARSE_PARAM
437 +int yyparse (void *);
444 yyparse(YYPARSE_PARAM_ARG)
449 int yystacksize = YYINITDEPTH;
450 + int yyfree_stacks = 0;
454 @@ -696,18 +729,32 @@
455 if (yystacksize >= YYMAXDEPTH)
457 yyerror("parser stack overflow");
469 if (yystacksize > YYMAXDEPTH)
470 yystacksize = YYMAXDEPTH;
471 - yyss = (short *) alloca (yystacksize * sizeof (*yyssp));
472 - __yy_memcpy ((char *)yyss, (char *)yyss1, size * sizeof (*yyssp));
473 - yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp));
474 - __yy_memcpy ((char *)yyvs, (char *)yyvs1, size * sizeof (*yyvsp));
475 +#ifndef YYSTACK_USE_ALLOCA
478 + yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp));
479 + __yy_memcpy ((char *)yyss, (char *)yyss1,
480 + size * (unsigned int) sizeof (*yyssp));
481 + yyvs = (YYSTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yyvsp));
482 + __yy_memcpy ((char *)yyvs, (char *)yyvs1,
483 + size * (unsigned int) sizeof (*yyvsp));
485 - yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp));
486 - __yy_memcpy ((char *)yyls, (char *)yyls1, size * sizeof (*yylsp));
487 + yyls = (YYLTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yylsp));
488 + __yy_memcpy ((char *)yyls, (char *)yyls1,
489 + size * (unsigned int) sizeof (*yylsp));
491 #endif /* no yyoverflow */
493 @@ -1230,7 +1277,7 @@
496 /* the action file gets copied in in place of this dollarsign */
497 -#line 498 "/usr/lib/bison.simple"
498 +#line 542 "/boot/apps/GeekGadgets/share/bison.simple"
502 @@ -1425,6 +1472,30 @@
508 + /* YYACCEPT comes here. */
520 + /* YYABORT comes here. */
531 #line 451 "getdate.y"
534 ===================================================================
535 RCS file: /cvs/curl/curl/lib/hostip.c,v
536 retrieving revision 1.8
537 diff -u -r1.8 hostip.c
538 --- hostip.c 1999/10/13 22:27:12 1.8
539 +++ hostip.c 1999/11/24 15:15:31
542 #include <netinet/in.h>
544 +#ifdef HAVE_ARPA_INET_H
545 #include <arpa/inet.h>
551 ===================================================================
552 RCS file: /cvs/curl/curl/lib/http.c,v
553 retrieving revision 1.17
554 diff -u -r1.17 http.c
555 --- http.c 1999/10/30 15:43:52 1.17
556 +++ http.c 1999/11/24 15:15:31
561 +#ifdef HAVE_ARPA_INET_H
562 #include <arpa/inet.h>
564 +#ifdef HAVE_NET_IF_H
567 #include <sys/ioctl.h>
571 ===================================================================
572 RCS file: /cvs/curl/curl/lib/if2ip.c,v
573 retrieving revision 1.7
574 diff -u -r1.7 if2ip.c
575 --- if2ip.c 1999/10/13 22:27:12 1.7
576 +++ if2ip.c 1999/11/24 15:15:31
582 +#if ! defined(WIN32) && ! defined(__BEOS__)
584 #include <sys/socket.h>
585 #include <netinet/in.h>
586 +#ifdef HAVE_ARPA_INET_H
587 #include <arpa/inet.h>
589 #include <netinet/in.h>
590 +#ifdef HAVE_NET_IF_H
593 #include <sys/ioctl.h>
597 ===================================================================
598 RCS file: /cvs/curl/curl/lib/if2ip.h,v
599 retrieving revision 1.5
600 diff -u -r1.5 if2ip.h
601 --- if2ip.h 1999/10/13 22:27:12 1.5
602 +++ if2ip.h 1999/11/24 15:15:31
604 ****************************************************************************/
605 #include <curl/setup.h>
608 +#if ! defined(WIN32) && ! defined(__BEOS__)
609 char *if2ip(char *interface);
611 #define if2ip(x) NULL
613 ===================================================================
614 RCS file: /cvs/curl/curl/lib/telnet.c,v
615 retrieving revision 1.9
616 diff -u -r1.9 telnet.c
617 --- telnet.c 1999/10/13 22:27:12 1.9
618 +++ telnet.c 1999/11/24 15:15:32
623 +#ifdef HAVE_ARPA_INET_H
624 #include <arpa/inet.h>
626 +#ifdef HAVE_NET_IF_H
629 #include <sys/ioctl.h>
633 ===================================================================
634 RCS file: /cvs/curl/curl/lib/upload.c,v
635 retrieving revision 1.9
636 diff -u -r1.9 upload.c
637 --- upload.c 1999/10/13 22:27:12 1.9
638 +++ upload.c 1999/11/24 15:15:32
642 #include <curl/curl.h>
645 +#include <net/socket.h>
649 #include "speedcheck.h"
652 ===================================================================
653 RCS file: /cvs/curl/curl/lib/url.c,v
654 retrieving revision 1.31
656 --- url.c 1999/11/19 07:07:10 1.31
657 +++ url.c 1999/11/24 15:15:36
662 +#ifdef HAVE_ARPA_INET_H
663 #include <arpa/inet.h>
665 +#ifdef HAVE_NET_IF_H
668 #include <sys/ioctl.h>
671 Index: src/Makefile.am
672 ===================================================================
673 RCS file: /cvs/curl/curl/src/Makefile.am,v
674 retrieving revision 1.13
675 diff -u -r1.13 Makefile.am
676 --- Makefile.am 1999/10/13 22:50:30 1.13
677 +++ Makefile.am 1999/11/24 15:15:36
679 # CFLAGS = -Wall -pedantic
680 CPPFLAGS = -DGLOBURL -DCURL_SEPARATORS
682 -INCLUDES = -I../include
683 +INCLUDES = -I$(top_srcdir)/include
688 AUTOMAKE_OPTIONS = foreign no-dependencies
690 # This generates the hugehelp.c file
691 -hugehelp.c: ../README.curl ../curl.1 mkhelp.pl
692 +hugehelp.c: $(top_srcdir)/README.curl $(top_srcdir)/curl.1 mkhelp.pl
694 - $(NROFF) -man ../curl.1 | $(PERL) mkhelp.pl ../README.curl > hugehelp.c
695 + $(NROFF) -man $(top_srcdir)/curl.1 | $(PERL) $(top_srcdir)/src/mkhelp.pl $(top_srcdir)/README.curl > hugehelp.c