Commit Graph

35 Commits

Author SHA1 Message Date
christos
8ee626c9fa improve error messages (remove \n, use __func__, etc) 2015-06-16 23:04:13 +00:00
riastradh
6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
christos
553f814b0d remove unused variable 2013-11-08 01:10:23 +00:00
wiz
a5684d07dd Use Mt for email addresses. 2013-07-20 21:39:55 +00:00
joerg
ca8921efd7 Use __dead 2011-11-25 13:18:22 +00:00
joerg
d45d65aa1c Input function is not used 2011-06-09 13:09:42 +00:00
christos
2853bbf4b7 use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
lukem
d877c4c3c0 Enable WARNS=4 by default, except for:
cpuctl  dumplfs  hprop  ipf  iprop-log  kadmin  kcm  kdc  kdigest
	kimpersonate  kstash  ktutil  makefs  ndbootd  ntp  pppd  quot
	racoon  racoonctl  rtadvd  sntp  sup  tcpdchk  tcpdmatch  tcpdump
	traceroute  traceroute6  user  veriexecgen  wsmoused  zic
(Mostly third-party applications)
2009-04-22 15:23:01 +00:00
abs
515e52158b Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
reed
8e4f10c1d5 ndiscvt is architecture specific.
So install manual page to architecture sub directory.
And add architecture to the manual page document title.
(Note that ndis(4) is already done that way.)

On netbsd-docs, I was told if it is made machine independent
in the future, we can then revert this change.
2008-09-27 04:33:04 +00:00
jnemeth
6d559c496c PR/37604 - Danilo Vidovic -- we do have a ndis(4) man page 2007-12-24 18:52:34 +00:00
martin
aff14f6816 Ooops, backout Makefile change in previous - did not intend to commit
that part
2007-12-12 10:05:44 +00:00
martin
8dee778467 When converting unicode input, replace everything with second byte != 0
with the letter A - this avoids syntax errors if real unicode strings are
used as quoted strings (for example). Fixes a problem converting some
Broadcom driver's .inf file reported on current-users.
Same output generated as with the .inf file properly converted by iconv
upfront.
2007-12-12 10:04:52 +00:00
martin
6da7ec83d0 Cast yytext values to unsigned char when testing with isspace() to avoid
sign extension effects for non-ASCII characters.
2006-06-11 19:25:19 +00:00
martin
b9a75d90c7 Some windows .INF files are UNICODE - extend the scanner to deal with this. 2006-06-11 17:02:07 +00:00
jnemeth
4c99f4ecf2 unlink temp file in error case 2006-05-28 11:33:56 +00:00
jnemeth
305a7bfee2 In bincvt() use fdopen() on the fdesc returned by mkstemp(), instead
of fopen().
2006-05-26 11:45:31 +00:00
jnemeth
693e9aec19 Coverity CID 2977: failed to check for error return from ftell() 2006-05-26 11:13:20 +00:00
jnemeth
e10c71d2be Coverity CID 3685: memory leak
While here, check for failure to create temp file in bincvt() and close
unused file descriptor.

XXX bincvt() should be rewritten to use fork()/exec() instead of system().
2006-05-26 10:59:58 +00:00
jnemeth
1124e30e6e Coverity CID 3027: possible dereference of NULL pointer.
Also don't bother zero'ing memory immediately before reading the
.SYS file into it and check for errors while reading the file.
2006-05-26 09:25:27 +00:00
mrg
1eb16ad182 properly match char * with char * instead of u_char *. 2006-05-11 07:12:11 +00:00
skrll
e8f1031be8 RCSId police. 2006-04-28 07:20:39 +00:00
wiz
bffaecaf07 Bump date for previous. Remove trailing comma in SEE ALSO. 2006-04-23 16:50:25 +00:00
hannken
52d2a20915 Build and install the man page on all machine archs. 2006-04-20 11:29:08 +00:00
rittera
f672e2e9eb Added the -f firmware information back, but commented it out. Now it should
be easy to add once support for these firmware files is added to NetBSD.
2006-04-20 02:56:42 +00:00
martin
36c96e27d5 Backout previous and redo it by eliminating a superflous production
instead - this eliminates the reduce/reduce conflict but leaves the
accepted language alone.
2006-04-19 20:38:49 +00:00
martin
8f6ebaa09e Remove a reduce/reduce conflict by splitting the "assign" non-terminal
into a assign_list one (comma separated list of assigns) and the simple
assign one.
2006-04-19 17:52:24 +00:00
rittera
d4fa82ba2a Removed the entire section on firmware from ndiscvt.8 as I don't think this is
currently working for NetBSD (I don't have any cards available that use the
firmware modules discussed).  I also removed referances to the non-existing
man-pages ndis(4) and ndisapi(9) from FreeBSD.
2006-04-19 17:01:50 +00:00
christos
ab0d027f23 Do the lex/yacc portions the sanctioned way, instead of adding Makefile gunk. 2006-04-19 15:45:21 +00:00
he
14efda3f28 Be sure to prefix explicitly mentioned source files with ${.CURDIR}/,
so that this can build with objects placed elsewhere.
2006-04-19 15:10:40 +00:00
rittera
be97fc5a95 A number of minor changes for NDIS. (OK'd by phil)
1. Removed the makeoptions line from arch/i386/conf/GENERIC.  Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS.  NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.
2006-04-18 16:49:19 +00:00
wiz
9f0633f5c3 Sort options. Add RCS Id. Adapt a bit for NetBSD; needs more work
(e.g. removing kldloader references)
2006-04-04 20:25:14 +00:00
rittera
9f5b030f1a #included sys/lock.h which is apparently needed in order for ndiscvt to
compile on NetBSD.
2006-04-03 16:29:57 +00:00
rittera
6f0360f3e9 applied zul's ndiscvt patch 2006-03-30 23:21:06 +00:00
rittera
9f9573165d added the original files from FreeBSD in usr.sbin/ndiscvt/ 2006-03-30 23:00:02 +00:00