X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=interactive.c;h=6a29bffae5a68e783d4a4d788239b24455c4cb1e;hb=70d64af7214568175d35e32d57c4dc51f62534e4;hp=32047755648e5d1072ff9312b7a66c0137dd05ad;hpb=ef1f130a1f9ac61a51da10ee56c5bd9ef1b52366;p=paraslash.git diff --git a/interactive.c b/interactive.c index 32047755..6a29bffa 100644 --- a/interactive.c +++ b/interactive.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 Andre Noll + * Copyright (C) 2011-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -292,7 +292,7 @@ static void i9e_post_select(struct sched *s, struct task *t) sz = btr_next_buffer(btrn, &buf); if (sz == 0) goto out; - ret = write_nonblock(ici->fds[1], buf, sz); + ret = xwrite(ici->fds[1], buf, sz); if (ret < 0) goto rm_btrn; btr_consume(btrn, ret); @@ -481,7 +481,7 @@ int i9e_select(int n, fd_set *readfds, fd_set *writefds, * This function is independent of readline and may be called before * i9e_open(). * - * return The number of possible completions. + * \return The number of possible completions. */ int i9e_extract_completions(const char *word, char **string_list, char ***result)