From: Craig Small Date: Mon, 28 Dec 2009 02:55:00 +0000 (+0000) Subject: updated to 22.10 and fuser wont kill itself X-Git-Tag: v22.11~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3638fe7efbb54310f999f48fbf8d4e4e4baee1a;p=psmisc updated to 22.10 and fuser wont kill itself --- diff --git a/ChangeLog b/ChangeLog index dd4e4fd..f9339b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +Changes in 22.10 +================ + * fuser -k -m ... won't kill itself Debian #562767 Changes in 22.9 =============== diff --git a/configure.ac b/configure.ac index d80979e..009958b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.61) -AC_INIT([psmisc],[22.9]) +AC_INIT([psmisc],[22.10]) AC_CONFIG_SRCDIR([src/comm.h]) AC_CONFIG_HEADER([config.h]) AC_CONFIG_AUX_DIR([config]) diff --git a/po/bg.po b/po/bg.po index 3ca79a4..70cb3cd 100644 --- a/po/bg.po +++ b/po/bg.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc 22.2pre1\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2006-03-07 11:49+0200\n" "Last-Translator: Anton Zinoviev \n" "Language-Team: Bulgarian \n" @@ -353,17 +353,17 @@ msgstr "Не може да се отвори /proc/net/unix: %s\n" msgid "Kill process %d ? (y/N) " msgstr "Да се убие ли процесът %d? (д/Н) " -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "Процесът %d не може да бъде убит: %s\n" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "Не може да се отвори мрежово гнездо.\n" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, c-format msgid "Cannot find socket's device number.\n" msgstr "Не може да бъде намерен номерът на устройството на гнездото.\n" diff --git a/po/ca.po b/po/ca.po index a799d5e..f0859c3 100644 --- a/po/ca.po +++ b/po/ca.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc 21.6cvs\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2004-12-08 12:46+0100\n" "Last-Translator: Guillem Jover \n" "Language-Team: Catalan \n" @@ -341,17 +341,17 @@ msgstr "" msgid "Kill process %d ? (y/N) " msgstr "Voleu matar el procés %d? (s/N)" -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, fuzzy, c-format msgid "Cannot find socket's device number.\n" msgstr "no s'ha pogut trobar el nombre de dispositiu del sòcol" diff --git a/po/de.po b/po/de.po index b02c7dd..58ced59 100644 --- a/po/de.po +++ b/po/de.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc 22.6\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2007-11-12 14:18+0100\n" "Last-Translator: Benno Schulenberg \n" "Language-Team: German \n" @@ -342,17 +342,17 @@ msgstr "/proc/net/unix kann nicht geöffnet werden: %s\n" msgid "Kill process %d ? (y/N) " msgstr "Prozess %d abbrechen? (y/N) " -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "Kann Prozess %d nicht abbrechen: %s\n" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, c-format msgid "Cannot find socket's device number.\n" msgstr "Kann die Gerätenummer der Sockets nicht finden.\n" diff --git a/po/eu.po b/po/eu.po index 64c8675..f4026c7 100644 --- a/po/eu.po +++ b/po/eu.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc 22.8rc1\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2009-09-14 15:54+0100\n" "Last-Translator: Mikel Olasagasti \n" "Language-Team: Basque \n" @@ -350,17 +350,17 @@ msgstr "Ezin da /proc/net/unix direktorioa ireki: %s\n" msgid "Kill process %d ? (y/N) " msgstr "%d prozesua hil? (y/N) " -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "Ezin izan da %d prozesua hil: %s\n" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "Ezin da sare socket bat ireki.\n" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, c-format msgid "Cannot find socket's device number.\n" msgstr "Ezin izan da socket-aren gailu zenbakia aurkitu.\n" diff --git a/po/fi.po b/po/fi.po index f9f503b..9778046 100644 --- a/po/fi.po +++ b/po/fi.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc 22.8rc1\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2009-07-25 16:08+0200\n" "Last-Translator: Jorma Karvonen \n" "Language-Team: Finnish \n" @@ -358,17 +358,17 @@ msgstr "" "Lähetä signaali prosessille %d? (y=kyllä, N=ei, ”kyllä” yleensä lopettaa " "prosessin) " -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "Ei voida lähettää signaalia prosessille %d: %s\n" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "Ei voida avata verkkopistoketta.\n" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, c-format msgid "Cannot find socket's device number.\n" msgstr "pistokkeen laitenumeroa ei löydy.\n" diff --git a/po/fr.po b/po/fr.po index b09ea7a..c1e3f33 100644 --- a/po/fr.po +++ b/po/fr.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc 22.6\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2007-11-12 14:27+0100\n" "Last-Translator: Benno Schulenberg \n" "Language-Team: French \n" @@ -349,17 +349,17 @@ msgstr "Impossible d'ouvrir /proc/net/unix : %s\n" msgid "Kill process %d ? (y/N) " msgstr "Tuer le processus %d ? (y/N) " -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "Impossible de tuer le processus %d : %s\n" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "Impossible d'ouvrir un socket réseau.\n" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, c-format msgid "Cannot find socket's device number.\n" msgstr "Impossible de trouver le numéro du périphérique des sockets\n" diff --git a/po/hu.po b/po/hu.po index 12d3c72..01607f2 100644 --- a/po/hu.po +++ b/po/hu.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc 22.8rc1\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2009-07-19 03:53+0200\n" "Last-Translator: Gabor Kelemen \n" "Language-Team: Hungarian \n" @@ -349,17 +349,17 @@ msgstr "A /proc/net/unix könyvtár nem nyitható meg: %s\n" msgid "Kill process %d ? (y/N) " msgstr "Kilövi a(z) %d folyamatot? (i/N) " -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "A(z) %d folymat kilövése nem sikerült: %s\n" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "Nem nyitható meg hálózati foglalat\n" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, c-format msgid "Cannot find socket's device number.\n" msgstr "Nem található a foglalat eszközszáma.\n" diff --git a/po/it.po b/po/it.po index 82d1339..227c164 100644 --- a/po/it.po +++ b/po/it.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc 22.8rc1\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2009-07-15 13:47+0100\n" "Last-Translator: Marco Colombo \n" "Language-Team: Italian \n" @@ -343,19 +343,19 @@ msgstr "Impossibile aprire /proc/net/unix: %s\n" msgid "Kill process %d ? (y/N) " msgstr "Terminare il processo %d? (y/N) " -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "Impossibile terminare il processo %d: %s\n" # FIXME -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "Impossibile aprire un socket di rete.\n" # FIXME -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, c-format msgid "Cannot find socket's device number.\n" msgstr "Impossibile trovare il numero di dispositivo del socket.\n" diff --git a/po/ja.po b/po/ja.po index e19a022..93d5a1d 100644 --- a/po/ja.po +++ b/po/ja.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc 22.2pre1\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2006-03-20 10:31+0900\n" "Last-Translator: GOTO Masanori \n" "Language-Team: Japanese \n" @@ -346,17 +346,17 @@ msgstr "/proc/net/unix msgid "Kill process %d ? (y/N) " msgstr "¥×¥í¥»¥¹ %d ¤òkill¤·¤Þ¤¹¤«? (y/N) " -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "¥×¥í¥»¥¹ %d ¤ò kill ¤Ç¤­¤Þ¤»¤ó: %s\n" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "¥Í¥Ã¥È¥ï¡¼¥¯¥½¥±¥Ã¥È¤¬³«¤±¤Þ¤»¤ó.\n" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, c-format msgid "Cannot find socket's device number.\n" msgstr "¥½¥±¥Ã¥È¤Î¥Ç¥Ð¥¤¥¹Èֹ椬¸«¤Ä¤«¤ê¤Þ¤»¤ó.\n" diff --git a/po/nb.po b/po/nb.po index f22a4be..320179f 100644 --- a/po/nb.po +++ b/po/nb.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc 22.2pre1\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2006-03-07 12:01+0100\n" "Last-Translator: Trond Endrestøl \n" "Language-Team: Norwegian Bokmaal \n" @@ -361,17 +361,17 @@ msgstr "Kan ikke msgid "Kill process %d ? (y/N) " msgstr "Drepe prosess %d ? (j/N) " -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "Kunne ikke drepe prosessen %d: %s\n" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "Kan ikke åpne en nettverkssocket.\n" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, c-format msgid "Cannot find socket's device number.\n" msgstr "Kan ikke finne socketens enhetsnummer.\n" diff --git a/po/nl.po b/po/nl.po index c7d7570..d504480 100644 --- a/po/nl.po +++ b/po/nl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc-22.8rc1\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2009-07-28 15:57+0100\n" "Last-Translator: Erwin Poeze \n" "Language-Team: Dutch \n" @@ -345,17 +345,17 @@ msgstr "Kan /proc/net/unix niet openen: %s\n" msgid "Kill process %d ? (y/N) " msgstr "Proces %d afbreken? (j/N) " -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "Kan proces %d niet afbreken: %s\n" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "Kan netwerk-socket niet openen.\n" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, c-format msgid "Cannot find socket's device number.\n" msgstr "Kan apparaatnummer van socket niet vinden.\n" diff --git a/po/pl.po b/po/pl.po index 41006f8..f5707e1 100644 --- a/po/pl.po +++ b/po/pl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc 22.8rc1\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2009-07-15 07:40+0200\n" "Last-Translator: Jakub Bogusz \n" "Language-Team: Polish \n" @@ -344,17 +344,17 @@ msgstr "Nie mo msgid "Kill process %d ? (y/N) " msgstr "Zabiæ proces %d? (y/N) " -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "Nie uda³o siê zabiæ procesu %d: %s\n" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "Nie mo¿na otworzyæ gniazda sieciowego.\n" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, c-format msgid "Cannot find socket's device number.\n" msgstr "Nie mo¿na odnale¼æ numeru urz±dzenia gniazda.\n" diff --git a/po/psmisc.pot b/po/psmisc.pot index 086e1ef..d3047cc 100644 --- a/po/psmisc.pot +++ b/po/psmisc.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -279,17 +279,17 @@ msgstr "" msgid "Kill process %d ? (y/N) " msgstr "" -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, c-format msgid "Cannot find socket's device number.\n" msgstr "" diff --git a/po/pt.po b/po/pt.po index 5f338c3..23ec791 100644 --- a/po/pt.po +++ b/po/pt.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc 1.0\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2001-10-28 22:14-0200\n" "Last-Translator: Edesio Costa e Silva \n" "Language-Team: Portuguese \n" @@ -310,17 +310,17 @@ msgstr "" msgid "Kill process %d ? (y/N) " msgstr "Aborta processo %d ? (y/n) " -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, fuzzy, c-format msgid "Cannot find socket's device number.\n" msgstr "não pode achar o número de dispositivo do socket" diff --git a/po/ro.po b/po/ro.po index e5e5467..368c290 100644 --- a/po/ro.po +++ b/po/ro.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc-21.6pre1\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2005-02-24 12:00-0500\n" "Last-Translator: Laurentiu Buzdugan \n" "Language-Team: Romanian \n" @@ -344,17 +344,17 @@ msgstr "" msgid "Kill process %d ? (y/N) " msgstr "Terminã process %d ? (y/N) " -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, fuzzy, c-format msgid "Cannot find socket's device number.\n" msgstr "nu pot gãsi numerele dispozitivelor socket-urilor" diff --git a/po/ru.po b/po/ru.po index 7204dea..a725c2f 100644 --- a/po/ru.po +++ b/po/ru.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc 22.8rc1\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2009-07-15 21:55+0400\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" @@ -353,17 +353,17 @@ msgstr "Не удалось открыть /proc/net/unix: %s\n" msgid "Kill process %d ? (y/N) " msgstr "Завершить процесс %d? (y/N) " -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "Не удалось завершить процесс %d: %s\n" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "Не удалось открыть сетевой сокет.\n" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, c-format msgid "Cannot find socket's device number.\n" msgstr "Не удалось найти номер устройства сокета.\n" diff --git a/po/sv.po b/po/sv.po index 4a43ba9..2c35c9c 100644 --- a/po/sv.po +++ b/po/sv.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc 22.8rc1\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2009-07-15 13:19+0100\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" @@ -344,17 +344,17 @@ msgstr "Kan inte öppna /proc/net/unix: %s\n" msgid "Kill process %d ? (y/N) " msgstr "Döda process %d ? (y/N) " -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "Kunde inte döda process %d: %s\n" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "Kan inte öppna ett nätverksuttag.\n" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, c-format msgid "Cannot find socket's device number.\n" msgstr "Kan inte hitta uttagets enhetsnummer.\n" diff --git a/po/vi.po b/po/vi.po index 00414f5..8be3782 100644 --- a/po/vi.po +++ b/po/vi.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc 22.8rc1\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2009-09-19 16:39+0930\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \n" @@ -348,17 +348,17 @@ msgstr "Không thể mở thư mục : %s\n" msgid "Kill process %d ? (y/N) " msgstr "Có buốc kết thúc tiến trình %d không? (y/N) (có/không) " -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "Không thể buộc kết thúc tiến trình %d: %s\n" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "Không thể mở một ổ cắm mạng.\n" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, c-format msgid "Cannot find socket's device number.\n" msgstr "Không tìm thấy số hiệu thiết bị ổ cắm.\n" diff --git a/po/zh_CN.po b/po/zh_CN.po index b20a131..94d0a1b 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: psmisc 22.6\n" "Report-Msgid-Bugs-To: csmall@small.dropbear.id.au\n" -"POT-Creation-Date: 2009-12-27 18:11+1100\n" +"POT-Creation-Date: 2009-12-28 13:54+1100\n" "PO-Revision-Date: 2007-11-06 21:28+0800\n" "Last-Translator: LI Daobing \n" "Language-Team: Chinese (simplified) \n" "Language-Team: Chinese (traditional) \n" @@ -339,17 +339,17 @@ msgstr "無法開啟 /proc/net/unix:%s\n" msgid "Kill process %d ? (y/N) " msgstr "砍除進程 %d?(y/N) " -#: src/fuser.c:1496 +#: src/fuser.c:1501 #, c-format msgid "Could not kill process %d: %s\n" msgstr "無法砍除進程 %d:%s\n" -#: src/fuser.c:1508 +#: src/fuser.c:1513 #, c-format msgid "Cannot open a network socket.\n" msgstr "無法開啟網路通訊端。\n" -#: src/fuser.c:1512 +#: src/fuser.c:1517 #, c-format msgid "Cannot find socket's device number.\n" msgstr "找不到通訊端裝置編號。\n" diff --git a/src/fuser.c b/src/fuser.c index 71fd535..278745b 100644 --- a/src/fuser.c +++ b/src/fuser.c @@ -1486,12 +1486,17 @@ kill_matched_proc(struct procs *proc_head, const opt_type opts, const int sig_number) { struct procs *pptr; + pid_t *mypid; + + mypid = getpid(); for (pptr = proc_head; pptr != NULL; pptr = pptr->next) { + if ( pptr->pid == mypid) + continue; /* dont kill myself */ if ( pptr->proc_type == PTYPE_NORMAL ) - continue; + continue; if ((opts & OPT_INTERACTIVE) && (ask(pptr->pid) == 0)) - continue; + continue; if ( kill(pptr->pid, sig_number) < 0) { fprintf(stderr, _("Could not kill process %d: %s\n"), pptr->pid, strerror(errno));