annotate libiberty/vfprintf.c @ 144:8f4e72ab4e11
fix segmentation fault caused by nothing next cur_op to end
author |
Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
date |
Sun, 23 Dec 2018 21:23:56 +0900 |
parents |
84e7813d76e9 |
children |
1830386684a0 |
rev |
line source |
0
|
1 /* Provide a version vfprintf in terms of _doprnt.
|
|
2 By Kaveh Ghazi (ghazi@caip.rutgers.edu) 3/29/98
|
131
|
3 Copyright (C) 1998-2018 Free Software Foundation, Inc.
|
0
|
4 */
|
|
5
|
|
6 #include "ansidecl.h"
|
|
7 #include <stdarg.h>
|
|
8 #include <stdio.h>
|
|
9 #undef vfprintf
|
|
10
|
|
11 int
|
|
12 vfprintf (FILE *stream, const char *format, va_list ap)
|
|
13 {
|
|
14 return _doprnt (format, ap, stream);
|
|
15 }
|