<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/src/callint.c, branch pending</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>Add 2012 to FSF copyright years for Emacs files</title>
<updated>2012-01-05T09:46:05+00:00</updated>
<author>
<name>Glenn Morris</name>
</author>
<published>2012-01-05T09:46:05+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=acaf905b1130aae80fa59d2c861ffd4c8eb75486'/>
<id>acaf905b1130aae80fa59d2c861ffd4c8eb75486</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>* callint.c (Fcall_interactively): Don't truncate prompt string.</title>
<updated>2011-12-25T09:06:42+00:00</updated>
<author>
<name>Andreas Schwab</name>
</author>
<published>2011-12-25T09:06:42+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ca22b785992df70ddc30ec471484e0204a384277'/>
<id>ca22b785992df70ddc30ec471484e0204a384277</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Spelling fixes.</title>
<updated>2011-11-25T07:14:48+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2011-11-25T07:14:48+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=e4920bc99dfcee02c3bb83b46a761b0893f76626'/>
<id>e4920bc99dfcee02c3bb83b46a761b0893f76626</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Small callint.c fix.</title>
<updated>2011-10-08T21:07:23+00:00</updated>
<author>
<name>Glenn Morris</name>
</author>
<published>2011-10-08T21:07:23+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c8fd3bd078119d43056137316ac16f2f2ccbd6fd'/>
<id>c8fd3bd078119d43056137316ac16f2f2ccbd6fd</id>
<content type='text'>
* src/callint.c (Fcall_interactively): Give a more explicit error for the
'c' case with a non-character input.

Fixes: debbugs:8479
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/callint.c (Fcall_interactively): Give a more explicit error for the
'c' case with a non-character input.

Fixes: debbugs:8479
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge from trunk.</title>
<updated>2011-07-09T07:06:04+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2011-07-09T07:06:04+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=7f5515125fbc9b46454e1f84b7e3052a0a5326f0'/>
<id>7f5515125fbc9b46454e1f84b7e3052a0a5326f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>* keyboard.h (num_input_events): Now uintmax_t.</title>
<updated>2011-07-07T17:55:38+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2011-07-07T17:55:38+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=3300e6fd43c4059de955cddc37ec4212dab2b085'/>
<id>3300e6fd43c4059de955cddc37ec4212dab2b085</id>
<content type='text'>
This is (very slightly) less likely to mess up due to wraparound.
All uses changed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is (very slightly) less likely to mess up due to wraparound.
All uses changed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clarify the `call-interactively' doc string, and add an example.</title>
<updated>2011-07-07T16:59:26+00:00</updated>
<author>
<name>Lars Magne Ingebrigtsen</name>
</author>
<published>2011-07-07T16:59:26+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=54e101844312f87d5283db5fd078d0756264caa2'/>
<id>54e101844312f87d5283db5fd078d0756264caa2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>* callint.c (Finteractive): Clarify the meaning of "@".</title>
<updated>2011-07-03T23:21:45+00:00</updated>
<author>
<name>Lars Magne Ingebrigtsen</name>
</author>
<published>2011-07-03T23:21:45+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=1e49bfab49317e46540f13c4091200b211c24ba6'/>
<id>1e49bfab49317e46540f13c4091200b211c24ba6</id>
<content type='text'>
Fixes: debbugs:8813
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: debbugs:8813
</pre>
</div>
</content>
</entry>
<entry>
<title>Move DEFSYM to lisp.h and use everywhere.</title>
<updated>2011-06-24T21:25:22+00:00</updated>
<author>
<name>Juanma Barranquero</name>
</author>
<published>2011-06-24T21:25:22+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=cd3520a41df21d80a9d894c58af2daba23c8dd24'/>
<id>cd3520a41df21d80a9d894c58af2daba23c8dd24</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Variadic C functions now count arguments with ptrdiff_t.</title>
<updated>2011-06-14T18:57:19+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2011-06-14T18:57:19+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f66c7cf8f794d6f7fd9ccb8794ffc519e4e89795'/>
<id>f66c7cf8f794d6f7fd9ccb8794ffc519e4e89795</id>
<content type='text'>
This partly undoes my 2011-03-30 change, which replaced int with size_t.
Back then I didn't know that the Emacs coding style prefers signed int.
Also, in the meantime I found a few more instances where arguments
were being counted with int, which may truncate counts on 64-bit
machines, or EMACS_INT, which may be unnecessarily wide.
* lisp.h (struct Lisp_Subr.function.aMANY)
(DEFUN_ARGS_MANY, internal_condition_case_n, safe_call):
Arg counts are now ptrdiff_t, not size_t.
All variadic functions and their callers changed accordingly.
(struct gcpro.nvars): Now size_t, not size_t.  All uses changed.
* bytecode.c (exec_byte_code): Check maxdepth for overflow,
to avoid potential buffer overrun.  Don't assume arg counts fit in 'int'.
* callint.c (Fcall_interactively): Check arg count for overflow,
to avoid potential buffer overrun.  Use signed char, not 'int',
for 'varies' array, so that we needn't bother to check its size
calculation for overflow.
* editfns.c (Fformat): Use ptrdiff_t, not EMACS_INT, to count args.
* eval.c (apply_lambda):
* fns.c (Fmapconcat): Use XFASTINT, not XINT, to get args length.
(struct textprop_rec.argnum): Now ptrdiff_t, not int.  All uses changed.
(mapconcat): Use ptrdiff_t, not int and EMACS_INT, to count args.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This partly undoes my 2011-03-30 change, which replaced int with size_t.
Back then I didn't know that the Emacs coding style prefers signed int.
Also, in the meantime I found a few more instances where arguments
were being counted with int, which may truncate counts on 64-bit
machines, or EMACS_INT, which may be unnecessarily wide.
* lisp.h (struct Lisp_Subr.function.aMANY)
(DEFUN_ARGS_MANY, internal_condition_case_n, safe_call):
Arg counts are now ptrdiff_t, not size_t.
All variadic functions and their callers changed accordingly.
(struct gcpro.nvars): Now size_t, not size_t.  All uses changed.
* bytecode.c (exec_byte_code): Check maxdepth for overflow,
to avoid potential buffer overrun.  Don't assume arg counts fit in 'int'.
* callint.c (Fcall_interactively): Check arg count for overflow,
to avoid potential buffer overrun.  Use signed char, not 'int',
for 'varies' array, so that we needn't bother to check its size
calculation for overflow.
* editfns.c (Fformat): Use ptrdiff_t, not EMACS_INT, to count args.
* eval.c (apply_lambda):
* fns.c (Fmapconcat): Use XFASTINT, not XINT, to get args length.
(struct textprop_rec.argnum): Now ptrdiff_t, not int.  All uses changed.
(mapconcat): Use ptrdiff_t, not int and EMACS_INT, to count args.
</pre>
</div>
</content>
</entry>
</feed>
