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

Side by Side Diff: gdb/gnulib/import/memchr.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 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
« no previous file with comments | « gdb/gnulib/import/mbsrtowcs-state.c ('k') | gdb/gnulib/import/memchr.valgrind » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (C) 1991, 1993, 1996-1997, 1999-2000, 2003-2004, 2006, 2008-2011 1 /* Copyright (C) 1991, 1993, 1996-1997, 1999-2000, 2003-2004, 2006, 2008-2012
2 Free Software Foundation, Inc. 2 Free Software Foundation, Inc.
3 3
4 Based on strlen implementation by Torbjorn Granlund (tege@sics.se), 4 Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
5 with help from Dan Sahlin (dan@sics.se) and 5 with help from Dan Sahlin (dan@sics.se) and
6 commentary by Jim Blandy (jimb@ai.mit.edu); 6 commentary by Jim Blandy (jimb@ai.mit.edu);
7 adaptation to memchr suggested by Dick Karpinski (dick@cca.ucsf.edu), 7 adaptation to memchr suggested by Dick Karpinski (dick@cca.ucsf.edu),
8 and implemented by Roland McGrath (roland@ai.mit.edu). 8 and implemented by Roland McGrath (roland@ai.mit.edu).
9 9
10 NOTE: The canonical source of this file is maintained with the GNU C Library. 10 NOTE: The canonical source of this file is maintained with the GNU C Library.
11 Bugs can be reported to bug-glibc@prep.ai.mit.edu. 11 Bugs can be reported to bug-glibc@prep.ai.mit.edu.
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 { 163 {
164 if (*char_ptr == c) 164 if (*char_ptr == c)
165 return (void *) char_ptr; 165 return (void *) char_ptr;
166 } 166 }
167 167
168 return NULL; 168 return NULL;
169 } 169 }
170 #ifdef weak_alias 170 #ifdef weak_alias
171 weak_alias (__memchr, BP_SYM (memchr)) 171 weak_alias (__memchr, BP_SYM (memchr))
172 #endif 172 #endif
OLDNEW
« no previous file with comments | « gdb/gnulib/import/mbsrtowcs-state.c ('k') | gdb/gnulib/import/memchr.valgrind » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698