Skip to content

Commit

Permalink
* stdio-common/printf_fp.c (___printf_fp): Give wide outout code
Browse files Browse the repository at this point in the history
	the same treatment as narow output code in last patch.
  • Loading branch information
Ulrich Drepper committed Jul 26, 2008
1 parent ff0bf75 commit 1311b16
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
2008-07-26 Ulrich Drepper <drepper@redhat.com>

* stdio-common/printf_fp.c (___printf_fp): Give wide outout code
the same treatment as narow output code in last patch.

* sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Namespace cleanup.

* elf/dl-load.c (local_strdup): Remove inline.
Expand Down
2 changes: 2 additions & 0 deletions nptl/sysdeps/powerpc/tcb-offsets.sym
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ MULTIPLE_THREADS_OFFSET thread_offsetof (header.multiple_threads)
PID thread_offsetof (pid)
TID thread_offsetof (tid)
POINTER_GUARD (offsetof (tcbhead_t, pointer_guard) - TLS_TCB_OFFSET - sizeof (tcbhead_t))
#ifndef __ASSUME_PRIVATE_FUTEX
PRIVATE_FUTEX_OFFSET thread_offsetof (header.private_futex)
#endif
4 changes: 4 additions & 0 deletions stdio-common/printf_fp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,10 @@ ___printf_fp (FILE *fp,
#ifdef COMPILE_WPRINTF
wstartp = _i18n_number_rewrite (wstartp, wcp,
wbuffer + wbuffer_to_alloc);
wcp = wbuffer + wbuffer_to_alloc;
assert ((uintptr_t) wbuffer <= (uintptr_t) wstartp);
assert ((uintptr_t) wstartp
< (uintptr_t) wbuffer + wbuffer_to_alloc);
#else
tmpptr = _i18n_number_rewrite (tmpptr, cp, buffer_end);
cp = buffer_end;
Expand Down

0 comments on commit 1311b16

Please sign in to comment.