Commit Graph

159 Commits

Author SHA1 Message Date
wiz
a9bf595198 Put local change in sorted location. 2014-08-18 07:12:47 +00:00
christos
dace66f063 merge local changes 2014-08-18 06:57:25 +00:00
christos
69606e3f5c import latest gpl2 make 2014-08-18 06:46:46 +00:00
apb
a44c2d1c74 Move the arbitrary limit on number of files per commit into
#define MAXARGS.  The limit used to be 10000, but was changed to
1000000 earlier today.
2014-08-10 07:33:37 +00:00
tls
b9dfce9ac7 Relax arbitrary limit of 10,000 changed files per commit idiotically
introduced in CVS 1.11.17.
2014-08-10 07:09:51 +00:00
joerg
f933bdb0a3 Use sys/endian.h for bswapXX. 2014-02-20 02:09:58 +00:00
christos
bb76f57b5d USE_SSP is not defined in bsd.sys.mk 2014-01-14 20:22:35 +00:00
christos
0eb00b5091 USE_SSP is defined in bsd.own.mk 2014-01-14 19:58:19 +00:00
christos
45dd466bd9 Don't use SIG_register to register a SIG_IGN handler. It thinks it registers
a fucntion, but then it ends up calling (*1)(13) with all signals blocked
so cvs spins (with all signal blocked, getting SEGV). Use plain signal instead
To reproduce: cvs log file | less and quit.
2013-11-07 20:09:55 +00:00
christos
f2361eace1 Ignore SIGPIPE; this is silly, we are getting EOF from a client, then while
processing the error SIGPIPE comes because the client closed the connection,
and then we end up calling error() while processing the error which prints
silly messages on the console because it logs with LOG_EMERG.
2013-10-30 14:25:47 +00:00
joerg
975a152cfc If a library needs a symbol from another library, pull that library in
explicitly, even if the DT_NEEDED closure would normally already ensure
the presence.
2013-09-11 23:04:09 +00:00
christos
0854846045 When checking for membership in the system group file don't forget to check
the primary group of the user.
2013-05-09 15:25:44 +00:00
jakllsch
f8fc4eca22 Use LOG_ERR instead of LOG_EMERG, as LOG_EMERG causes syslogd to tell all
ttys.
2013-04-21 19:34:13 +00:00
christos
10f770acff delete the assert as we'll never get there anyway. 2013-03-27 19:23:28 +00:00
christos
6046c6b246 Don't abort with an assertion when a directory cannot be found in a
repository. This could happen when someone copies from one directory
to another CVS files or when things get corrupted. Provide an explanatory
error message instead.
2013-03-27 18:15:13 +00:00
christos
fda8fa0063 - add more debugging
- don't return memory we did not allocate, which the caller will then free!
2012-10-03 22:28:20 +00:00
joerg
2b3d1ee8a7 Update LLVM/Clang snapshot to r164464. This adopts the GCC options for
the SSP parameters and a not-yet-default rewrite of SROA.
2012-09-23 17:22:22 +00:00
christos
f9c0aa05f4 Don't fail if we don't have a current_parsed_root, makes:
'echo version | cvs server'
work again.
2012-09-13 17:45:07 +00:00
jdf
3b4194fe31 Capitalize sentences.
Patch provided by Bug Hunting.
2012-06-12 21:01:10 +00:00
cheusov
8e6f0d9ebd Add .include <bsd.sys.mk> for initializing USE_SSP.
This fixes build failure if USE_FORT=YES
   Approved by christos@
2012-05-02 13:35:03 +00:00
joerg
b757af438b Disable new -Wstring-plus-int warning where needed for now.
Adjust various places that add GCC-only options to check for the active
compiler first.
2012-04-04 10:59:44 +00:00
christos
69586eb894 From Garo Taft:
- Add a -w flag which will make the sanity script sleep for a second before
  and after checkouts, commits, and updates.
- Fix expected output to look for the right default action on empty log
  message. It's now "abort".
- Add new requests "Checkin-prog" and "Update-prog" to expectation values.
- Add new "access"âand "group" files to CVSROOT admin database expectation
  values.
- All tests pass except client-20, which hangs.
2012-03-22 20:49:53 +00:00
christos
0dc6655837 Entries to the file contents need to be NULL terminated. 2012-03-13 17:12:30 +00:00
christos
f6d789ff18 remove statement with no effect. 2012-03-09 15:24:34 +00:00
christos
6799d6e664 add acl.c 2012-03-09 00:14:16 +00:00
christos
75e57c5640 refresh autoconf infrastructure so that it has a fighting chance to work
with something not from the previous decade.
NB: I should eventually put back the OS specific stuff I've removed so
that we can have a complete distribution.
2012-03-08 20:54:18 +00:00
christos
00f7e7b88f prefer NULL over 0 2012-03-08 20:50:55 +00:00
christos
8182c8fa04 fix format string 2012-03-08 20:50:46 +00:00
christos
a3b3956a06 add cvs acl support 2012-03-08 20:50:26 +00:00
christos
286e174e7d Don't use %n in the writable data segment. Fortified glibc complains. When
the left hand does not communicate with the right hand.
2012-03-08 20:49:29 +00:00
christos
6c8d7be65d add acl support 2012-03-08 20:48:02 +00:00
christos
90cde42e32 - put back missing noexec check
- add cvs acl support
2012-03-08 20:47:45 +00:00
christos
9c245492c2 check symlink return 2012-03-08 20:47:17 +00:00
christos
99ced8ed96 add acl support 2012-03-08 20:46:59 +00:00
christos
e05cc624b8 in new format strings, formats are actually checked, so put tag commands in. 2012-03-08 20:46:35 +00:00
christos
09b7edcb8d check chdir return 2012-03-08 20:46:08 +00:00
christos
8fb428a11a - fix printf format string
- add acl support
2012-03-08 20:45:52 +00:00
christos
255af61e37 - add acl support
- document availability of tag commands.
2012-03-08 20:45:28 +00:00
christos
2d4ac8bd98 add acl prototype 2012-03-08 20:44:32 +00:00
christos
f029472951 add acl function prototype 2012-03-08 20:44:06 +00:00
christos
e5bacfa057 - better handling of binary files
- add acl support
2012-03-08 20:43:48 +00:00
christos
b33dfa11bd use the result of strtoul 2012-03-08 20:43:19 +00:00
christos
9e721b8438 restore lost fix: add nolock 2012-03-08 20:42:56 +00:00
christos
e2e2a4ed11 attempt to fix the unit tests 2012-03-08 20:42:21 +00:00
christos
e76f287eda - check return value of write(2)
- add acl support
2012-03-08 20:41:48 +00:00
christos
cde5019549 Add cvs acl support 2012-03-08 20:41:20 +00:00
christos
c520239488 - Put back %, which was removed from the new format strings
[with reversed meaning, so that we are still compatible with the new format]
- Fix format strings
2012-03-08 20:41:04 +00:00
christos
3046f895f0 add acl.c 2012-03-08 20:39:28 +00:00
christos
a24f5ebc91 fix malloc botches in the original code 2012-03-08 20:37:29 +00:00
christos
22d2af8da8 - restrict tag command to non-destructive operations for non-admins.
[deletion, moving is dissallowed]
- add history for tag commands
- cvs acl support
2012-03-08 20:34:35 +00:00