The NetBSD Project

CVS log for src/usr.bin/xlint/common/externs.h

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / xlint / common

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.36 / (download) - annotate - [select for diffs], Fri Feb 2 16:25:58 2024 UTC (4 weeks, 2 days ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.35: +3 -1 lines
Diff to previous 1.35 (colored)

lint: fix debug output for strings, reduce code size

The debug output contained too many newlines.

The buffer functions were built into lint2 even though they weren't
used.

Enable the query for invisible characters in string literals, to make
sure that a newline in a string literal does not trigger that query.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Feb 1 21:19:13 2024 UTC (4 weeks, 3 days ago) by rillig
Branch: MAIN
Changes since 1.34: +3 -1 lines
Diff to previous 1.34 (colored)

lint: reuse buffer editing code across lint1

Fix cat_strings to update the capacity of the buffer, to prevent
quadratic runtime when concatenating string literals.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Jan 20 12:02:09 2024 UTC (6 weeks, 1 day ago) by rillig
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

lint: clean up

Revision 1.33 / (download) - annotate - [select for diffs], Sat Jan 20 10:25:57 2024 UTC (6 weeks, 1 day ago) by rillig
Branch: MAIN
Changes since 1.32: +4 -4 lines
Diff to previous 1.32 (colored)

lint: unclutter conditional compilation

Revision 1.32 / (download) - annotate - [select for diffs], Sat Jan 20 10:21:35 2024 UTC (6 weeks, 1 day ago) by rillig
Branch: MAIN
Changes since 1.31: +3 -1 lines
Diff to previous 1.31 (colored)

lint: only define xcalloc if actually used

Revision 1.31 / (download) - annotate - [select for diffs], Sun Dec 3 18:17:41 2023 UTC (3 months ago) by rillig
Branch: MAIN
Changes since 1.30: +13 -13 lines
Diff to previous 1.30 (colored)

lint: in declarations, replace tab with space

Previously, in some cases, the keywords 'const' or 'struct' were
followed by a tab, which doesn't make sense.

No functional change.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Aug 12 20:48:24 2023 UTC (6 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.29: +1 -2 lines
Diff to previous 1.29 (colored)

lint: for each record in the output file, write the newline immediately

There's no point delaying the '\n' until the next line is written.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jul 13 08:40:38 2023 UTC (7 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

lint: indent copyright lines consistently

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jul 6 07:59:00 2023 UTC (7 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored)

lint: add type safety for accessing properties of basic types

No functional change.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jun 29 10:31:32 2023 UTC (8 months ago) by rillig
Branch: MAIN
Changes since 1.26: +1 -6 lines
Diff to previous 1.26 (colored)

lint: clean up initialization of type properties

No functional change.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jun 24 07:15:08 2023 UTC (8 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.25: +17 -17 lines
Diff to previous 1.25 (colored)

lint: remove redundant 'extern' from function declarations

No binary change.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jan 13 19:41:50 2023 UTC (13 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.24: +1 -2 lines
Diff to previous 1.24 (colored)

lint: remove custom memory allocator

Besides adding complexity, the custom memory allocator didn't invalidate
freed memory, which made it harder to find possible use-after-free bugs.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Sep 4 14:48:27 2021 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.23: +1 -2 lines
Diff to previous 1.23 (colored)

lint: move outqchar from common to lint1

Revision 1.23 / (download) - annotate - [select for diffs], Sat Sep 4 14:42:30 2021 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.22: +2 -5 lines
Diff to previous 1.22 (colored)

lint: trim down the code for writing the output files

The output buffer is only needed in a single file, so unexport it.

When calling outname, the chances for the name being null are close to
zero, therefore omit the caller information.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Sep 4 14:26:32 2021 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

lint: use 'char' as type for passing characters to functions

No functional change.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Aug 31 17:22:24 2021 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

lint: fix memory allocation (since 2021-08-28)

In mem1.c 1.50 and mem2.c 1.13 from 2021-08-28, I accidentally changed
the initialization of mblklen from round_up to round_down, trying to
avoid a division instruction.

On NetBSD x86_64 this resulted in a few more malloc calls, but on Cygwin
with its 64k pagesize, mblklen became 0.  Later, the function xalloc in
lint2 called xalloc(mblklen) and blindly assumed that the returned
memory would be large enough.  This in turn led to out-of-bounds memory
access and crashes.  Lint1 was not affected since it adjust mblklen
during runtime if it gets too small.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Aug 22 15:06:49 2021 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)

lint: only include code in the binaries that is actually used

No functional change.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Aug 22 14:50:06 2021 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.18: +1 -8 lines
Diff to previous 1.18 (colored)

lint: remove Tflag and pflag from common declarations

These flags are only needed by lint1 and lint2, but not by the driver
xlint.

No functional change.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Aug 3 17:44:58 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.17: +1 -2 lines
Diff to previous 1.17 (colored)

lint: clean up and move 'sametype'

This function is only used by lint1.  That's good since the lint2 code
was completely broken, as it would regard any two struct types as being
the same.

Remove the large switch statement since it is unlikely that there will
be new type derivations in C anytime soon.

No functional change.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Aug 1 18:13:53 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

lint: make xasprintf simpler

No functional change.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Aug 1 18:07:35 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.15: +1 -2 lines
Diff to previous 1.15 (colored)

lint: unexport nomem

No functional change.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Aug 1 17:59:47 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.14: +1 -2 lines
Diff to previous 1.14 (colored)

lint: remove xmapalloc

Just trust the standard malloc to be smart enough.

No functional change.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jan 16 02:40:02 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

lint: replace 0 and 1 with false and true, where appropriate

Change in behavior: Passing the option -h exactly 4294967296 times or
any multiple thereof is no longer equivalent to passing it never at all,
it is now equivalent to passing it once.  See main2.c, hflag++ for the
actual change.

Other than that, no functional change intended.

A very large portion of the code already conformed to the requirements
of the strict bool mode.  The only missing thing was using the constant
literals false and true instead of 0 and 1.  For sure there are some
integer literals left that can be converted.  For now, all literals that
appeared in the form " = 0" or " = 1" have been replaced.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jan 12 20:42:00 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

lint: add new check for strict bool mode

In strict bool mode, bool is considered incompatible with all other
scalar types, just as in Java, C#, Pascal.

The controlling expressions in if statements, while loops, for loops and
the '?:' operator must be of type bool.  The logical operators work on
bool instead of int, the bitwise operators accept both integer and bool.
The arithmetic operators don't accept bool.

Since <stdbool.h> implements bool using C preprocessor macros instead of
predefining the identifiers "true" and "false", the integer constants 0
and 1 may be used in all contexts that require a bool expression.
Except from these, no implicit conversion between bool and scalar types
is allowed.

See usr.bin/tests/xlint/lint1/d_c99_bool_strict.c for more details.

The command line option -T has been chosen because all obvious choices
(-b or -B for bool, -s or -S for strict) are already in use.  The -T may
stand for "types are checked strictly".

The default behavior of lint doesn't change.  The strict bool check is
purely optional.

An example program for strict bool mode is usr.bin/make, which has been
using explicit comparisons such as p != NULL, ch != '\0' or n > 0 in
most places for a long time now, even before the refactoring in 2020.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jan 4 01:12:20 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.11: +0 -5 lines
Diff to previous 1.11 (colored)

lint: revert previous commit, except for the typo

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jan 4 01:11:01 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.10: +6 -1 lines
Diff to previous 1.10 (colored)

lint: fix typo in comment

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jan 2 03:49:25 2021 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

lint: fix buffer truncation for type names

Previously, most type names had been cut off after 63 significant
characters.  In some cases, 127 characters survived, or 255.  And for
the debugging messages, sometimes even 1023.  This inconsistency was
useless.

It was wrong in the first place to make the caller of the function
tyname responsible for handling the buffer.  That's not something a
caller of such a simple function should do.  These callers have better
things to do.

The API of the new function type_name is as simple as possible.

In the implementation, the name of the type is generated anew each time.
I just didn't know whether the type details could change, once the type
is initialized, and I didn't want to find out.  To be on the safe side,
the resulting type name is cached, independently of the type it was
generated for.  Using a trivial, unbalanced binary tree should be good
enough for now.

All this work is necessary to support adding new debug logging, without
being distracted by irrelevant implementation details such as these
buffer sizes.  Adding new debug messages should be fun and easy; up to
now, it was overly bureaucratic.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jan 1 01:42:55 2021 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

lint: rename basic_type_name to tspec_name

The term "basic type" is precisely defined in C99 6.2.5p14, and tspec_t
is close to that, but nowhere identical.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Dec 29 13:33:03 2020 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

lint: rename functions with very short names

Revision 1.6.14.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:19 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Merge changes from current as of 20200406

Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 10 04:54:01 2020 UTC (4 years ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

use asprintf().

Revision 1.6 / (download) - annotate - [select for diffs], Fri Aug 19 10:18:11 2016 UTC (7 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

add a type comparison function.

Revision 1.4.50.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:05:06 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.4.62.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:59:20 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Rebase.

Revision 1.4.44.1 / (download) - annotate - [select for diffs], Thu May 22 11:42:52 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.5 / (download) - annotate - [select for diffs], Thu Apr 17 18:52:03 2014 UTC (9 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

make outname print where it came from in case of error

Revision 1.4 / (download) - annotate - [select for diffs], Thu Apr 7 16:28:40 2005 UTC (18 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-devfs2-base, mjf-devfs2, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, cherry-xenmp-base, cherry-xenmp, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pagecache, tls-maxphys, tls-earlyentropy
Changes since 1.3: +7 -1 lines
Diff to previous 1.3 (colored)

Factor out tyname() so that it can be used both by lint1 and lint2.
Since type_t is different between lint1.h and lint2.h include the
appropriate file depending on the pass. Make the argument mismatch
error print the type names of the types involved. Now that we have
a tyname() function we can fix the rest of the pass2 warnings to be
more explanatory, but not now.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 21 23:58:53 2003 UTC (20 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

PR/23219: Dan McMahill: Make this compile on system that don't have MAP_ANON.
Centralize the mmap allocations in a new function, xmapalloc() that handles
this.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 18 21:01:38 2002 UTC (22 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, fvdl_fs64_base
Changes since 1.1: +11 -1 lines
Diff to previous 1.1 (colored)

Centralize the initialization/declaration of the ttab.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jan 18 20:39:23 2002 UTC (22 years, 1 month ago) by thorpej
Branch: MAIN

* Move stuff shared between lint1 and lint2 to the new common/ directory.
* Move the arch/ directory out of lint1/ into the top-level.

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.




CVSweb <webmaster@jp.NetBSD.org>