[Bug 4496] passwd applet ruins UID field in /etc/passwd

bugzilla at busybox.net bugzilla at busybox.net
Mon Nov 21 14:48:08 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=4496

--- Comment #7 from Jelle Martijn Kok <jmkok at youcom.nl> 2011-11-21 14:48:08 UTC ---
I just removed my own "CFLAGS" by doing:
unset CFLAGS LDFLAGS CXXFLAGS

The result was the same though (the UID was replaced by the date)

The line that was used to compile the file was now:
arm-none-linux-gnueabi-gcc -Wp,-MD,libbb/.update_passwd.s.d   -std=gnu99
-Iinclude -Ilibbb  -include include/autoconf.h -D_GNU_SOURCE -DNDEBUG
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D"BB_VER=KBUILD_STR(1.19.3)" -DBB_BT=AUTOCONF_TIMESTAMP  -Wall -Wshadow
-Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter
-Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations
-Wdeclaration-after-statement -Wold-style-definition -fno-builtin-strlen
-finline-limit=0 -fomit-frame-pointer -ffunction-sections -fdata-sections
-fno-guess-branch-probability -funsigned-char -static-libgcc
-falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -Os    
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(update_passwd)" 
-D"KBUILD_MODNAME=KBUILD_STR(update_passwd)" -fverbose-asm -S -o
libbb/update_passwd.s libbb/update_passwd.c

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list