Mercurial > hg > xemacs-beta
diff src/tparam.c @ 3025:facf3239ba30
[xemacs-hg @ 2005-10-25 11:16:19 by ben]
rename new->new_, convert 'foo to `foo'
EmacsFrame.c, ExternalClient.c, ExternalShell.c, chartab.c, cmdloop.c, compiler.h, console.c, database.c, device-msw.c, device-x.c, device.c, doc.c, dragdrop.c, eval.c, event-msw.c, event-stream.c, events.c, extents.c, file-coding.c, fns.c, frame-tty.c, frame.c, gpmevent.c, gutter.c, hash.c, imgproc.c, indent.c, keymap.c, lisp-union.h, macros.c, malloc.c, marker.c, menubar-x.c, menubar.c, mule-charset.c, number.c, process.c, profile.h, ralloc.c, redisplay.c, select-common.h, select.c, syntax.c, sysfile.h, sysproc.h, systime.h, syswindows.h, toolbar.c, tooltalk.c, tparam.c, unexaix.c, unexalpha.c, unexconvex.c, unexec.c, unexhp9k800.c, unexmips.c, unicode.c, window.c: new -> new_.
'foo -> `foo'.
lwlib-internal.h: redo assert macros to follow lisp.h and not trigger warnings.
lwlib.c, xlwtabs.c: new -> new_.
author | ben |
---|---|
date | Tue, 25 Oct 2005 11:16:49 +0000 |
parents | a8d8f419b459 |
children | 308d34e9f07d |
line wrap: on
line diff
--- a/src/tparam.c Tue Oct 25 08:32:50 2005 +0000 +++ b/src/tparam.c Tue Oct 25 11:16:49 2005 +0000 @@ -100,23 +100,23 @@ /* If the buffer might be too short, make it bigger. */ if (op + 5 >= outend) { - char *new; + char *new_; if (outlen == 0) { outlen = len + 40; - new = (char *) malloc (outlen); + new_ = (char *) malloc (outlen); outend += 40; - memcpy (new, outstring, op - outstring); + memcpy (new_, outstring, op - outstring); } else { outend += outlen; outlen *= 2; - new = (char *) realloc (outstring, outlen); + new_ = (char *) realloc (outstring, outlen); } - op += new - outstring; - outend += new - outstring; - outstring = new; + op += new_ - outstring; + outend += new_ - outstring; + outstring = new_; } c = *p++; if (!c)