Commit Graph

6 Commits

Author SHA1 Message Date
Paul Bone
3c9ebf0969 [net] Impement a Mercury interface to getaddrinfo
Add a Mercury interface to the C function getaddrinfo.  getaddrinfo
superceeds gethostbyname and getservbyname.  It is reenterant and also makes
it easier to support IPv6 amoung other things.  Other predicates in netdb.m
should be written in terms of getaddrinfo.

extras/net/getaddrinfo.m:
    As above.

extras/net/netdb.m:
    Add predicates that use getaddrinfo to perform lookups.

extras/net/types.m:
    Add predicates to convert to and from the raw values for family and
    socktype.

extras/net/test_lookups.m:
extras/net/Makefile:
    Add a test program.

.gitignore:
    This .gitignore file was causing git to ignore the Mercury.options file
    in net/extras.  A leading slash in .gitignore patterns matches the start
    of a path, this allows us to ignore these patterns when they're only in
    the root directory.

extras/net/Mercury.options:
    Work around a Mercury bug.

    Add this missing file.
2015-04-07 16:38:10 +10:00
Paul Bone
95a089b5b3 Add more patterns to .gitignore files
A number of patterns and filenames where missing from .gitignore files,
especially in the tests/ directory.

.gitignore:
boehm_gc/.gitignore:
boehm_gc/libatomic_ops/pkgconfig/.gitignore:
runtime/.gitignore:
scripts/.gitignore:
tests/.gitignore:
tests/analysis/table/.gitignore:
tests/analysis/trail/.gitignore:
tests/benchmarks/.gitignore:
tests/debugger/.gitignore:
tests/invalid/.gitignore:
tests/mmc_make/.gitignore:
tests/mmc_make/lib/.gitignore:
    Add new patterns to .gitignore files.

    Remove some patterns that are implicit because they're in a parent
    directory's file.

tests/analysis/.gitignore:
    After removing superfluous patterns this file was empty.  I've deleted
    it.
2013-10-02 20:54:06 +10:00
Peter Wang
1cf15258d9 Remove RPM spec file and scripts.
The RPM spec file now lives in the `packaging' repository.

.mercury-compiler.spec.in:
tools/build_rpm:
tools/invoke_build_rpm:
	Delete these files.

.gitignore:
Mmakefile:
compiler/notes/release_checklist.html:
	Remove all evidence.

	Delete outdated instructions for building Debian packages.
2013-04-18 16:55:18 +10:00
Julien Fischer
3a290b340b Bump the year in the copyright messages.
.README.in:
bindist/bindist.README:
trace/mercury_trace_internal.c:
compiler/handle_options.m:
doc/*.texi:
profiler/mercury_profile.m:

*/.gitignore:
   Convert and / or update .gitignore files.
2013-01-03 13:12:22 +11:00
Julien Fischer
a08560205b Convert more .cvsignore files into gitignore files.
.gitignore:
    Ignore the generated file confdefs.h.

boehm_gc/.cvsignore:
boehm_gc/libatomic_ops/src/.cvsignore:
boehm_gc/libatomci_ops/src/.cvsignore:
    Convert to .gitignore files.
2013-01-03 13:12:22 +11:00
Julien Fischer
1eda59e3da Convert .cvsignore files into .gitignore files.
Delete the empty lazy_evaluation directory from extras.

*/.cvsignore:
     Make this into .gitignore files.
     (Update them where necessary.)

extra/lazy_evalution:
    Delete this directory; its former contents were moved
    elsewhere some time ago.
2013-01-03 13:12:22 +11:00