comparison src/doprnt.c @ 187:b405438285a2 r20-3b20

Import from CVS: tag r20-3b20
author cvs
date Mon, 13 Aug 2007 09:56:28 +0200
parents 3d6bfa290dbd
children 850242ba4a81
comparison
equal deleted inserted replaced
186:24ac94803b48 187:b405438285a2
453 printf implementations do. Would it be better (and safe) 453 printf implementations do. Would it be better (and safe)
454 to signal an error instead? Or should we just use the 454 to signal an error instead? Or should we just use the
455 empty string? -dkindred@cs.cmu.edu 8/1997 455 empty string? -dkindred@cs.cmu.edu 8/1997
456 */ 456 */
457 if (!string) 457 if (!string)
458 string = "(null)"; 458 string = (Bufbyte *) "(null)";
459 string_len = strlen ((char *) string); 459 string_len = strlen ((char *) string);
460 } 460 }
461 else 461 else
462 { 462 {
463 Lisp_Object obj = largs[spec->argnum - 1]; 463 Lisp_Object obj = largs[spec->argnum - 1];