From 02f58b754dfeab4e27984fe8abd4f47e31ffc283 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 28 Feb 2005 12:48:42 +0000 Subject: [PATCH] auto-import gcc-4.0.0-0.30 on branch devel from gcc-4.0.0-0.30.src.rpm --- .cvsignore | 2 +- libgcc_post_upgrade.c | 5 +---- sources | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.cvsignore b/.cvsignore index 3aaea47..1ea9cdd 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gcc-3.4.3-20050222.tar.bz2 +gcc-4.0.0-20050228.tar.bz2 diff --git a/libgcc_post_upgrade.c b/libgcc_post_upgrade.c index d2ecdf7..5e67a21 100644 --- a/libgcc_post_upgrade.c +++ b/libgcc_post_upgrade.c @@ -17,13 +17,10 @@ int main(void) pid_t pid; int status; char initpath[256]; - const char *argv[2]; if (access ("/sbin/ldconfig", X_OK)) _exit (0); - argv[0] = "/sbin/ldconfig"; - argv[1] = NULL; - execv ("/sbin/ldconfig", argv); + execl ("/sbin/ldconfig", "/sbin/ldconfig", NULL); _exit (110); } diff --git a/sources b/sources index b7b2ae3..42f198b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7d1b30b336234ed9076d0b29ad8c5570 gcc-3.4.3-20050222.tar.bz2 +6cdc28a1e5d34dbd6782138b263558bf gcc-4.0.0-20050228.tar.bz2