OpenBSD CVS

CVS log for src/usr.bin/ssh/atomicio.c


[BACK] Up to [local] / src / usr.bin / ssh

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_3_8


Revision 1.13.2.1 / (download) - annotate - [select for diffs], Fri Oct 6 03:19:32 2006 UTC (17 years, 7 months ago) by brad
Branch: OPENBSD_3_8
Changes since 1.13: +61 -8 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

upgrade to OpenSSH 4.4

Revision 1.13 / (download) - annotate - [select for diffs], Tue May 24 17:32:43 2005 UTC (19 years ago) by avsm
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE
Branch point for: OPENBSD_3_8
Changes since 1.12: +9 -5 lines
Diff to previous 1.12 (colored)

Switch atomicio to use a simpler interface; it now returns a size_t
(containing number of bytes read/written), and indicates error by
returning 0.  EOF is signalled by errno==EPIPE.
Typical use now becomes:

if (atomicio(read, ..., len) != len)
        err(1,"read");

ok deraadt@, cloder@, djm@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.