Skip to content

Commit d95d0e8

Browse files
committed
Merge 1.1 upstream changes
2 parents b19b9c0 + cb6aac4 commit d95d0e8

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Makefile

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=1.0
1+
VERSION=1.1
22
ARCHIVE=minsk-$(VERSION).tar.gz
33

44
CC=gcc
@@ -8,15 +8,15 @@ CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -W
88
all: minsk
99

1010
web: minsk
11-
rsync -avzP . jw:www/minsk/ --exclude=.git --exclude=.*.swp --delete
11+
rsync -avzP . jw:www/ext/minsk/ --exclude=.git --exclude=.*.swp --delete
1212

1313
release:
1414
git tag v$(VERSION)
1515
git push --tags
1616
git archive --format=tar --prefix=minsk-$(VERSION)/ HEAD | gzip >$(ARCHIVE)
17-
scp $(ARCHIVE) atrey:~ftp/pub/local/mj/minsk/
18-
ssh jw "cd www && bin/release-prog minsk $(VERSION)"
19-
mv $(ARCHIVE) ~/archives/mj/
17+
scp $(ARCHIVE) jw:~ftp/pub/mj/minsk/
18+
ssh jw "cd web && bin/release-prog minsk $(VERSION)"
19+
mv $(ARCHIVE) ~/archives/sw/minsk/
2020

2121
clean:
2222
rm -f `find . -name "*~" -or -name "*.[oa]" -or -name core -or -name .depend -or -name .#*`

index.cgi

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use strict;
44
use warnings;
55

6-
use lib '../lib';
6+
use lib '../../lib/perl';
77
use UCW::CGI;
88
use File::Temp;
99
use POSIX;
@@ -74,6 +74,6 @@ EOF
7474

7575
print <<EOF ;
7676
<hr>
77-
<p>Written by <a href='http://mj.ucw.cz/'>Martin Mareš</a>. Version 1.0 (2010-12-27).
77+
<p>Written by <a href='http://mj.ucw.cz/'>Martin Mareš</a> and Rutger van Bergen. Version 1.1 (2022-04-24).
7878
</body></html>
7979
EOF

minsk.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1284,7 +1284,7 @@ static void init_memory(int set_password)
12841284
// not +00 00 0000 0000 (NOP). Otherwise, an empty program would reveal
12851285
// the location of the password :)
12861286
for (int i=0; i<memblocks; i++)
1287-
for (int j=0; i<MEM_SIZE; j++)
1287+
for (int j=0; j<MEM_SIZE; j++)
12881288
mem[i][j] = 01000000000000ULL;
12891289

12901290
// Store the password

0 commit comments

Comments
 (0)