Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
d4512eb8
Commit
d4512eb8
authored
20 years ago
by
Kazu Hirata
Committed by
Kazu Hirata
20 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* reg_periodic, reg_search: Fix the uses of date command.
From-SVN: r93806
parent
385870f5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
contrib/reghunt/ChangeLog
+4
-0
contrib/reghunt/reg_periodic
+2
-2
contrib/reghunt/reg_search
+2
-2
No files found.
contrib/reghunt/ChangeLog
View file @
d4512eb8
2005-01-17 Kazu Hirata <kazu@cs.umass.edu>
* reg_periodic, reg_search: Fix the uses of date command.
2003-06-24 Janis Johnson <janis187@us.ibm.com>
* reg_search: Replace existing uses of DATE with MADE_DATE and
...
...
This diff is collapsed.
Click to expand it.
contrib/reghunt/reg_periodic
View file @
d4512eb8
...
...
@@ -25,7 +25,7 @@
# is STOP in the current directory.
#
#
# Copyright (c) 2002, 2003 Free Software Foundation, Inc.
# Copyright (c) 2002, 2003
, 2005
Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -70,7 +70,7 @@ error() {
# control tools and report to the user.
make_date
()
{
MADE_DATE
=
"
`
${
DATE
}
-u
+
\"
%Y-%m-%d %H:%M %Z
\"
--date
\"
1970-01-01
00:00:
${
1
}
\"
`
"
\
MADE_DATE
=
"
`
${
DATE
}
-u
+
\"
%Y-%m-%d %H:%M %Z
\"
--date
\"
1970-01-01
${
1
}
seconds
\"
`
"
\
||
error
"make_date: date command failed"
}
...
...
This diff is collapsed.
Click to expand it.
contrib/reghunt/reg_search
View file @
d4512eb8
...
...
@@ -45,7 +45,7 @@
#
#
#
# Copyright (c) 2002, 2003 Free Software Foundation, Inc.
# Copyright (c) 2002, 2003
, 2005
Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -96,7 +96,7 @@ error() {
# control tools and report to the user.
make_date
()
{
MADE_DATE
=
"
`
${
DATE
}
-u
+
\"
%Y-%m-%d %H:%M %Z
\"
--date
\"
1970-01-01
00:00:
${
1
}
\"
`
"
\
MADE_DATE
=
"
`
${
DATE
}
-u
+
\"
%Y-%m-%d %H:%M %Z
\"
--date
\"
1970-01-01
${
1
}
seconds
\"
`
"
\
||
error
"make_date: date command failed"
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment