Files
ioccc/1986/marshall
Landon Curt Noll 21c3e89a2f improve tarballs
The `make quick_www` and `make www` rules in the top level `Makefile`
no longer build compressed tarballs.

The tools that form compressed tarballs now add _--no-xattrs --no-selinux_
when building compressed tarballs.

Changed `bin/tar-all.sh` VERSION from "1.0.1 2024-02-23"
to "1.1 2024-02-27".

Changed `bin/tar-entry.sh` VERSION from "1.0.1 2024-02-23"
to "1.1 2024-02-27".

Changed `bin/tar-year.sh` VERSION from "1.0.1 2024-02-23"
to "1.1 2024-02-27".

Added `make tar` rule to the top level `Makefile` to create all
compressed tarballs.  In particular `make tar` calls:

* make clobber
* make genpath
* make genfilelist
* make verify_entry_files
* make form_entry_tarball
* make form_year_tarball
* make form_all_tarball

Performed `make tar` in an effort to see of tar warnings such as
have been fixed:

```
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
```

**NOTE**: We to **NOT** plan to rebuild compressed tarballs while some of the
((**top priority**)) issues are active.  We only rebuilt the compressed tarballs
as a test.
2024-02-27 23:21:32 -08:00
..
2024-02-01 14:35:49 -08:00
2024-02-27 23:21:32 -08:00
2023-07-15 09:31:02 -07:00
2023-07-12 11:42:15 -07:00
2023-07-06 21:49:38 -07:00

To build:

make all

NOTE: we FORCE disable the optimiser due to a funny problem with different compilers and systems. See below and compilers.md for details.

There is an alternate version. The reason is a funny problem: in modern systems, depending on the platform, compiler and the optimiser, it would work with one compiler with the optimiser but it would not work with the other; and if the optimiser state is changed the previous problematic compiler might work but the other one would not. We describe this in more detail in compilers.md and we encourage you to read it for entertainment if nothing else.

To use:

./marshall

Alternate code:

Due to the different conflicting problems with gcc and clang, we instead offer the problematic code as an alternate version whereas marshall.c has both the infinite loop and the complicated arg to _exit() commented out, changing the value passed into _exit() to 1.

Alternate build:

To see if your compiler has the problems noted:

make alt

Alternate use:

./marshall.alt

Does it work in your system? That is does it not segfault, does it print it only once and does it not enter an infinite loop? Or more generally does it print the text exactly once and then exit?

Judges' remarks:

This program prints the name of the picture. The layout is somewhat pretty though it is not the usual sort of output one would expect from printing a program!

This program was selected for the 1987 t-shirt collection.

Author's remarks:

No remarks were provided by the author.

This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. You are free to share and adapt this file under the terms of this license:

Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)

For more information, see: https://creativecommons.org/licenses/by-sa/4.0/