Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
3024:b7f26b2f78bd | 3025:facf3239ba30 |
---|---|
98 while (1) | 98 while (1) |
99 { | 99 { |
100 /* If the buffer might be too short, make it bigger. */ | 100 /* If the buffer might be too short, make it bigger. */ |
101 if (op + 5 >= outend) | 101 if (op + 5 >= outend) |
102 { | 102 { |
103 char *new; | 103 char *new_; |
104 if (outlen == 0) | 104 if (outlen == 0) |
105 { | 105 { |
106 outlen = len + 40; | 106 outlen = len + 40; |
107 new = (char *) malloc (outlen); | 107 new_ = (char *) malloc (outlen); |
108 outend += 40; | 108 outend += 40; |
109 memcpy (new, outstring, op - outstring); | 109 memcpy (new_, outstring, op - outstring); |
110 } | 110 } |
111 else | 111 else |
112 { | 112 { |
113 outend += outlen; | 113 outend += outlen; |
114 outlen *= 2; | 114 outlen *= 2; |
115 new = (char *) realloc (outstring, outlen); | 115 new_ = (char *) realloc (outstring, outlen); |
116 } | 116 } |
117 op += new - outstring; | 117 op += new_ - outstring; |
118 outend += new - outstring; | 118 outend += new_ - outstring; |
119 outstring = new; | 119 outstring = new_; |
120 } | 120 } |
121 c = *p++; | 121 c = *p++; |
122 if (!c) | 122 if (!c) |
123 break; | 123 break; |
124 if (c == '%') | 124 if (c == '%') |