Commit Graph

6221 Commits

Author SHA1 Message Date
tsutsui 3422a6eafe Fix Typo. 2003-08-20 13:07:41 +00:00
itojun 7fb76a1cf3 no longer in use 2003-08-20 01:31:12 +00:00
itojun 7f5c6fbfb1 use strlcpy 2003-08-19 22:22:27 +00:00
yyamano 9d1bacfdb9 fix typo. 2003-08-18 16:12:58 +00:00
itojun 757e458559 SIOCGIFCONF -> getifaddrs conversion 2003-08-18 05:39:52 +00:00
itojun 916585ff14 SIOCGIFCONF->getifaddrs conversion 2003-08-17 22:34:17 +00:00
itojun cdf8146ccf SIOCGIFCONF->getifaddrs conversion 2003-08-17 22:12:43 +00:00
itojun f4c0491af5 one more SIOCGIFCONF->getifaddrs conversion 2003-08-17 21:43:29 +00:00
itojun 0f6ff2de74 rewrite SIOCGIFCONF into getifaddrs(3) 2003-08-17 21:36:56 +00:00
martin b1fbf8b8ca Add an example for creating a bootable i386 floppy. 2003-08-16 18:42:53 +00:00
itojun c4191f3816 plug memory leak. PR misc/22479 2003-08-14 10:06:36 +00:00
atatat 4e34961a55 Jobs specified for @reboot are only popped into the job queue at cron
startup time ("reboot" of cron, not the system), so okay_to_go() must
always say they are good to go.  Otherwise they never will.  All other
meta-timetags pertain to regular times, so they are (or were)
unaffected.

Problem noted by tron and successfully assigned to me by perry.
2003-08-13 03:51:15 +00:00
dsl 66673ac6a2 Fix display of fslevel (was almost always 0) 2003-08-12 13:15:35 +00:00
itojun 9088831850 tabify 2003-08-11 16:20:11 +00:00
grant 3319bc243a we already print "creating package ..." in pkg_perform(), no need to
say it twice :)
2003-08-10 12:27:08 +00:00
agc 326b2259b7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
2003-08-07 11:25:11 +00:00
jmmv 18ccc9b90c Add and use the log_err, log_errx, log_warn and log_warnx functions that act as
wrappers for err, errx, warn and warnx respectively when running in foreground
and call syslog functions when running in daemon mode.
Also add and use an extra log_info function for other types of information.
2003-08-06 23:58:40 +00:00
jmmv a79323123c Add the `action' mode, which can be used to associate commands with mouse
button events.  This mode needs to be explicitly enabled at runtime, and
does nothing if not configured.

As there are now two different modes available, adjust the manpages
accordingly, describing what they do and how they work separatedly.

While here, remove a bunch of unused stuff (event syntax) from config file
parsing.  This was initially added with this new mode in mind, but it has
not been used to make it a lot simpler.
2003-08-06 22:11:48 +00:00
jmmv 15ba121760 - Let the main program handle multiple run modes easily. Each one is
described by a structure with pointers to functions.
- Clearly separate the "selection" mode (which provides copy and paste support
  in console) from wsmoused's main program.
- Added the "modes" property to the configuration file and the "-m" command
  line option to specify which modes should be activated.  (this is mostly
  useless for now, as only the "selection" mode exists; a new mode will
  be added soon, hopefully).
- While here, several style fixes according to share/misc/style.
2003-08-06 18:07:53 +00:00
mrg 134561f7df - convert header() away from a signal function (it does all sorts of stdio
and more) and use a little sig_header() helper.
- in selectdrives() make sure we don't overwrite some arrays.  this makes
"iostat 1" work again on my really wide screens where defdrives (number that
can fit) was > ndrives (number of drives), rather than dump core trying to
print (char *)1...
2003-08-04 01:05:44 +00:00
lukem a93ea220fc Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
lukem 87b1d00a0c remove unnecessary dependency now that bsd.rpc.mk adds to DPSRCS 2003-07-29 02:48:47 +00:00
itojun de3e7a8bf6 debian bug id "sup 1.8-8, bug #175327" - temporary file symlink race 2003-07-28 23:13:17 +00:00
lukem eb51573bd7 Use ${DEPENDSRCS} as a target instead of .depend, now that
<bsd.dep.mk> builds .depend from .dep files.
2003-07-28 15:25:02 +00:00
lukem 0283225f29 Explicitly pull in <sys/endian.h> #if !defined(HAVE_CONFIG_H).
(I prefer to be explicit about this, since installboot uses the endian
macros a lot)
2003-07-27 07:53:26 +00:00
lukem 4e59fb5bab rcsid 2003-07-27 07:51:40 +00:00
salo d6a8052848 netbsd.org->NetBSD.org 2003-07-25 12:14:10 +00:00
itojun c7d6ddcd4d racoon sha2.c is not compatible with openssl 0.9.7, drop support 2003-07-24 14:22:01 +00:00
itojun adeab29eca include des.h, not kerberosIV/des.h 2003-07-23 20:31:18 +00:00
itojun e63468d8cc split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se
(build confirmed with both MKKERBEROS4=yes and MKKERBEROS4=no)
2003-07-23 08:01:24 +00:00
lukem c0a8541252 oops, typo in previous. should have been COPTS.sha.c. (this was not being compiled anyway, but...) 2003-07-22 12:50:46 +00:00
lukem 77c4c3827a use COPTS.sha1.c=-O0 to turn off optimization for sha1.c 2003-07-22 12:39:24 +00:00
lukem 0b856bc2de use CPPFLAGS.filename=... to add file-specific overrides 2003-07-22 11:29:53 +00:00
itojun 18a884bc94 oops, forgot to bump version string 2003-07-22 08:46:03 +00:00
itojun 5d573dd9ce use bounded string op 2003-07-16 08:22:01 +00:00
itojun d79a960daf strlcpy 2003-07-16 06:57:39 +00:00
itojun 6ba71df691 use bounded string op 2003-07-16 06:40:47 +00:00
itojun 16fd25dc05 snprintf 2003-07-16 06:33:11 +00:00
itojun bd719499fb use bounded string op 2003-07-15 12:33:17 +00:00
itojun af8ebb34e7 use snprintf 2003-07-15 12:32:07 +00:00
lukem a329d6f3f8 add MTREE=mtree back, for systems with some .mk version skew... 2003-07-14 23:16:19 +00:00
itojun 99f12cfafe use bounded string op 2003-07-14 09:07:22 +00:00
itojun 2372fad140 use bounded string op as much as possible 2003-07-14 08:43:19 +00:00
itojun 47a6a58fe5 use bounded string op 2003-07-14 08:36:34 +00:00
itojun 49a751869e use bounded string op as much as possible 2003-07-14 06:17:54 +00:00
itojun 5402d14cf4 use boundedd string ops 2003-07-14 06:08:04 +00:00
itojun 041bd7648a use bounded string op as much as possible 2003-07-14 06:00:44 +00:00
itojun 97a29a12a2 use bounded string ops (one strcpy remaining) 2003-07-14 05:55:38 +00:00
itojun 2a470e2847 use bounded string op 2003-07-13 14:06:06 +00:00
itojun 63b4a66b0f strlcpy is prototyped in string.h 2003-07-13 14:02:23 +00:00