Mercurial > hg > xemacs-beta
view src/s/bsd386.h @ 4596:4fc32a3a086e
Fix a couple of bugs, #'query-coding-region, #'query-coding-string.
2009-02-04 Aidan Kehoe <kehoea@parhasard.net>
* coding.el (query-coding-region):
Revert this to being a defun, add a compiler macro without
needless binding.
(query-coding-string):
Correct a bug here, string indices are zero- not one-based.
* mule/general-late.el (unicode-query-coding-skip-chars-arg):
Correct the algorithm used to initialise this variable.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 04 Feb 2009 12:14:38 +0000 |
parents | e6e7cbdea419 |
children |
line wrap: on
line source
/* Synched up with: FSF 19.31. */ /* s/ file for bsd386 system. */ #include "bsd4-3.h" #ifndef __bsdi__ #define __bsdi__ 1 #endif #define DECLARE_GETPWUID_WITH_UID_T #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) #define A_TEXT_OFFSET(x) (sizeof (struct exec)) #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) #define LIBS_DEBUG #define LIBS_SYSTEM "-lutil -lcompat" /* This silences a few compilation warnings. */ #ifndef NOT_C_CODE #undef BSD #include <sys/param.h> /* To get BSD defined consistently. */ #endif