1
1
Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Jakub Jelen
7bd850ab36 Remove bogus semicolons
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2022-06-09 09:08:02 +02:00
Anderson Toshiyuki Sasaki
b0518552f1 examples: Tolerate incomplete writes in exec example
Previously, the exec example would fail if it could not write the whole
read buffer to stdout.  With this changes, the exec example will be able
to write parts of the buffer until the whole buffer is written.

This makes the exec example to run when the stdout buffer is small.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2020-06-22 13:58:52 +02:00
Andreas Schneider
644145a88c examples: Fix some memory leaks. 2011-04-15 19:05:53 +02:00
Andreas Schneider
3e7d4534ce examples: Call correct functions on exit. 2011-04-14 14:16:58 +02:00
Andreas Schneider
5144f390ca examples: Fixed build warning. 2011-02-08 19:36:44 +01:00
Andreas Schneider
ac785e0aa3 examples: The exec example should be like tutorial one. 2011-02-08 10:54:25 +01:00
Aris Adamantiadis
b23b3f1d99 Sanitize libssh namespace + legacy wrappers 2010-05-14 00:51:08 +02:00
Andreas Schneider
d07aef725e Fixed build warnings in the exec example. 2010-03-29 22:38:21 +02:00
Aris Adamantiadis
1b15896e8b Fix infinite loop in exec example 2010-01-03 23:15:55 +01:00
Aris Adamantiadis
bfdc48e320 Simplification of the "exec" sample 2009-12-24 10:46:46 +01:00
Andreas Schneider
d0647afae5 Added an example for exec. 2009-12-22 18:34:23 +01:00