[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS Update: gleipnir
- To: cvs@lists.cleannorth.org
- Subject: CVS Update: gleipnir
- From: Dan Brosemer <odin@cleannorth.org>
- Date: Mon, 5 May 2008 09:59:24 -0400 (EDT)
- List-help: <mailto:cvs-request@lists.cleannorth.org?subject=help>
- List-post: <mailto:cvs@lists.cleannorth.org>
- List-subscribe: <mailto:cvs-request@lists.cleannorth.org?subject=subscribe>
- List-unsubscribe: <mailto:cvs-request@lists.cleannorth.org?subject=unsubscribe>
- Resent-date: Mon, 5 May 2008 09:59:27 -0400 (EDT)
- Resent-from: cvs@lists.cleannorth.org
- Resent-message-id: <5fznCD.A.fMD.WLxHIB@skroob.cleannorth.org>
- Resent-sender: cvs-request@lists.cleannorth.org
Log Message:
-----------
Allow patch replacement
Modified Files:
--------------
gleipnir/public_html:
patch.pl
Revision Data
-------------
Index: patch.pl
===================================================================
RCS file: /cvs/gleipnir/public_html/patch.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lpublic_html/patch.pl -Lpublic_html/patch.pl -u -r1.2 -r1.3
--- public_html/patch.pl
+++ public_html/patch.pl
@@ -390,14 +390,14 @@
{
my $SQL = <<EOT;
insert into patch
-(name, cmdline, appid, ignoreerr, rebooton, comment, replaces, tstamp) values
-( ?, ?, ?, ?, ?, ?, ?, now())
+(name, cmdline, appid, ignoreerr, rebooton, comment, replaces, tstamp, uid) values
+( ?, ?, ?, ?, ?, ?, ?, now(), ?)
EOT
my $cursor = $dbh->prepare($SQL);
$cursor->execute($cgi->param('patchname'), $cgi->param('cmdline'), $cgi->param('appid'),
$cgi->param('ignoreerr')||undef, $cgi->param('rebooton')||undef, $cgi->param('comment'),
- $cgi->param('replaces'));
+ $cgi->param('replaces'), $gleipnir->uid);
}
else
{
- Prev by Date: CVS Update: unattended
- Next by Date: CVS Update: unattended
- Previous by thread: CVS Update: unattended
- Next by thread: CVS Update: cleannorth.org
- Index(es):