+2000-02-04 Dave Love <fx@gnu.org>
+
+ * fileio.c: Remove some unused vars.
+ (_GNU_SOURCE): Define (for euidaccess).
+
+ * lread.c (_XOPEN_SOURCE): Declare (for ftello).
+
+ * minibuf.c (read_minibuf_noninteractive): Remove undeclared
+ gcpro1, gcpro2.
+ (read_minibuf): Deal with allow_props correctly.
+
2000-02-03 Eli Zaretskii <eliz@is.elta.co.il>
* s/msdos.h (SYSTEM_PURESIZE_EXTRA): Enlarge to 60000.
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#define _GNU_SOURCE /* for euidaccess */
+
#include <config.h>
#if defined (USG5) || defined (BSD_SYSTEM) || defined (LINUX)
We assume that the 1K-byte and 3K-byte for heading
and tailing respectively are sufficient for this
purpose. */
- int how_many, nread;
+ int nread;
if (st.st_size <= (1024 * 4))
nread = emacs_read (fd, read_buf, 1024 * 4);
XSTRING (orig_filename)->data, emacs_strerror (errno));
else if (nread > 0)
{
- int count = specpdl_ptr - specpdl;
struct buffer *prev = current_buffer;
record_unwind_protect (Fset_buffer, Fcurrent_buffer ());
}
else if (XINT (start) != XINT (end))
{
- register int end1 = CHAR_TO_BYTE (XINT (end));
-
tem = CHAR_TO_BYTE (XINT (start));
if (XINT (start) < GPT)
register char *addr;
register int nbytes;
char buf[WRITE_BUF_SIZE];
- int composing = coding->composing;
int return_val = 0;
if (start >= end)
Lisp_Object
auto_save_1 ()
{
- unsigned char *fn;
struct stat st;
/* Get visited file's mode to become the auto save file's mode. */
FILE *stream;
Lisp_Object lispstream;
int count = specpdl_ptr - specpdl;
- int *ptr;
int orig_minibuffer_auto_raise = minibuffer_auto_raise;
int message_p = push_message ();
defsubr (&Sunix_sync);
#endif
}
+(_GNU_SOURCE):