- Timestamp:
- Jul 13, 2011, 11:51:37 PM (13 years ago)
- Parents:
- 30d0cf7 (diff), a7b125d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zcrypt.c
r6829afc ra7b125d 411 411 int length[MAX_SEARCH], i; 412 412 char buffer[MAX_BUFF]; 413 const char *home; 413 414 char *filename; 414 415 char result[MAX_SEARCH][MAX_BUFF]; … … 433 434 434 435 /* Open~/.crypt-table */ 435 filename = g_strdup_printf("%s/.crypt-table", getenv("HOME")); 436 home = getenv("HOME"); 437 if (home == NULL) 438 home = g_get_home_dir(); 439 filename = g_build_filename(home, ".crypt-table", NULL); 436 440 fsearch = fopen(filename, "r"); 437 441 if (fsearch)
Note: See TracChangeset
for help on using the changeset viewer.