Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/gnu/usr.bin/groff/troff Approved by thorpej:



details:   https://anonhg.NetBSD.org/src/rev/fe043119a785
branches:  netbsd-1-5
changeset: 488748:fe043119a785
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Wed Jul 26 23:20:14 2000 +0000

description:
Approved by thorpej:
Make the ligature_node operators compile with GCC 2.95.2.

gnusrc/gnu/usr.bin/groff/troff/node.cc                  1.6 -> 1.7

diffstat:

 gnu/usr.bin/groff/troff/node.cc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 6b4cc84b5fa1 -r fe043119a785 gnu/usr.bin/groff/troff/node.cc
--- a/gnu/usr.bin/groff/troff/node.cc   Wed Jul 26 23:19:00 2000 +0000
+++ b/gnu/usr.bin/groff/troff/node.cc   Wed Jul 26 23:20:14 2000 +0000
@@ -1481,7 +1481,7 @@
 
 void *ligature_node::operator new(size_t n)
 {
-  return new char[n];
+  return ::operator new(n);
 }
 
 void glyph_node::operator delete(void *p)
@@ -1494,7 +1494,7 @@
 
 void ligature_node::operator delete(void *p)
 {
-  delete p;
+  ::operator delete(p);
 }
 
 glyph_node::glyph_node(charinfo *c, tfont *t, node *x)



Home | Main Index | Thread Index | Old Index