"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/iso9660/rock.c" between
libcdio-2.0.0.tar.bz2 and libcdio-2.1.0.tar.bz2

About: GNU libcdio is a library for CD-ROM and CD image access.

rock.c  (libcdio-2.0.0.tar.bz2):rock.c  (libcdio-2.1.0.tar.bz2)
skipping to change at line 422 skipping to change at line 422
iso_rock_sl_part_t * p_sl; iso_rock_sl_part_t * p_sl;
iso_rock_sl_part_t * p_oldsl; iso_rock_sl_part_t * p_oldsl;
slen = rr->len - 5; slen = rr->len - 5;
p_sl = &rr->u.SL.link; p_sl = &rr->u.SL.link;
p_stat->rr.i_symlink = symlink_len; p_stat->rr.i_symlink = symlink_len;
while (slen > 1){ while (slen > 1){
rootflag = 0; rootflag = 0;
switch(p_sl->flags &~1){ switch(p_sl->flags &~1){
case 0: case 0:
realloc_symlink(p_stat, p_sl->len); realloc_symlink(p_stat, p_sl->len);
if (p_sl->text && p_sl->len) if (p_sl->len)
memcpy(&(p_stat->rr.psz_symlink[p_stat->rr.i_symlink]), memcpy(&(p_stat->rr.psz_symlink[p_stat->rr.i_symlink]),
p_sl->text, p_sl->len); p_sl->text, p_sl->len);
p_stat->rr.i_symlink += p_sl->len; p_stat->rr.i_symlink += p_sl->len;
break; break;
case 4: case 4:
realloc_symlink(p_stat, 1); realloc_symlink(p_stat, 1);
p_stat->rr.psz_symlink[p_stat->rr.i_symlink++] = '.'; p_stat->rr.psz_symlink[p_stat->rr.i_symlink++] = '.';
/* continue into next case. */ /* continue into next case. */
case 2: case 2:
realloc_symlink(p_stat, 1); realloc_symlink(p_stat, 1);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)