View | Details | Raw Unified | Return to bug 794
Collapse All | Expand All

(-)dl-misc.c (-1 / +9 lines)
Lines 211-217 _dl_debug_vdprintf (int fd, int tag_p, c Link Here
211
	    case 's':
211
	    case 's':
212
	      /* Get the string argument.  */
212
	      /* Get the string argument.  */
213
	      iov[niov].iov_base = va_arg (arg, char *);
213
	      iov[niov].iov_base = va_arg (arg, char *);
214
	      iov[niov].iov_len = strlen (iov[niov].iov_base);
214
	      if (iov[niov].iov_base)
215
		{
216
		  iov[niov].iov_len = strlen (iov[niov].iov_base);
217
		}
218
	      else
219
		{
220
		  iov[niov].iov_base = "(null)";
221
		  iov[niov].iov_len = 6;
222
		}
215
	      if (prec != -1)
223
	      if (prec != -1)
216
		iov[niov].iov_len = MIN ((size_t) prec, iov[niov].iov_len);
224
		iov[niov].iov_len = MIN ((size_t) prec, iov[niov].iov_len);
217
	      ++niov;
225
	      ++niov;

Return to bug 794