aboutsummaryrefslogtreecommitdiff
path: root/compat
Commit message (Collapse)AuthorAge
* -sys/queue.h in proc.c, and nuke the unnecessary C++ header guards stuff andNicholas Marriott2015-11-24
| | | | | sys/cdefs.h in vis.h (it causes problems on some platforms). Reported by someone on GitHub, issue 212.
* Move tmux.h below system includes.Nicholas Marriott2015-11-21
|
* Add reallocarray to compat.Nicholas Marriott2015-11-18
|
* Fix available_fds when there is no AF_INET, reported by Mathieu Arnold.Nicholas Marriott2015-10-15
|
* Sync up vis.* for stravis().Nicholas Marriott2015-09-01
|
* Fix a warning, from Kosta Zertsekel.Nicholas Marriott2015-07-24
|
* Implement osdep_get_name and osdep_get_cwd for AIX, from J Raynor.Nicholas Marriott2015-07-15
|
* Update imsg*.[ch] from OpenBSD, including bzero->memset.Nicholas Marriott2015-07-12
|
* Don't leak dotfd if fchdir fails. From ettl dot martin78 at gmail dot com.Nicholas Marriott2015-06-10
|
* queue.h should come from compat.h.Nicholas Marriott2015-05-07
|
* Make place const to avoid a warning, from Ben Boeckel.Nicholas Marriott2015-03-31
|
* Add missing va_end, from Thomas Jarosch.Nicholas Marriott2014-12-15
|
* No need for $Id$ now.Nicholas Marriott2014-11-08
|
* Don't close random file descriptor on error, from J Raynor.Nicholas Marriott2014-09-25
|
* I broke last change, fix so it works, from J Raynor.Nicholas Marriott2014-09-23
|
* cdefs.h -> types.h.Nicholas Marriott2014-09-23
|
* Synchronize forkpty master and child to avoid hang on AIX with fast exitingNicholas Marriott2014-09-22
| | | | child and output left in the queue, from J Raynor.
* Add compat/fparseln.cThomas Adam2014-08-09
|
* Sync libutil from OpenBSD (imsg)Thomas Adam2014-08-09
| | | | | Changes in the imsg API need to be reflected here as tmux wasn't creating any clients because of it.
* Add openat() to compat.Nicholas Marriott2013-10-10
|
* +strings.h in compat/.Nicholas Marriott2013-06-25
|
* Add compat for cfmakeraw, from Dagobert Michelsen.Nicholas Marriott2013-04-22
|
* Return error for --foo when using compat/getopt.c.Nicholas Marriott2013-02-12
|
* Sync with OpenBSD. Mostly because of the added _SAFE macros which isTiago Cunha2012-07-12
| | | | | needed by an upcoming change.
* Remove remaining xfree calls from the portable version.Tiago Cunha2012-07-11
|
* Sync OpenBSD tree.h due to patchset 1104.Tiago Cunha2012-05-03
| | | | | Prompted by ore on #tmux.
* ANSIfy function prototypes, from Tim Ruehsen.Nicholas Marriott2012-03-02
|
* Can't use the same va_list twice, from Emanuele Giaquinta.Nicholas Marriott2011-07-25
|
* Compatibility for b64_ntop, missing from some alternative libc.Nicholas Marriott2011-07-22
|
* Expand the Id keyword. Tiago Cunha2011-07-09
|
* Add missing $Id$.Tiago Cunha2011-07-09
|
* Use the right asprintf since we don't support truly broken platforms right now.Nicholas Marriott2011-03-04
|
* Support for HP-UX.Nicholas Marriott2011-01-21
|
* Only have one asprintf implementation, that's likely to always work.Nicholas Marriott2011-01-21
|
* Trim spaces.Nicholas Marriott2011-01-10
|
* Missing HAVE_STDINT_H.Nicholas Marriott2011-01-07
|
* Whoops, get the logic the right way round.Nicholas Marriott2010-11-13
|
* malloc(0) may return NULL, so only assume that is an error if allocatingNicholas Marriott2010-11-11
| | | | | more than zero.
* Compat for closefrom().Nicholas Marriott2010-10-27
|
* Remove redundant preprocessor check (it's already taken care of by tmux.h).Tiago Cunha2010-10-24
|
* Sync OpenBSD patchset 706:Tiago Cunha2010-06-06
| | | | | | Rename some imsg bits to make namespace collisions less likely buf to ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE.
* Must allocate for putenv.Nicholas Marriott2010-06-05
|
* Solaris 9 doesn't have setenv and unsetenv so add compat versions, basedNicholas Marriott2010-05-19
| | | | | on code from Dagobert Michelsen.
* Sync OpenBSD patchset 680:Tiago Cunha2010-04-12
| | | | | | | | | | | | Remove XXX comment and just close received fd if calloc() fails. If this happens the imsg may no longer be usable as there may be queued messages, but this is a) already the case with the code now, and b) would be the case if recvmsg() fails anyway, so we can document that -1 from imsg_read() invalidates the struct imsgbuf. discussed with and ok eric
* Adjust recent libevent changes to the portable version.Tiago Cunha2009-11-08
|
* Fill in the tty name in SunOS's forkpty compat, and use it in osdep_getname.Nicholas Marriott2009-10-15
| | | | | | | From Todd Carson. Tweaked by me to nuke (void) casts. Say no to lint appeasement! ;-)
* Don't try to use tio if it is NULL.Nicholas Marriott2009-09-20
|
* Sync from OpenBSD:Nicholas Marriott2009-09-16
| | | | | | | | | | | == Rather than constructing an entire termios struct from ttydefaults.h, just let forkpty do it and then alter the bits that should be changed after fork. A little neater and more portable. == This should fix problems caused by glibc's broken ttydefaults.h file.
* Sync OpenBSD patchset 329:Tiago Cunha2009-09-15
| | | | | | | | Enclose repeated buffer draining code in a new msgbuf_drain() function, which is additionally exported for use by others. From nicm@, who reminded me that tmux is now using buffer.c, too.
* Add $Id$, nuke queue.h.Nicholas Marriott2009-08-20
|