Commit Graph

277 Commits

Author SHA1 Message Date
christos
37255f022c add sqlite3 2017-01-28 23:59:15 +00:00
abhinav
8dbf57f731 Fix a spelling: s/regestring/registering 2017-01-20 16:54:11 +00:00
christos
717c531541 Don't re-define MAP_ANONYMOUS 2017-01-12 23:15:49 +00:00
christos
dc7a20515e only preserve timestamps on specific revisions if we've been asked to.
found by martin@
2017-01-04 16:11:20 +00:00
christos
e124df0e11 document -t for update 2016-12-21 21:26:28 +00:00
christos
5f89f912be fix the usage message 2016-12-19 17:31:47 +00:00
christos
992b578414 remove obsolete comment, flip polarity. 2016-12-19 04:54:49 +00:00
christos
66ae322aee fix reversed logic 2016-12-19 04:44:35 +00:00
christos
2cfd74dfe4 add -t to preserve timestamps. 2016-12-19 04:37:13 +00:00
christos
ac78ac450b Always pass the modification time of the file to the client and let it decide
if it is going to use it to set the time. This makes update work like checkout
with respect to time setting. The time of the updated file is set to the
repository modification time of the file as opposed to the the time that the
file was checked out.
2016-12-19 03:15:31 +00:00
kamil
ba06ccfe95 Add initial documentation (man-pages) for libpthread_dbg
Document libpthread_dbg and basic function calls: td_open() and td_close()

Sponsored by <The NetBSD Foundation>
2016-11-21 20:43:25 +00:00
joerg
388eae8172 Revert half of the last commit. Turns out that in some contexts,
BEGIN_QUOTE/END_QUOTE is used intentionally as non-char marker.
2016-10-08 23:40:52 +00:00
joerg
654832016f BEGIN_QUOTE and END_QUOTE have values outside the range of a signed char
for non-EBCDIC host. Explicitly cast them to char to avoid the implicit
cast.
2016-10-08 20:44:59 +00:00
joerg
01415aaf3e Explicitly cast Meta(c) to char as the intermediate value can be too
large for a signed character.
2016-10-08 20:34:59 +00:00
christos
c610b4a73b Hack for powerpc64 2016-10-04 14:33:16 +00:00
abhinav
f7b948b9bc Fix typo: processess -> processes 2016-06-09 09:01:21 +00:00
abhinav
179ece970c Fix .Xr references to troff(1), ok from wiz@ 2016-06-06 16:09:47 +00:00
christos
e9a9a47d86 Make sure that all messages end in '\n' in make_message_rcsvalid() and
compensate for it in add_rcs_file().
2016-05-30 17:49:51 +00:00
christos
5a6c14c844 Add RCSID's 2016-05-17 14:00:09 +00:00
christos
01a3dc11b3 limit to gcc, requested by joerg. 2016-05-04 17:17:00 +00:00
christos
d6db3d67c9 prevent gcc from combining memset+malloc -> calloc inside calloc so that
we end up calling ourselves recursively.
2016-05-04 14:39:49 +00:00
wiz
3c8121f349 Hardcode man page dates to date of groff release (September 4, 2005
for 1.19.2 in this case).

We can not use mdate.sh since after checkout/update from version
control, it might be today's date and MKREPRO won't work.
2016-03-16 23:52:04 +00:00
christos
e0ab85cf5e Handle the last newline in the "special" import for new file like RCS does.
I.e. make_message_rcsvalid() removes it, and we put it back.
2016-02-21 00:56:44 +00:00
christos
2e3fb283fe Use .PARSEDIR to set the TOP. It makes things more portable since they
can work outside the tree.
2016-01-30 16:47:00 +00:00
christos
1798a208d9 Remove trailing whitespace from imported messages when adding now files.
This is done in RCS_checkin() but we have a "fast path" for new files here
that does not do it. Hooray for specialized code.

