Date: Sat, 2 Aug 2008 07:30:05 GMT From: Marcus von Appen <mva@sysfault.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/126165: Patches introduced in sysutils/flexbackup 1.2.1_3 cause buffer test to fail Message-ID: <200808020730.m727U58D027622@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/126165; it has been noted by GNATS. From: Marcus von Appen <mva@sysfault.org> To: bug-followup@FreeBSD.org Cc: Anthony Maszeroski <maszeroskia3@scranton.edu> Subject: Re: ports/126165: Patches introduced in sysutils/flexbackup 1.2.1_3 cause buffer test to fail Date: Sat, 2 Aug 2008 09:01:36 +0200 --ftEhullJWpWg/VHq Content-Type: multipart/mixed; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Thanks for noticing! Attached is the complete patch. Regards Marcus --KsGdsel6WgEHnImy Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="flexbackup.diff" Content-Transfer-Encoding: quoted-printable =3D=3D=3D> Generating patch =3D=3D=3D> Viewing diff with more diff -ruN --exclude=3DCVS /usr/ports/sysutils/flexbackup/Makefile /usr/port= s/sysutils/flexbackup.new/Makefile --- /usr/ports/sysutils/flexbackup/Makefile 2008-07-30 23:02:40.000000000 += 0200 +++ /usr/ports/sysutils/flexbackup.new/Makefile 2008-08-02 08:56:20.0000000= 00 +0200 @@ -7,7 +7,7 @@ =20 PORTNAME=3D flexbackup PORTVERSION=3D 1.2.1 -PORTREVISION=3D 3 +PORTREVISION=3D 4 CATEGORIES=3D sysutils MASTER_SITES=3D http://www.edwinh.org/flexbackup/tarball/ \ http://www.reynoldsnet.org/flexbackup/tarball/ diff -ruN --exclude=3DCVS /usr/ports/sysutils/flexbackup/files/patch-flexba= ckup /usr/ports/sysutils/flexbackup.new/files/patch-flexbackup --- /usr/ports/sysutils/flexbackup/files/patch-flexbackup 2008-08-02 08:57:= 35.000000000 +0200 +++ /usr/ports/sysutils/flexbackup.new/files/patch-flexbackup 2008-08-02 08= :56:09.000000000 +0200 @@ -319,8 +319,8 @@ print SCR "#!/bin/sh\n"; - print SCR "tmp_data=3D/tmp/bufftest\$\$.txt\n"; - print SCR "tmp_err=3D/tmp/bufftest\$\$.err\n"; -+ print SCR "tmp_data=3D\`tempfile\`\n"; -+ print SCR "tmp_err=3D\`tempfile\`\n"; ++ print SCR "tmp_data=3D\$(mktemp $cfg::tmpdir/data.XXXXXXXXXX)\n"; ++ print SCR "tmp_err=3D\$(mktemp $cfg::tmpdir/err.XXXXXXXXXX)\n"; print SCR "echo testme > \$tmp_data\n"; print SCR "$buffer_cmd > /dev/null 2> \$tmp_err < \$tmp_data\n"; print SCR "res=3D\$?\n"; =3D=3D=3D> Done --KsGdsel6WgEHnImy-- --ftEhullJWpWg/VHq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkiUBlAACgkQo/JpszXavhz5MQCfW5KKZy1g7J74+LCQAWV1O7+k StUAniGSCIcSkjj3VK8HK0xPdBH5JJg7 =j+cC -----END PGP SIGNATURE----- --ftEhullJWpWg/VHq--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808020730.m727U58D027622>