fix alt code in 2019/duble
Make check-os.sh executable and search for bash.
This commit is contained in:
1 parent
bee2eae844
commit
82f79395e6
4 files changed
+162
-417
No files matched your search
+15
-7
@@ -4,13 +4,11 @@ Etienne Duble
|
||||
<https://lig-membres.imag.fr/duble>
|
||||
Twitter: @etienne_duble
|
||||
|
||||
## To build:
|
||||
|
||||
## Judges' comments:
|
||||
### To use:
|
||||
make all
|
||||
|
||||
make
|
||||
|
||||
### Try:
|
||||
### To run
|
||||
|
||||
./prog /tmp/drawing
|
||||
|
||||
@@ -22,6 +20,16 @@ Twitter: @etienne_duble
|
||||
|
||||
./prog /tmp/drawing
|
||||
|
||||
### Alternate code
|
||||
|
||||
An alternate version of this entry, prog.alt.c, is provided. This alternate code may not work as well on macOS.
|
||||
|
||||
To compile this alternate version:
|
||||
|
||||
make alt
|
||||
|
||||
Use `prog.alt` as you would `prog` above.
|
||||
|
||||
### Selected Judges Remarks:
|
||||
|
||||
After starting the program, use the cursor keys, then try some modes, like "p"
|
||||
@@ -131,9 +139,9 @@ IMPORTANT NOTES:
|
||||
so any peer reaching the session should have a terminal with the same
|
||||
size or larger.
|
||||
|
||||
### prog.c vs prog.orig.c
|
||||
### prog.c vs prog.alt.c
|
||||
|
||||
The file `prog.orig.c` is the one I submitted.
|
||||
The file `prog.alt.c` is the one I submitted.
|
||||
|
||||
Judges proposed a small update: the program was using macro `FD_SET` inside an
|
||||
expression, which breaks compilation on Mac OS X. Wrapping this macro into a
|
||||
|
||||
Reference in new issue
Block a user