Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 176432
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 173032
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: OKUMURA N. Shin-ya <oku.ns@dream.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge emerge --info text/plain Jorge Manuel B. S. Vicetto 2007-04-29 06:24 0000 2.69 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 176432 depends on: Show dependency tree
Bug 176432 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-29 06:01 0000
'/bin/ls -x' dubly shows file list, depending on conditions.
I doubt that /bin/ls fails to sort directory entry, because following case
correctly works.
1. touch 1 a.cpio
2. ls -x


Reproducible: Sometimes

Steps to Reproduce:
1. touch a.cpio
2. touch 1
3. ls -x

Actual Results:  
$ ls -a
.  ..
$ touch a.cpio
$ ls -ax
.  ..  a.cpio
$ touch 1
$ ls -ax
.  ..  1  a.cpio
$ ls -x # THIS WORKS INCORRECTLY
a.cpioa.cpio
$ ls -l
total 0
-rw-r----- 1 ons users 0 Apr 29 14:47 1
-rw-r----- 1 ons users 0 Apr 29 14:47 a.cpio
$

Expected Results:  
$ ls -x
1  a.cpio
$

$ emerge --info
Portage 2.1.2.5 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1,
2.6.20-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System release 1.12.10
Timestamp of tree: Sat, 28 Apr 2007 08:00:10 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r7
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/php/apache1-php5/ext-active/
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.gg3.net http://mirror.gentoo.gr.jp
http://gentoo.mirroed.ca"
LANG="C"
LINGUAS="ja en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 apache2 arts audiofile avi berkdb bitmap-fonts bonobo
bzlib cairo canna cdparanoia cdr chardet chasen cjk cli cracklib crypt cscope
cups dbus doc dri dv dvd dvdr eds emboss emul-linux-x86 encode esd examples fam
firefox flash font-server fortran gcj gdbm gif gnome gpm gstreamer gtk gtk2
guile hal iconv ipv6 isdnlog java java5 javamail javascript jpeg jpeg2k kde
ldap libg++ libwww m17n-lib mad mbox midi mikmod milter mime mng modplug motif
mp3 mpeg mplayer mule ncurses nls nptl nptlonly oav objc ogg oggvorbis opengl
oss pam pcre pdf perl php png postgres ppds pppd python qt qt3 qt4 quicktime
readline reflection samba sdk sdl session sid slang spell spl ssl svg symlink
tcltk tcpd threads tiff timidity truetype truetype-fonts type1-fonts unicode
usb vorbis wma wmf xml xml2 xorg xpm xv zlib" ALSA_CARDS="ali5451 als4000
atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968
fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi
null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard
mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text" LINGUAS="ja en" USERLAND="GNU"
VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga
neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga
trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

$ stty -a
speed 9600 baud; rows 25; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = <undef>; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
$ echo $TERM
ansi
$

------- Comment #1 From Jorge Manuel B. S. Vicetto 2007-04-29 06:23:02 0000 -------
Hi.

I've tested this here and got some interesting results as well.

$ ls -a
.  ..
$ touch a.cpio
$ ls -ax
a.cpio..  a.cpio
$ touch 1
$ ls -ax
a.cpio..  1  a.cpio
$ ls -x
a.cpioa.cpio
$ 

------- Comment #2 From Jorge Manuel B. S. Vicetto 2007-04-29 06:24:16 0000 -------
Created an attachment (id=117611) [details]
emerge --info

------- Comment #3 From SpanKY 2007-04-30 18:55:50 0000 -------

*** This bug has been marked as a duplicate of bug 173032 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug