Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GNU CVS
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirabilos
GNU CVS
Commits
797c3d47
Commit
797c3d47
authored
19 years ago
by
dprice
Browse files
Options
Downloads
Patches
Plain Diff
* rcs-5.7-commitid.patch: Check for error return from time().
parent
b0553dc6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/ChangeLog
+4
-0
4 additions, 0 deletions
contrib/ChangeLog
contrib/rcs-5.7-commitid.patch
+1
-1
1 addition, 1 deletion
contrib/rcs-5.7-commitid.patch
with
5 additions
and
1 deletion
contrib/ChangeLog
+
4
−
0
View file @
797c3d47
2005-09-29 Derek Price <derek@ximbiot.com>
* rcs-5.7-commitid.patch: Check for error return from time().
2005-09-29 Mark D. Baushke <mdb@gnu.org>
* rcs-5.7-commitid.patch: Rename N as COMMITID_RAW_SIZE.
...
...
This diff is collapsed.
Click to expand it.
contrib/rcs-5.7-commitid.patch
+
1
−
1
View file @
797c3d47
...
...
@@ -273,7 +273,7 @@ Index:src/ci.c
+ len = read (fd, buf + sizeof(time_t), RANDOM_BYTES);
+ close (fd);
+ }
+ if (len > 0) {
+ if (len > 0
&& rightnow != (time_t)-1
) {
+ while (rightnow > 0) {
+ *--p = rightnow % (UCHAR_MAX + 1);
+ rightnow /= UCHAR_MAX + 1;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment