mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Various minor capitalization and typo fixes (#371)
This commit fixes various minor typos, punctuation errors and corrects the capitalization of many names.
This commit is contained in:
parent
cd562b16e2
commit
e54001d58b
204 changed files with 779 additions and 784 deletions
|
|
@ -107,8 +107,8 @@ typedef struct _emacs_
|
|||
int in_mult;
|
||||
char cr_ok;
|
||||
char CntrlO;
|
||||
char overflow; /* Screen overflow flag set */
|
||||
char scvalid; /* Screen is up to date */
|
||||
char overflow; /* Screen overflow flag set */
|
||||
char scvalid; /* Screen is up to date */
|
||||
char lastdraw; /* last update type */
|
||||
int offset; /* Screen offset */
|
||||
enum
|
||||
|
|
|
|||
|
|
@ -422,7 +422,7 @@ static History_t* hist_trim(History_t *hp, int n)
|
|||
unlink(hist_old->histname);
|
||||
if(access(hist_old->histname,F_OK) >= 0)
|
||||
{
|
||||
/* The unlink can fail on windows 95 */
|
||||
/* The unlink can fail on Windows 95 */
|
||||
int fd;
|
||||
char *last, *name=hist_old->histname;
|
||||
sh_close(sffileno(hist_old->histfp));
|
||||
|
|
@ -1138,7 +1138,7 @@ static int hist_exceptf(Sfio_t* fp, int type, void *data, Sfdisc_t *handle)
|
|||
{
|
||||
if(errno==ENOSPC || hp->histwfail++ >= 10)
|
||||
return(0);
|
||||
/* write failure could be NFS problem, try to re-open */
|
||||
/* write failure could be NFS problem, try to reopen */
|
||||
sh_close(oldfd=sffileno(fp));
|
||||
if((newfd=open(hp->histname,O_BINARY|O_APPEND|O_CREAT|O_RDWR|O_cloexec,S_IRUSR|S_IWUSR)) >= 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue