comparison src/toplev.cc @ 3538:0ff7323dab8b

[project @ 2000-02-02 12:36:25 by jwe]
author jwe
date Wed, 02 Feb 2000 12:36:37 +0000
parents 97cf542676e1
children 4b1a93f83264
comparison
equal deleted inserted replaced
3537:0985659e78d3 3538:0ff7323dab8b
354 if (WIFEXITED (cmd_status)) 354 if (WIFEXITED (cmd_status))
355 cmd_status = WEXITSTATUS (cmd_status); 355 cmd_status = WEXITSTATUS (cmd_status);
356 else 356 else
357 cmd_status = 127; 357 cmd_status = 127;
358 358
359 output_buf << ends; 359 output_buf << std::ends;
360 360
361 char *msg = output_buf.str (); 361 char *msg = output_buf.str ();
362 362
363 retval(1) = (double) cmd_status; 363 retval(1) = (double) cmd_status;
364 retval(0) = msg; 364 retval(0) = msg;
688 (*__new_handler) (); 688 (*__new_handler) ();
689 p = malloc (sz); 689 p = malloc (sz);
690 } 690 }
691 691
692 if (debug_new_delete) 692 if (debug_new_delete)
693 std::cout << "__builtin_new: " << p << endl; 693 std::cout << "__builtin_new: " << p << std::endl;
694 694
695 return p; 695 return p;
696 } 696 }
697 697
698 void 698 void
699 __builtin_delete (void *ptr) 699 __builtin_delete (void *ptr)
700 { 700 {
701 if (debug_new_delete) 701 if (debug_new_delete)
702 std::cout << "__builtin_delete: " << ptr << endl; 702 std::cout << "__builtin_delete: " << ptr << std::endl;
703 703
704 if (ptr) 704 if (ptr)
705 free (ptr); 705 free (ptr);
706 } 706 }
707 707