Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47390 - gensync doesn't ignore backup files in /etc/gensync
Summary: gensync doesn't ignore backup files in /etc/gensync
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-09 15:42 UTC by burrelln
Modified: 2004-09-10 02:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix backup file inclusion (gensync.patch,554 bytes, patch)
2004-04-09 15:48 UTC, burrelln
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description burrelln 2004-04-09 15:42:41 UTC
When backup files ending in '~' exist in /etc/gensync, gensync uses their contents as well.  If one edits *.syncsource files in emacs, these backup files are produced but should not be read because they contain out of date information.  

Reproducible: Always
Steps to Reproduce:
1.cp /etc/gensyc/bmg-main.syncsource /etc/gensync/bmg-main.syncsource~
2.gensync --list-sources
3.

Actual Results:  
bmg-main listed twice

Expected Results:  
listed it only once
Comment 1 burrelln 2004-04-09 15:48:58 UTC
Created attachment 28995 [details, diff]
Patch to fix backup file inclusion
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-08-28 03:09:13 UTC
Will look at it.
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-09-10 02:32:25 UTC
Applied. Will be part of the next Gentoolkit release.