summaryrefslogtreecommitdiff
path: root/ext/mysql/libmysql/update_sources
diff options
context:
space:
mode:
authorMySQL Team <mysql@php.net>2001-06-01 20:07:26 +0000
committerMySQL Team <mysql@php.net>2001-06-01 20:07:26 +0000
commite8cbbc0637cb27c6fda64940a9138e08060475f8 (patch)
treef6353232aba5ae05c8f4779865cd742dc392b181 /ext/mysql/libmysql/update_sources
parent304ac03be434eecf6edc1f025c455e9089f8af37 (diff)
downloadphp-git-e8cbbc0637cb27c6fda64940a9138e08060475f8.tar.gz
Upgrade ext/mysql/libmysql to version 3.23.39. No major changes -
portability fixes. Also add configure test for HAVE_INT_8_16_32 which should solve compilation problems on AIX.
Diffstat (limited to 'ext/mysql/libmysql/update_sources')
-rwxr-xr-xext/mysql/libmysql/update_sources15
1 files changed, 11 insertions, 4 deletions
diff --git a/ext/mysql/libmysql/update_sources b/ext/mysql/libmysql/update_sources
index 573129b020..87547e483e 100755
--- a/ext/mysql/libmysql/update_sources
+++ b/ext/mysql/libmysql/update_sources
@@ -10,13 +10,13 @@ $| = 1;
my $command = shift || usage();
$command =~ /^--(?:update|huh|restore)$/ or usage();
-my $from = shift || '/users/tim/my/work';
+my $from = shift || '/my/mysql';
my @source_dirs = qw/dbug strings mysys libmysql include/;
my $source_re = qr/\.(?:cc?|h)$/;
my %skip = (
- 'ctype_autoconf.c' => 1,
- 'ctype_extra_sources.c' => 1,
- 'my_config.h' => 1,
+ 'ctype_autoconf.c' => 1, # PHP uses a pre-made one
+ 'ctype_extra_sources.c' => 1, # same here
+ 'my_config.h' => 1, # we use php_config.h
);
opendir D, "."
@@ -75,6 +75,13 @@ sub usage
usage: $0 --update [mysql-source-dir]
$0 --huh
$0 --restore
+
+ Typical use is:
+ \$ $0 --update 2>&1 > /tmp/php-update.diff
+ \$ @{[$ENV{EDITOR}||'vi']} /tmp/php-update.diff #does it look okay?
+ \$ Monkey around a bit
+ \$ cvs diff -u | less # does this look okay?
+ \$ rm *.orig
EOF
}