Shahbaz Youssefi wrote:

> On Monday, May 26, 2014 8:18:38 PM UTC+2, Bram Moolenaar wrote:
> > Marek Zaffy wrote:
> > 
> > Looks like the newer Posix signals are missing.  My man page says they
> > 
> > are for Posix 2001.  Let's add this then:
> > 
> >   " POSIX 2001
> > 
> >   syn keyword cConstant SIGBUS SIGPOLL SIGPROF SIGSYS SIGURG
> > 
> >   syn keyword cConstant SIGVTALRM SIGXCPU SIGXFSZ
> > 
> 
> Looking at /usr/include/asm-generic/{errno,errno-base}.h a lot more can be 
> found, which may not be POSIX specific, but do exist under Linux:
> 
> >From errno-base.h:
> 
> ENOTBLK ETXTBSY
> 
> >From errno.h
> 
> ELOOP EWOULDBLOCK ENOMSG EIDRM ECHRNG EL2NSYNC EL3HLT EL3RST ELNRNG
> EUNATCH ENOCSI EL2HLT EBADE EBADR EXFULL ENOANO EBADRQC EBADSLT EDEADLOCK
> EBFONT ENOSTR ENODATA ETIME ENOSR ENONET ENOPKG EREMOTE ENOLINK EADV
> ESRMNT ECOMM EPROTO EMULTIHOP EDOTDOT EOVERFLOW ENOTUNIQ EBADFD EREMCHG
> ELIBACC ELIBBAD ELIBSCN ELIBMAX ELIBEXEC ERESTART ESTRPIPE EUSERS ENOTSOCK
> EDESTADDRREQ EPROTOTYPE ENOPROTOOPT EPROTONOSUPPORT ESOCKTNOSUPPORT
> EOPNOTSUPP EPFNOSUPPORT EAFNOSUPPORT EADDRINUSE EADDRNOTAVAIL ENETDOWN
> ENETUNREACH ENETRESET ECONNABORTED ECONNRESET ENOBUFS EISCONN ENOTCONN
> ESHUTDOWN ETOOMANYREFS ECONNREFUSED EHOSTDOWN EHOSTUNREACH EALREADY ESTALE
> EUCLEAN ENOTNAM ENAVAIL EISNAM EREMOTEIO EDQUOT ENOMEDIUM EMEDIUMTYPE
> ENOKEY EKEYEXPIRED EKEYREVOKED EKEYREJECTED EOWNERDEAD ENOTRECOVERABLE
> ERFKILL EHWPOISON
> 
> On Ubuntu 14.04 where glibc is version 2.19 and kernel is version 3.13

I would prefer to only support the ones that are documented.  Not what
happens to be laying around in an include file.

-- 
hundred-and-one symptoms of being an internet addict:
201. When somebody asks you where you are, you tell them in which chat room.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui