OpenBSD CVS

CVS log for src/usr.bin/cvs/Attic/sock.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.16, Wed Apr 6 22:08:53 2005 UTC (19 years, 1 month ago) by joris
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +1 -1 lines
FILE REMOVED



remove dead and unused code

ok jfb@

Revision 1.15 / (download) - annotate - [select for diffs], Thu Mar 10 22:40:04 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

oops, right mask

Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 10 22:37:00 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

use right permissions

Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 10 22:15:03 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +6 -1 lines
Diff to previous 1.12 (colored)

wrap AF_UNIX bind() call in umask() handling (as well as post-chmod)

Revision 1.12 / (download) - annotate - [select for diffs], Tue Feb 22 23:17:42 2005 UTC (19 years, 2 months ago) by jfb
Branch: MAIN
Changes since 1.11: +1 -4 lines
Diff to previous 1.11 (colored)

unused variable

Revision 1.11 / (download) - annotate - [select for diffs], Tue Feb 15 20:14:49 2005 UTC (19 years, 3 months ago) by jfb
Branch: MAIN
Changes since 1.10: +7 -3 lines
Diff to previous 1.10 (colored)

set the close-on-exec flag on the parent's local socket descriptor

Revision 1.10 / (download) - annotate - [select for diffs], Tue Feb 15 15:17:34 2005 UTC (19 years, 3 months ago) by jfb
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

avoid crashing when setting a variable with cvsd_set() that was not
initialized with a dynamically-allocated string.

spotted by mpech@

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jan 27 20:45:18 2005 UTC (19 years, 3 months ago) by jfb
Branch: MAIN
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

get rid of event.h, it won't be used

Revision 1.8 / (download) - annotate - [select for diffs], Tue Dec 7 17:10:56 2004 UTC (19 years, 5 months ago) by tedu
Branch: MAIN
Changes since 1.7: +10 -17 lines
Diff to previous 1.7 (colored)

less whitespace, more pretty.  ok jfb

Revision 1.7 / (download) - annotate - [select for diffs], Tue Nov 9 20:43:22 2004 UTC (19 years, 6 months ago) by krapht
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

cvsd_sock_accept() must return the descriptor, not 0

Revision 1.6 / (download) - annotate - [select for diffs], Fri Sep 24 15:51:07 2004 UTC (19 years, 7 months ago) by jfb
Branch: MAIN
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored)

Before attempting to unlink() the local socket, set the effective
UID to 0 so we have the appropriate permissions to perform the
operation

Revision 1.5 / (download) - annotate - [select for diffs], Fri Sep 24 14:28:07 2004 UTC (19 years, 7 months ago) by jfb
Branch: MAIN
Changes since 1.4: +9 -1 lines
Diff to previous 1.4 (colored)

When creating the local socket, set the group to the server's group ID

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 2 17:34:10 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.3: +5 -1 lines
Diff to previous 1.3 (colored)

* wrap more code between program-dependent ifdef's and fix a bug while
  we're at it

Revision 1.3 / (download) - annotate - [select for diffs], Mon Aug 2 17:30:10 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.2: +6 -4 lines
Diff to previous 1.2 (colored)

* add the appropriate preprocessor wrappers to compile only the code
  required for each program
* make cvs_sock_connect() take a full path to the socket

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jul 25 03:31:24 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.1: +21 -59 lines
Diff to previous 1.1 (colored)

* when calling cvsd_sock_open(), close the socket if it is already
  opened, before reopening it
* remove the cvsd_sock_loop() call, it was a bad idea

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Jul 13 22:02:40 2004 UTC (19 years, 10 months ago) by jfb
Branch: OpenCVS
CVS Tags: OpenCVS_0_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

* initial import from the cvs-tools module

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 13 22:02:40 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN

Initial revision

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.