aboutsummaryrefslogtreecommitdiffstats
path: root/www/php-screw/files
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-01-15 03:04:28 +0800
committerale <ale@FreeBSD.org>2004-01-15 03:04:28 +0800
commit7d7589053a365143ae3ba49346d538d75903cb45 (patch)
tree5cb2c7b9fa26744ee6dfdc56a1225ae7c4bd580e /www/php-screw/files
parentdc5546bfcfc95acf7cd4df239df4365eb1054ec0 (diff)
downloadfreebsd-ports-gnome-7d7589053a365143ae3ba49346d538d75903cb45.tar.gz
freebsd-ports-gnome-7d7589053a365143ae3ba49346d538d75903cb45.tar.zst
freebsd-ports-gnome-7d7589053a365143ae3ba49346d538d75903cb45.zip
Update to 1.3 release.
Approved by: nork (mentor/implicitly)
Diffstat (limited to 'www/php-screw/files')
-rw-r--r--www/php-screw/files/patch-tools::screw.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/www/php-screw/files/patch-tools::screw.c b/www/php-screw/files/patch-tools::screw.c
deleted file mode 100644
index f9236b30f103..000000000000
--- a/www/php-screw/files/patch-tools::screw.c
+++ /dev/null
@@ -1,42 +0,0 @@
---- tools/screw.c.orig Sun Aug 31 00:55:45 2003
-+++ tools/screw.c Sun Aug 31 00:56:14 2003
-@@ -18,12 +18,12 @@
-
- if (argc != 2) {
- fprintf(stderr, "Usage: filename.\n");
-- exit();
-+ exit(1);
- }
- fp = fopen(argv[1], "r");
- if (fp == NULL) {
- fprintf(stderr, "File not found(%s)\n", argv[1]);
-- exit();
-+ exit(1);
- }
-
- fstat(fileno(fp), &stat_buf);
-@@ -36,13 +36,13 @@
-
- if (memcmp(datap, PM9SCREW, PM9SCREW_LEN) == 0) {
- fprintf(stderr, "Already Crypted(%s)\n", argv[1]);
-- exit();
-+ exit(1);
- }
-
- fp = fopen(oldfilename, "w");
- if (fp == NULL) {
- fprintf(stderr, "Can not create backup file(%s)\n", oldfilename);
-- exit();
-+ exit(1);
- }
- fwrite(datap, datalen, 1, fp);
- fclose(fp);
-@@ -56,7 +56,7 @@
- fp = fopen(argv[1], "w");
- if (fp == NULL) {
- fprintf(stderr, "Can not create crypt file(%s)\n", oldfilename);
-- exit();
-+ exit(1);
- }
- fwrite(PM9SCREW, PM9SCREW_LEN, 1, fp);
- fwrite(newdatap, newdatalen, 1, fp);