DragonFly commits List (threaded) for 2004-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/bin/hostname hostname.c
dillon 2004/07/04 22:34:44 PDT
DragonFly src repository
Modified files:
bin/hostname hostname.c
Log:
Fix a bug in the -i code where an existing interface might not be located.
sdl_data is not nul terminated, sdl_nlen must be checked and strncmp used
rather then strcmp.
Revision Changes Path
1.9 +9 -5 src/bin/hostname/hostname.c
http://www.dragonflybsd.org/cvsweb/src/bin/hostname/hostname.c.diff?r1=1.8&r2=1.9&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]