Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(881)

Side by Side Diff: third_party/libxml/trio.c

Issue 2951008: Update libxml to 2.7.7. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /************************************************************************* 1 /*************************************************************************
2 * 2 *
3 * $Id: trio.c 3600 2007-04-17 12:44:58Z veillard $ 3 * $Id$
4 * 4 *
5 * Copyright (C) 1998 Bjorn Reese and Daniel Stenberg. 5 * Copyright (C) 1998 Bjorn Reese and Daniel Stenberg.
6 * 6 *
7 * Permission to use, copy, modify, and distribute this software for any 7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above 8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies. 9 * copyright notice and this permission notice appear in all copies.
10 * 10 *
11 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED 11 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
12 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 12 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
13 * MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND 13 * MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 trio_callback_t callback; 726 trio_callback_t callback;
727 char *name; 727 char *name;
728 } trio_userdef_t; 728 } trio_userdef_t;
729 729
730 /************************************************************************* 730 /*************************************************************************
731 * 731 *
732 * Internal Variables 732 * Internal Variables
733 * 733 *
734 *************************************************************************/ 734 *************************************************************************/
735 735
736 static TRIO_CONST char rcsid[] = "@(#)$Id: trio.c 3600 2007-04-17 12:44:58Z veil lard $"; 736 static TRIO_CONST char rcsid[] = "@(#)$Id$";
737 737
738 /* 738 /*
739 * Need this to workaround a parser bug in HP C/iX compiler that fails 739 * Need this to workaround a parser bug in HP C/iX compiler that fails
740 * to resolves macro definitions that includes type 'long double', 740 * to resolves macro definitions that includes type 'long double',
741 * e.g: va_arg(arg_ptr, long double) 741 * e.g: va_arg(arg_ptr, long double)
742 */ 742 */
743 #if defined(TRIO_PLATFORM_MPEIX) 743 #if defined(TRIO_PLATFORM_MPEIX)
744 static TRIO_CONST trio_long_double_t ___dummy_long_double = 0; 744 static TRIO_CONST trio_long_double_t ___dummy_long_double = 0;
745 #endif 745 #endif
746 746
(...skipping 6113 matching lines...) Expand 10 before | Expand all | Expand 10 after
6860 case TRIO_ENOMEM: 6860 case TRIO_ENOMEM:
6861 return "Out of memory"; 6861 return "Out of memory";
6862 case TRIO_ERANGE: 6862 case TRIO_ERANGE:
6863 return "Invalid range"; 6863 return "Invalid range";
6864 case TRIO_ECUSTOM: 6864 case TRIO_ECUSTOM:
6865 return "Custom error"; 6865 return "Custom error";
6866 default: 6866 default:
6867 return "Unknown"; 6867 return "Unknown";
6868 } 6868 }
6869 } 6869 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698