XXX: pullup 6, 7
2016-01-30 16:21:47 +00:00
christos
9ca1704a93 include unistd.h for getpagesize() 2016-01-17 22:51:32 +00:00
joerg
03600a11a4 Don't play games with format strings. 2016-01-16 01:05:40 +00:00
tron
c179f7c274 Fix build with "USE_SSP" set to "yes" 2016-01-15 18:03:32 +00:00
christos
c25aca9c71 we have unistd.h 2016-01-15 15:14:02 +00:00
christos
5496b9d0d6 remove param.h 2016-01-15 15:13:28 +00:00
christos
a5338de11b hook send-pr 2016-01-14 21:13:54 +00:00
christos
592de26897 Apply our local changes bringing us up to 3.95 (for which there is no
release tar), and add build glue.
2016-01-14 21:13:20 +00:00
christos
68c5b58147 import send-pr from gnats-3.2 2016-01-14 21:06:13 +00:00
christos
fa28c6faa1 - merge local changes
- provide reach-over infrastructure
2016-01-14 04:22:38 +00:00
christos
04c6fc8e93 hook rcs 2016-01-14 04:21:48 +00:00
christos
7bdc26784b import rcs-5.7 2016-01-14 03:05:05 +00:00
christos
a683cc86dd we want a lint library 2016-01-14 02:43:50 +00:00
christos
92e52b2b45 remove afmtodit, add gdiffmk 2016-01-14 02:41:58 +00:00
christos
10494598b6 - remove generated files
- remove libdriver dependencies where they are not needed
- add bin to Makefile
2016-01-14 02:30:18 +00:00
christos
0e6a791c20 hook texinfo 2016-01-14 00:38:30 +00:00
christos
cef0bb5b1f install in /usr/bin 2016-01-14 00:38:19 +00:00
christos
d3737e9cfd Apply our patches and add build glue. 2016-01-14 00:34:52 +00:00
christos
29619d2afe import texinfo-4.8a 2016-01-14 00:11:27 +00:00
christos
49e111a21f merge changes, add build glue. 2016-01-13 21:56:38 +00:00
christos
478e07dd80 import the latest standalone libmalloc. 2016-01-13 21:42:18 +00:00
christos
9606215048 add groff 2016-01-13 19:02:29 +00:00
christos
4acc5b6b20 merge our changes and add build glue 2016-01-13 19:01:55 +00:00
christos
89a07cf815 Import groff 1.19.2 2016-01-13 18:41:45 +00:00
christos
6b00881bdc fix for sun2; require libm only with msgmerge by linking fsearch with it. 2016-01-13 12:48:51 +00:00
christos
fd0f3f527a hook diffutils 2016-01-13 03:40:11 +00:00
christos
f8c23a2b94 merge conflicts, new reach-over Makefiles 2016-01-13 03:39:27 +00:00
christos
75f6d617e2 Import latest gpl2 diffutils 2016-01-13 03:15:29 +00:00
christos
b3048154cf don't use local dup wrong define 2016-01-13 01:31:17 +00:00
christos
4555f8de30 ggr. bsd.files.mk does not have an includes target... 2016-01-13 00:18:01 +00:00
christos
8b1ac22df2 Hook gettext 2016-01-12 22:58:52 +00:00
christos
95b39c65ca merge conflicts and add reach-over Makefiles 2016-01-12 22:58:00 +00:00
christos
946379e7b3 import latest GPLv2 gettext 2016-01-12 19:50:28 +00:00
christos
2fb7dbc941 protect with MKBSDGREP 2016-01-10 22:22:16 +00:00
christos
5e9b9be0de build grep from here. 2016-01-10 22:19:41 +00:00
christos
d571953c66 minor nits 2016-01-10 22:18:05 +00:00
christos
fb69a85ab0 - merge conflicts, enable wide char support. 2016-01-10 22:16:40 +00:00
christos
a8fa202a64 Import latest GPLv2 grep 2016-01-10 21:36:14 +00:00
christos
8ec658f57a - Change LDADD/DPADD in library dependencies to LIBDPLIBS
- Fix some LDADD abuse and remove useless dependencies
- include <bsd.init.mk> in the right place where appropriate
From Rin Okuyama
2016-01-05 13:07:46 +00:00
macallan
b8ae390746 initial import of Device Tree Compiler and related tools 2015-12-04 12:30:05 +00:00
dholland
5ca5bd7479 Don't use %m in format strings sent to printf. 2015-11-09 00:53:57 +00:00
wiz
971d420649 Close comment.
From Henning Petersen in PR 49403.
2014-11-19 10:37:29 +00:00
joerg
755f404f87 Remove tautologic check. 2014-11-15 01:24:53 +00:00
joerg
f7673b99b4 Comment out impossible code. 2014-11-15 01:24:38 +00:00
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